karmada-scheduler

Synopsis

The karmada-scheduler is a control plane process which assigns resources to the clusters it manages. The scheduler determines which clusters are valid placements for each resource in the scheduling queue according to constraints and available resources. The scheduler then ranks each valid cluster and binds the resource to the most suitable cluster.

  1. karmada-scheduler [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. --disable-scheduler-estimator-in-pull-mode Disable the scheduler estimator for clusters in pull mode, which takes effect only when enable-scheduler-estimator is true.
  5. --enable-empty-workload-propagation Enable workload with replicas 0 to be propagated to member clusters.
  6. --enable-pprof Enable profiling via web interface host:port/debug/pprof/.
  7. --enable-scheduler-estimator Enable calling cluster scheduler estimator for adjusting replicas.
  8. --feature-gates mapStringBool A set of key=value pairs that describe feature gates for alpha/experimental features. Options are:
  9. AllAlpha=true|false (ALPHA - default=false)
  10. AllBeta=true|false (BETA - default=false)
  11. CustomizedClusterResourceModeling=true|false (BETA - default=true)
  12. Failover=true|false (BETA - default=true)
  13. GracefulEviction=true|false (BETA - default=true)
  14. PropagateDeps=true|false (BETA - default=true)
  15. PropagationPolicyPreemption=true|false (ALPHA - default=false)
  16. -h, --help help for karmada-scheduler
  17. --kube-api-burst int Burst to use while talking with karmada-apiserver. Doesn't cover events and node heartbeat apis which rate limiting is controlled by a different set of flags. (default 60)
  18. --kube-api-qps float32 QPS to use while talking with karmada-apiserver. Doesn't cover events and node heartbeat apis which rate limiting is controlled by a different set of flags. (default 40)
  19. --kubeconfig string Path to karmada control plane kubeconfig file.
  20. --leader-elect Enable leader election, which must be true when running multi instances. (default true)
  21. --leader-elect-lease-duration duration The duration that non-leader candidates will wait after observing a leadership renewal until attempting to acquire leadership of a led but unrenewed leader slot. This is effectively the maximum duration that a leader can be stopped before it is replaced by another candidate. This is only applicable if leader election is enabled. (default 15s)
  22. --leader-elect-renew-deadline duration The interval between attempts by the acting master to renew a leadership slot before it stops leading. This must be less than or equal to the lease duration. This is only applicable if leader election is enabled. (default 10s)
  23. --leader-elect-resource-name string The name of resource object that is used for locking during leader election. (default "karmada-scheduler")
  24. --leader-elect-resource-namespace string The namespace of resource object that is used for locking during leader election. (default "karmada-system")
  25. --leader-elect-retry-period duration The duration the clients should wait between attempting acquisition and renewal of a leadership. This is only applicable if leader election is enabled. (default 2s)
  26. --log_backtrace_at traceLocation when logging hits line file:N, emit a stack trace (default :0)
  27. --log_dir string If non-empty, write log files in this directory (no effect when -logtostderr=true)
  28. --log_file string If non-empty, use this log file (no effect when -logtostderr=true)
  29. --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)
  30. --logtostderr log to standard error instead of files (default true)
  31. --master string The address of the Kubernetes API server. Overrides any value in KubeConfig. Only required if out-of-cluster.
  32. --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)
  33. --plugins strings A list of plugins to enable. '*' enables all build-in and customized plugins, 'foo' enables the plugin named 'foo', '*,-foo' disables the plugin named 'foo'.
  34. All build-in plugins: APIEnablement,ClusterAffinity,ClusterEviction,ClusterLocality,SpreadConstraint,TaintToleration. (default [*])
  35. --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")
  36. --rate-limiter-base-delay duration The base delay for rate limiter. (default 5ms)
  37. --rate-limiter-bucket-size int The bucket size for rate limier. (default 100)
  38. --rate-limiter-max-delay duration The max delay for rate limiter. (default 16m40s)
  39. --rate-limiter-qps int The QPS for rate limier. (default 10)
  40. --scheduler-estimator-port int The secure port on which to connect the accurate scheduler estimator. (default 10352)
  41. --scheduler-estimator-service-prefix string The prefix of scheduler estimator service name (default "karmada-scheduler-estimator")
  42. --scheduler-estimator-timeout duration Specifies the timeout period of calling the scheduler estimator service. (default 3s)
  43. --scheduler-name string SchedulerName represents the name of the scheduler. default is 'default-scheduler'. (default "default-scheduler")
  44. --secure-port int The secure port on which to serve HTTPS. (default 10351)
  45. --skip_headers If true, avoid header prefixes in the log messages
  46. --skip_log_headers If true, avoid headers when opening log files (no effect when -logtostderr=true)
  47. --stderrthreshold severity logs at or above this threshold go to stderr when writing to files and stderr (no effect when -logtostderr=true or -alsologtostderr=false) (default 2)
  48. -v, --v Level number for the log level verbosity
  49. --vmodule moduleSpec comma-separated list of pattern=N settings for file-filtered logging
Auto generated by spf13/cobra script in Karmada