karmada-descheduler

Synopsis

The karmada-descheduler evicts replicas from member clusters if they are failed to be scheduled for a period of time. It relies on karmada-scheduler-estimator to get replica status.

  1. karmada-descheduler [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. --descheduling-interval duration Time interval between two consecutive descheduler executions. Setting this value instructs the descheduler to run in a continuous loop at the interval specified. (default 2m0s)
  4. --enable-pprof Enable profiling via web interface host:port/debug/pprof/.
  5. --health-probe-bind-address string The TCP address that the server should bind to for serving health probes(e.g. 127.0.0.1:10358, :10358). It can be set to "0" to disable serving the health probe. Defaults to 0.0.0.0:10358.
  6. -h, --help help for karmada-descheduler
  7. --insecure-skip-estimator-verify Controls whether verifies the scheduler estimator's certificate chain and host name.
  8. --kube-api-burst int Burst to use while talking with karmada-apiserver. (default 60)
  9. --kube-api-qps float32 QPS to use while talking with karmada-apiserver. (default 40)
  10. --kubeconfig string Path to karmada control plane kubeconfig file.
  11. --leader-elect Enable leader election, which must be true when running multi instances. (default true)
  12. --leader-elect-resource-namespace string The namespace of resource object that is used for locking during leader election. (default "karmada-system")
  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. --master string The address of the Kubernetes API server. Overrides any value in KubeConfig. Only required if out-of-cluster.
  19. --metrics-bind-address string The TCP address that the server should bind to for serving prometheus metrics(e.g. 127.0.0.1:10358, :10358). It can be set to "0" to disable the metrics serving. Defaults to 0.0.0.0:10358.
  20. --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)
  21. --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")
  22. --scheduler-estimator-ca-file string SSL Certificate Authority file used to secure scheduler estimator communication.
  23. --scheduler-estimator-cert-file string SSL certification file used to secure scheduler estimator communication.
  24. --scheduler-estimator-key-file string SSL key file used to secure scheduler estimator communication.
  25. --scheduler-estimator-port int The secure port on which to connect the accurate scheduler estimator. (default 10352)
  26. --scheduler-estimator-service-prefix string The prefix of scheduler estimator service name (default "karmada-scheduler-estimator")
  27. --scheduler-estimator-timeout duration Specifies the timeout period of calling the scheduler estimator service. (default 3s)
  28. --skip_headers If true, avoid header prefixes in the log messages
  29. --skip_log_headers If true, avoid headers when opening log files (no effect when -logtostderr=true)
  30. --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)
  31. --unschedulable-threshold duration The period of pod unschedulable condition. This value is considered as a classification standard of unschedulable replicas. (default 5m0s)
  32. -v, --v Level number for the log level verbosity
  33. --vmodule moduleSpec comma-separated list of pattern=N settings for file-filtered logging
Auto generated by spf13/cobra script in Karmada