karmada-controller-manager

Synopsis

The karmada-controller-manager runs various controllers. The controllers watch Karmada objects and then talk to the underlying clusters’ API servers to create regular Kubernetes resources.

  1. karmada-controller-manager [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. --cluster-api-burst int Burst to use while talking with cluster kube-apiserver. (default 60)
  4. --cluster-api-context string Name of the cluster context in cluster-api management cluster kubeconfig file.
  5. --cluster-api-kubeconfig string Path to the cluster-api management cluster kubeconfig file.
  6. --cluster-api-qps float32 QPS to use while talking with cluster kube-apiserver. (default 40)
  7. --cluster-cache-sync-timeout duration Timeout period waiting for cluster cache to sync. (default 2m0s)
  8. --cluster-failure-threshold duration The duration of failure for the cluster to be considered unhealthy. (default 30s)
  9. --cluster-lease-duration duration Specifies the expiration period of a cluster lease. (default 40s)
  10. --cluster-lease-renew-interval-fraction float Specifies the cluster lease renew interval fraction. (default 0.25)
  11. --cluster-monitor-grace-period duration Specifies the grace period of allowing a running cluster to be unresponsive before marking it unhealthy. (default 40s)
  12. --cluster-monitor-period duration Specifies how often karmada-controller-manager monitors cluster health status. (default 5s)
  13. --cluster-startup-grace-period duration Specifies the grace period of allowing a cluster to be unresponsive during startup before marking it unhealthy. (default 1m0s)
  14. --cluster-status-update-frequency duration Specifies how often karmada-controller-manager posts cluster status to karmada-apiserver. (default 10s)
  15. --cluster-success-threshold duration The duration of successes for the cluster to be considered healthy after recovery. (default 30s)
  16. --concurrent-cluster-propagation-policy-syncs int The number of ClusterPropagationPolicy that are allowed to sync concurrently. (default 1)
  17. --concurrent-cluster-syncs int The number of Clusters that are allowed to sync concurrently. (default 5)
  18. --concurrent-clusterresourcebinding-syncs int The number of ClusterResourceBindings that are allowed to sync concurrently. (default 5)
  19. --concurrent-dependent-resource-syncs int The number of dependent resource that are allowed to sync concurrently. (default 2)
  20. --concurrent-namespace-syncs int The number of Namespaces that are allowed to sync concurrently. (default 1)
  21. --concurrent-propagation-policy-syncs int The number of PropagationPolicy that are allowed to sync concurrently. (default 1)
  22. --concurrent-resource-template-syncs int The number of resource templates that are allowed to sync concurrently. (default 5)
  23. --concurrent-resourcebinding-syncs int The number of ResourceBindings that are allowed to sync concurrently. (default 5)
  24. --concurrent-work-syncs int The number of Works that are allowed to sync concurrently. (default 5)
  25. --controllers strings A list of controllers to enable. '*' enables all on-by-default controllers, 'foo' enables the controller named 'foo', '-foo' disables the controller named 'foo'.
  26. All controllers: agentcsrapproving, applicationFailover, binding, bindingStatus, cluster, clusterStatus, cronFederatedHorizontalPodAutoscaler, deploymentReplicasSyncer, endpointSlice, endpointsliceCollect, endpointsliceDispatch, execution, federatedHorizontalPodAutoscaler, federatedResourceQuotaStatus, federatedResourceQuotaSync, gracefulEviction, hpaScaleTargetMarker, multiclusterservice, namespace, remedy, serviceExport, serviceImport, unifiedAuth, workStatus, workloadRebalancer.
  27. Disabled-by-default controllers: deploymentReplicasSyncer, hpaScaleTargetMarker (default [*])
  28. --enable-cluster-resource-modeling Enable means controller would build resource modeling for each cluster by syncing Nodes and Pods resources.
  29. The resource modeling might be used by the scheduler to make scheduling decisions in scenario of dynamic replica assignment based on cluster free resources.
  30. Disable if it does not fit your cases for better performance. (default true)
  31. --enable-pprof Enable profiling via web interface host:port/debug/pprof/.
  32. --enable-taint-manager If set to true enables NoExecute Taints and will evict all not-tolerating objects propagating on Clusters tainted with this kind of Taints. (default true)
  33. --failover-eviction-timeout duration Specifies the grace period for deleting scheduling result on failed clusters. (default 5m0s)
  34. --feature-gates mapStringBool A set of key=value pairs that describe feature gates for alpha/experimental features. Options are:
  35. AllAlpha=true|false (ALPHA - default=false)
  36. AllBeta=true|false (BETA - default=false)
  37. CustomizedClusterResourceModeling=true|false (BETA - default=true)
  38. Failover=true|false (BETA - default=false)
  39. GracefulEviction=true|false (BETA - default=true)
  40. MultiClusterService=true|false (ALPHA - default=false)
  41. PropagateDeps=true|false (BETA - default=true)
  42. PropagationPolicyPreemption=true|false (ALPHA - default=false)
  43. ResourceQuotaEstimate=true|false (ALPHA - default=false)
  44. StatefulFailoverInjection=true|false (ALPHA - default=false)
  45. --graceful-eviction-timeout duration Specifies the timeout period waiting for the graceful-eviction-controller performs the final removal since the workload(resource) has been moved to the graceful eviction tasks. (default 10m0s)
  46. --health-probe-bind-address string The TCP address that the controller should bind to for serving health probes(e.g. 127.0.0.1:10357, :10357). It can be set to "0" to disable serving the health probe. Defaults to 0.0.0.0:10357. (default ":10357")
  47. -h, --help help for karmada-controller-manager
  48. --horizontal-pod-autoscaler-cpu-initialization-period duration The period after pod start when CPU samples might be skipped. (default 5m0s)
  49. --horizontal-pod-autoscaler-downscale-delay duration The period since last downscale, before another downscale can be performed in horizontal pod autoscaler. (default 5m0s)
  50. --horizontal-pod-autoscaler-downscale-stabilization duration The period for which autoscaler will look backwards and not scale down below any recommendation it made during that period. (default 5m0s)
  51. --horizontal-pod-autoscaler-initial-readiness-delay duration The period after pod start during which readiness changes will be treated as initial readiness. (default 30s)
  52. --horizontal-pod-autoscaler-sync-period duration The period for syncing the number of pods in horizontal pod autoscaler. (default 15s)
  53. --horizontal-pod-autoscaler-tolerance float The minimum change (from 1.0) in the desired-to-actual metrics ratio for the horizontal pod autoscaler to consider scaling. (default 0.1)
  54. --horizontal-pod-autoscaler-upscale-delay duration The period since last upscale, before another upscale can be performed in horizontal pod autoscaler. (default 3m0s)
  55. --kube-api-burst int Burst to use while talking with karmada-apiserver. (default 60)
  56. --kube-api-qps float32 QPS to use while talking with karmada-apiserver. (default 40)
  57. --kubeconfig string Path to karmada control plane kubeconfig file.
  58. --leader-elect Start a leader election client and gain leadership before executing the main loop. Enable this when running replicated components for high availability. (default true)
  59. --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)
  60. --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)
  61. --leader-elect-resource-namespace string The namespace of resource object that is used for locking during leader election. (default "karmada-system")
  62. --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)
  63. --log_backtrace_at traceLocation when logging hits line file:N, emit a stack trace (default :0)
  64. --log_dir string If non-empty, write log files in this directory (no effect when -logtostderr=true)
  65. --log_file string If non-empty, use this log file (no effect when -logtostderr=true)
  66. --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)
  67. --logtostderr log to standard error instead of files (default true)
  68. --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")
  69. --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)
  70. --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")
  71. --rate-limiter-base-delay duration The base delay for rate limiter. (default 5ms)
  72. --rate-limiter-bucket-size int The bucket size for rate limier. (default 100)
  73. --rate-limiter-max-delay duration The max delay for rate limiter. (default 16m40s)
  74. --rate-limiter-qps int The QPS for rate limier. (default 10)
  75. --resync-period duration Base frequency the informers are resynced.
  76. --skip_headers If true, avoid header prefixes in the log messages
  77. --skip_log_headers If true, avoid headers when opening log files (no effect when -logtostderr=true)
  78. --skipped-propagating-apis string Semicolon separated resources that should be skipped from propagating in addition to the default skip list(cluster.karmada.io;policy.karmada.io;work.karmada.io). Supported formats are:
  79. <group> for skip resources with a specific API group(e.g. networking.k8s.io),
  80. <group>/<version> for skip resources with a specific API version(e.g. networking.k8s.io/v1beta1),
  81. <group>/<version>/<kind>,<kind> for skip one or more specific resource(e.g. networking.k8s.io/v1beta1/Ingress,IngressClass) where the kinds are case-insensitive.
  82. --skipped-propagating-namespaces strings Comma-separated namespaces that should be skipped from propagating.
  83. Note: 'karmada-system', 'karmada-cluster' and 'karmada-es-.*' are Karmada reserved namespaces that will always be skipped. (default [kube-.*])
  84. --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)
  85. -v, --v Level number for the log level verbosity
  86. --vmodule moduleSpec comma-separated list of pattern=N settings for file-filtered logging
Auto generated by spf13/cobra script in Karmada