karmada-webhook

Synopsis

The karmada-webhook starts a webhook server and manages policies about how to mutate and validate Karmada resources including ‘PropagationPolicy’, ‘OverridePolicy’ and so on.

  1. karmada-webhook [flags]

Options

  1. --add_dir_header If true, adds the file directory to the header of the log messages
  2. --alsologtostderr log to standard error as well as files (no effect when -logtostderr=true)
  3. --bind-address string The IP address on which to listen for the --secure-port port. (default "0.0.0.0")
  4. --cert-dir string The directory that contains the server key and certificate. (default "/tmp/k8s-webhook-server/serving-certs")
  5. --default-not-ready-toleration-seconds int Indicates the tolerationSeconds of the propagation policy toleration for notReady:NoExecute that is added by default to every propagation policy that does not already have such a toleration. (default 300)
  6. --default-unreachable-toleration-seconds int Indicates the tolerationSeconds of the propagation policy toleration for unreachable:NoExecute that is added by default to every propagation policy that does not already have such a toleration. (default 300)
  7. --enable-pprof Enable profiling via web interface host:port/debug/pprof/.
  8. --health-probe-bind-address string The TCP address that the controller should bind to for serving health probes(e.g. 127.0.0.1:8000, :8000) (default ":8000")
  9. -h, --help help for karmada-webhook
  10. --kube-api-burst int Burst to use while talking with karmada-apiserver. (default 60)
  11. --kube-api-qps float32 QPS to use while talking with karmada-apiserver. (default 40)
  12. --kubeconfig string Path to karmada control plane kubeconfig file.
  13. --log_backtrace_at traceLocation when logging hits line file:N, emit a stack trace (default :0)
  14. --log_dir string If non-empty, write log files in this directory (no effect when -logtostderr=true)
  15. --log_file string If non-empty, use this log file (no effect when -logtostderr=true)
  16. --log_file_max_size uint Defines the maximum size a log file can grow to (no effect when -logtostderr=true). Unit is megabytes. If the value is 0, the maximum file size is unlimited. (default 1800)
  17. --logtostderr log to standard error instead of files (default true)
  18. --metrics-bind-address string The TCP address that the controller should bind to for serving prometheus metrics(e.g. 127.0.0.1:8080, :8080). It can be set to "0" to disable the metrics serving. (default ":8080")
  19. --one_output If true, only write logs to their native severity level (vs also writing to each lower severity level; no effect when -logtostderr=true)
  20. --profiling-bind-address string The TCP address for serving profiling(e.g. 127.0.0.1:6060, :6060). This is only applicable if profiling is enabled. (default ":6060")
  21. --secure-port int The secure port on which to serve HTTPS. (default 8443)
  22. --skip_headers If true, avoid header prefixes in the log messages
  23. --skip_log_headers If true, avoid headers when opening log files (no effect when -logtostderr=true)
  24. --stderrthreshold severity logs at or above this threshold go to stderr when writing to files and stderr (no effect when -logtostderr=true or -alsologtostderr=true) (default 2)
  25. --tls-cert-file-name string The name of server certificate. (default "tls.crt")
  26. --tls-min-version string Minimum TLS version supported. Possible values: 1.0, 1.1, 1.2, 1.3. (default "1.3")
  27. --tls-private-key-file-name string The name of server key. (default "tls.key")
  28. -v, --v Level number for the log level verbosity
  29. --vmodule moduleSpec comma-separated list of pattern=N settings for file-filtered logging
Auto generated by spf13/cobra script in Karmada