diff --git a/content/en/docs/reference/command-line-tools-reference/_index.md b/content/en/docs/reference/command-line-tools-reference/_index.md new file mode 100644 index 0000000000..5bcfe659c0 --- /dev/null +++ b/content/en/docs/reference/command-line-tools-reference/_index.md @@ -0,0 +1,5 @@ +--- +title: Command line tools reference +weight: 60 +toc-hide: true +--- diff --git a/content/en/docs/reference/command-line-tools-reference/cloud-controller-manager.md b/content/en/docs/reference/command-line-tools-reference/cloud-controller-manager.md new file mode 100644 index 0000000000..8c7aeb6e42 --- /dev/null +++ b/content/en/docs/reference/command-line-tools-reference/cloud-controller-manager.md @@ -0,0 +1,279 @@ +--- +title: cloud-controller-manager +notitle: true +weight: 90 +--- + +## cloud-controller-manager + +### Synopsis + +The Cloud controller manager is a daemon that embeds +the cloud specific control loops shipped with Kubernetes. + +``` +cloud-controller-manager [flags] +``` + +### Options + +
| --address ip Default: 0.0.0.0 | +|
| DEPRECATED: the IP address on which to listen for the --port port. See --bind-address instead. | +|
| --allocate-node-cidrs | +|
| Should CIDRs for Pods be allocated and set on the cloud provider. | +|
| --azure-container-registry-config string | +|
| Path to the file containing Azure container registry configuration information. | +|
| --bind-address ip Default: 0.0.0.0 | +|
| The IP address on which to listen for the --secure-port port. The associated interface(s) must be reachable by the rest of the cluster, and by CLI/web clients. If blank, all interfaces will be used (0.0.0.0 for all IPv4 interfaces and :: for all IPv6 interfaces). | +|
| --cert-dir string Default: "/var/run/kubernetes" | +|
| The directory where the TLS certs are located. If --tls-cert-file and --tls-private-key-file are provided, this flag will be ignored. | +|
| --cidr-allocator-type string Default: "RangeAllocator" | +|
| Type of CIDR allocator to use | +|
| --cloud-config string | +|
| The path to the cloud provider configuration file. Empty string for no configuration file. | +|
| --cloud-provider string | +|
| The provider of cloud services. Cannot be empty. | +|
| --cluster-cidr string | +|
| CIDR Range for Pods in cluster. Requires --allocate-node-cidrs to be true | +|
| --cluster-name string Default: "kubernetes" | +|
| The instance prefix for the cluster. | +|
| --concurrent-service-syncs int32 Default: 1 | +|
| The number of services that are allowed to sync concurrently. Larger number = more responsive service management, but more CPU (and network) load | +|
| --configure-cloud-routes Default: true | +|
| Should CIDRs allocated by allocate-node-cidrs be configured on the cloud provider. | +|
| --contention-profiling | +|
| Enable lock contention profiling, if profiling is enabled. | +|
| --controller-start-interval duration | +|
| Interval between starting controller managers. | +|
| --feature-gates mapStringBool | +|
| A set of key=value pairs that describe feature gates for alpha/experimental features. Options are: APIListChunking=true|false (BETA - default=true) APIResponseCompression=true|false (ALPHA - default=false) Accelerators=true|false (ALPHA - default=false) AdvancedAuditing=true|false (BETA - default=true) AllAlpha=true|false (ALPHA - default=false) AppArmor=true|false (BETA - default=true) BlockVolume=true|false (ALPHA - default=false) CPUManager=true|false (BETA - default=true) CRIContainerLogRotation=true|false (ALPHA - default=false) CSIPersistentVolume=true|false (BETA - default=true) CustomPodDNS=true|false (BETA - default=true) CustomResourceSubresources=true|false (ALPHA - default=false) CustomResourceValidation=true|false (BETA - default=true) DebugContainers=true|false (ALPHA - default=false) DevicePlugins=true|false (BETA - default=true) DynamicKubeletConfig=true|false (ALPHA - default=false) EnableEquivalenceClassCache=true|false (ALPHA - default=false) ExpandPersistentVolumes=true|false (ALPHA - default=false) ExperimentalCriticalPodAnnotation=true|false (ALPHA - default=false) ExperimentalHostUserNamespaceDefaulting=true|false (BETA - default=false) GCERegionalPersistentDisk=true|false (BETA - default=true) HugePages=true|false (BETA - default=true) HyperVContainer=true|false (ALPHA - default=false) Initializers=true|false (ALPHA - default=false) LocalStorageCapacityIsolation=true|false (BETA - default=true) MountContainers=true|false (ALPHA - default=false) MountPropagation=true|false (BETA - default=true) PersistentLocalVolumes=true|false (BETA - default=true) PodPriority=true|false (ALPHA - default=false) PodShareProcessNamespace=true|false (ALPHA - default=false) ReadOnlyAPIDataVolumes=true|false (DEPRECATED - default=true) ResourceLimitsPriorityFunction=true|false (ALPHA - default=false) RotateKubeletClientCertificate=true|false (BETA - default=true) RotateKubeletServerCertificate=true|false (ALPHA - default=false) RunAsGroup=true|false (ALPHA - default=false) ScheduleDaemonSetPods=true|false (ALPHA - default=false) ServiceNodeExclusion=true|false (ALPHA - default=false) ServiceProxyAllowExternalIPs=true|false (DEPRECATED - default=false) StorageObjectInUseProtection=true|false (BETA - default=true) StreamingProxyRedirects=true|false (BETA - default=true) SupportIPVSProxyMode=true|false (BETA - default=true) SupportPodPidsLimit=true|false (ALPHA - default=false) TaintBasedEvictions=true|false (ALPHA - default=false) TaintNodesByCondition=true|false (ALPHA - default=false) TokenRequest=true|false (ALPHA - default=false) VolumeScheduling=true|false (BETA - default=true) VolumeSubpath=true|false (default=true) |
+ |
| -h, --help | +|
| help for cloud-controller-manager | +|
| --http2-max-streams-per-connection int | +|
| The limit that the server gives to clients for the maximum number of streams in an HTTP/2 connection. Zero means to use golang's default. | +|
| --kube-api-burst int32 Default: 30 | +|
| Burst to use while talking with kubernetes apiserver. | +|
| --kube-api-content-type string Default: "application/vnd.kubernetes.protobuf" | +|
| Content type of requests sent to apiserver. | +|
| --kube-api-qps float32 Default: 20 | +|
| QPS to use while talking with kubernetes apiserver. | +|
| --kubeconfig string | +|
| Path to kubeconfig file with authorization and master location information. | +|
| --leader-elect Default: true | +|
| Start a leader election client and gain leadership before executing the main loop. Enable this when running replicated components for high availability. | +|
| --leader-elect-lease-duration duration Default: 15s | +|
| 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. | +|
| --leader-elect-renew-deadline duration Default: 10s | +|
| 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. | +|
| --leader-elect-resource-lock endpoints Default: "endpoints" | +|
| The type of resource object that is used for locking during leader election. Supported options are endpoints (default) and `configmaps`. | +|
| --leader-elect-retry-period duration Default: 2s | +|
| The duration the clients should wait between attempting acquisition and renewal of a leadership. This is only applicable if leader election is enabled. | +|
| --log-flush-frequency duration Default: 5s | +|
| Maximum number of seconds between log flushes | +|
| --master string | +|
| The address of the Kubernetes API server (overrides any value in kubeconfig). | +|
| --min-resync-period duration Default: 12h0m0s | +|
| The resync period in reflectors will be random between MinResyncPeriod and 2*MinResyncPeriod. | +|
| --node-monitor-period duration Default: 5s | +|
| The period for syncing NodeStatus in NodeController. | +|
| --node-status-update-frequency duration Default: 5m0s | +|
| Specifies how often the controller updates nodes' status. | +|
| --port int Default: 10253 | +|
| DEPRECATED: the port on which to serve HTTP insecurely without authentication and authorization. If 0, don't serve HTTPS at all. See --secure-port instead. | +|
| --profiling Default: true | +|
| Enable profiling via web interface host:port/debug/pprof/ | +|
| --route-reconciliation-period duration Default: 10s | +|
| The period for reconciling routes created for Nodes by cloud provider. | +|
| --secure-port int | +|
| The port on which to serve HTTPS with authentication and authorization. If 0, don't serve HTTPS at all. | +|
| --tls-cert-file string | +|
| File containing the default x509 Certificate for HTTPS. (CA cert, if any, concatenated after server cert). If HTTPS serving is enabled, and --tls-cert-file and --tls-private-key-file are not provided, a self-signed certificate and key are generated for the public address and saved to the directory specified by --cert-dir. | +|
| --tls-cipher-suites stringSlice | +|
| Comma-separated list of cipher suites for the server. Values are from tls package constants (https://golang.org/pkg/crypto/tls/#pkg-constants). If omitted, the default Go cipher suites will be used | +|
| --tls-min-version string | +|
| Minimum TLS version supported. Value must match version names from https://golang.org/pkg/crypto/tls/#pkg-constants. | +|
| --tls-private-key-file string | +|
| File containing the default x509 private key matching --tls-cert-file. | +|
| --tls-sni-cert-key namedCertKey Default: [] | +|
| A pair of x509 certificate and private key file paths, optionally suffixed with a list of domain patterns which are fully qualified domain names, possibly with prefixed wildcard segments. If no domain patterns are provided, the names of the certificate are extracted. Non-wildcard matches trump over wildcard matches, explicit domain patterns trump over extracted names. For multiple key/certificate pairs, use the --tls-sni-cert-key multiple times. Examples: "example.crt,example.key" or "foo.crt,foo.key:*.foo.com,foo.com". | +|
| --use-service-account-credentials | +|
| If true, use individual service account credentials for each controller. | +|
| --version version[=true] | +|
| Print version information and quit | +|
| --admission-control-config-file string | +|
| File with admission control configuration. | +|
| --advertise-address ip | +|
| The IP address on which to advertise the apiserver to members of the cluster. This address must be reachable by the rest of the cluster. If blank, the --bind-address will be used. If --bind-address is unspecified, the host's default interface will be used. | +|
| --allow-privileged | +|
| If true, allow privileged containers. [default=false] | +|
| --anonymous-auth Default: true | +|
| Enables anonymous requests to the secure port of the API server. Requests that are not rejected by another authentication method are treated as anonymous requests. Anonymous requests have a username of system:anonymous, and a group name of system:unauthenticated. | +|
| --apiserver-count int Default: 1 | +|
| The number of apiservers running in the cluster, must be a positive number. | +|
| --audit-log-batch-buffer-size int Default: 10000 | +|
| The size of the buffer to store events before batching and writing. Only used in batch mode. | +|
| --audit-log-batch-max-size int Default: 400 | +|
| The maximum size of a batch. Only used in batch mode. | +|
| --audit-log-batch-max-wait duration Default: 30s | +|
| The amount of time to wait before force writing the batch that hadn't reached the max size. Only used in batch mode. | +|
| --audit-log-batch-throttle-burst int Default: 15 | +|
| Maximum number of requests sent at the same moment if ThrottleQPS was not utilized before. Only used in batch mode. | +|
| --audit-log-batch-throttle-enable | +|
| Whether batching throttling is enabled. Only used in batch mode. | +|
| --audit-log-batch-throttle-qps float32 Default: 10 | +|
| Maximum average number of batches per second. Only used in batch mode. | +|
| --audit-log-format string Default: "json" | +|
| Format of saved audits. "legacy" indicates 1-line text format for each event. "json" indicates structured json format. Requires the 'AdvancedAuditing' feature gate. Known formats are legacy,json. | +|
| --audit-log-maxage int | +|
| The maximum number of days to retain old audit log files based on the timestamp encoded in their filename. | +|
| --audit-log-maxbackup int | +|
| The maximum number of old audit log files to retain. | +|
| --audit-log-maxsize int | +|
| The maximum size in megabytes of the audit log file before it gets rotated. | +|
| --audit-log-mode string Default: "blocking" | +|
| Strategy for sending audit events. Blocking indicates sending events should block server responses. Batch causes the backend to buffer and write events asynchronously. Known modes are batch,blocking. | +|
| --audit-log-path string | +|
| If set, all requests coming to the apiserver will be logged to this file. '-' means standard out. | +|
| --audit-policy-file string | +|
| Path to the file that defines the audit policy configuration. Requires the 'AdvancedAuditing' feature gate. With AdvancedAuditing, a profile is required to enable auditing. | +|
| --audit-webhook-batch-buffer-size int Default: 10000 | +|
| The size of the buffer to store events before batching and writing. Only used in batch mode. | +|
| --audit-webhook-batch-max-size int Default: 400 | +|
| The maximum size of a batch. Only used in batch mode. | +|
| --audit-webhook-batch-max-wait duration Default: 30s | +|
| The amount of time to wait before force writing the batch that hadn't reached the max size. Only used in batch mode. | +|
| --audit-webhook-batch-throttle-burst int Default: 15 | +|
| Maximum number of requests sent at the same moment if ThrottleQPS was not utilized before. Only used in batch mode. | +|
| --audit-webhook-batch-throttle-enable Default: true | +|
| Whether batching throttling is enabled. Only used in batch mode. | +|
| --audit-webhook-batch-throttle-qps float32 Default: 10 | +|
| Maximum average number of batches per second. Only used in batch mode. | +|
| --audit-webhook-config-file string | +|
| Path to a kubeconfig formatted file that defines the audit webhook configuration. Requires the 'AdvancedAuditing' feature gate. | +|
| --audit-webhook-initial-backoff duration Default: 10s | +|
| The amount of time to wait before retrying the first failed request. | +|
| --audit-webhook-mode string Default: "batch" | +|
| Strategy for sending audit events. Blocking indicates sending events should block server responses. Batch causes the backend to buffer and write events asynchronously. Known modes are batch,blocking. | +|
| --authentication-token-webhook-cache-ttl duration Default: 2m0s | +|
| The duration to cache responses from the webhook token authenticator. | +|
| --authentication-token-webhook-config-file string | +|
| File with webhook configuration for token authentication in kubeconfig format. The API server will query the remote service to determine authentication for bearer tokens. | +|
| --authorization-mode string Default: "AlwaysAllow" | +|
| Ordered list of plug-ins to do authorization on secure port. Comma-delimited list of: AlwaysAllow,AlwaysDeny,ABAC,Webhook,RBAC,Node. | +|
| --authorization-policy-file string | +|
| File with authorization policy in csv format, used with --authorization-mode=ABAC, on the secure port. | +|
| --authorization-webhook-cache-authorized-ttl duration Default: 5m0s | +|
| The duration to cache 'authorized' responses from the webhook authorizer. | +|
| --authorization-webhook-cache-unauthorized-ttl duration Default: 30s | +|
| The duration to cache 'unauthorized' responses from the webhook authorizer. | +|
| --authorization-webhook-config-file string | +|
| File with webhook configuration in kubeconfig format, used with --authorization-mode=Webhook. The API server will query the remote service to determine access on the API server's secure port. | +|
| --azure-container-registry-config string | +|
| Path to the file containing Azure container registry configuration information. | +|
| --basic-auth-file string | +|
| If set, the file that will be used to admit requests to the secure port of the API server via http basic authentication. | +|
| --bind-address ip Default: 0.0.0.0 | +|
| The IP address on which to listen for the --secure-port port. The associated interface(s) must be reachable by the rest of the cluster, and by CLI/web clients. If blank, all interfaces will be used (0.0.0.0 for all IPv4 interfaces and :: for all IPv6 interfaces). | +|
| --cert-dir string Default: "/var/run/kubernetes" | +|
| The directory where the TLS certs are located. If --tls-cert-file and --tls-private-key-file are provided, this flag will be ignored. | +|
| --client-ca-file string | +|
| If set, any request presenting a client certificate signed by one of the authorities in the client-ca-file is authenticated with an identity corresponding to the CommonName of the client certificate. | +|
| --cloud-config string | +|
| The path to the cloud provider configuration file. Empty string for no configuration file. | +|
| --cloud-provider string | +|
| The provider for cloud services. Empty string for no provider. | +|
| --contention-profiling | +|
| Enable lock contention profiling, if profiling is enabled | +|
| --cors-allowed-origins stringSlice | +|
| List of allowed origins for CORS, comma separated. An allowed origin can be a regular expression to support subdomain matching. If this list is empty CORS will not be enabled. | +|
| --default-watch-cache-size int Default: 100 | +|
| Default watch cache size. If zero, watch cache will be disabled for resources that do not have a default watch size set. | +|
| --delete-collection-workers int Default: 1 | +|
| Number of workers spawned for DeleteCollection call. These are used to speed up namespace cleanup. | +|
| --deserialization-cache-size int | +|
| Number of deserialized json objects to cache in memory. | +|
| --disable-admission-plugins stringSlice | +|
| admission plugins that should be disabled although they are in the default enabled plugins list. Comma-delimited list of admission plugins: AlwaysAdmit, AlwaysDeny, AlwaysPullImages, DefaultStorageClass, DefaultTolerationSeconds, DenyEscalatingExec, DenyExecOnPrivileged, EventRateLimit, ExtendedResourceToleration, ImagePolicyWebhook, InitialResources, Initializers, LimitPodHardAntiAffinityTopology, LimitRanger, MutatingAdmissionWebhook, NamespaceAutoProvision, NamespaceExists, NamespaceLifecycle, NodeRestriction, OwnerReferencesPermissionEnforcement, PersistentVolumeClaimResize, PersistentVolumeLabel, PodNodeSelector, PodPreset, PodSecurityPolicy, PodTolerationRestriction, Priority, ResourceQuota, SecurityContextDeny, ServiceAccount, StorageObjectInUseProtection, ValidatingAdmissionWebhook. The order of plugins in this flag does not matter. | +|
| --enable-admission-plugins stringSlice | +|
| admission plugins that should be enabled in addition to default enabled ones. Comma-delimited list of admission plugins: AlwaysAdmit, AlwaysDeny, AlwaysPullImages, DefaultStorageClass, DefaultTolerationSeconds, DenyEscalatingExec, DenyExecOnPrivileged, EventRateLimit, ExtendedResourceToleration, ImagePolicyWebhook, InitialResources, Initializers, LimitPodHardAntiAffinityTopology, LimitRanger, MutatingAdmissionWebhook, NamespaceAutoProvision, NamespaceExists, NamespaceLifecycle, NodeRestriction, OwnerReferencesPermissionEnforcement, PersistentVolumeClaimResize, PersistentVolumeLabel, PodNodeSelector, PodPreset, PodSecurityPolicy, PodTolerationRestriction, Priority, ResourceQuota, SecurityContextDeny, ServiceAccount, StorageObjectInUseProtection, ValidatingAdmissionWebhook. The order of plugins in this flag does not matter. | +|
| --enable-aggregator-routing | +|
| Turns on aggregator routing requests to endoints IP rather than cluster IP. | +|
| --enable-bootstrap-token-auth | +|
| Enable to allow secrets of type 'bootstrap.kubernetes.io/token' in the 'kube-system' namespace to be used for TLS bootstrapping authentication. | +|
| --enable-garbage-collector Default: true | +|
| Enables the generic garbage collector. MUST be synced with the corresponding flag of the kube-controller-manager. | +|
| --enable-logs-handler Default: true | +|
| If true, install a /logs handler for the apiserver logs. | +|
| --enable-swagger-ui | +|
| Enables swagger ui on the apiserver at /swagger-ui | +|
| --endpoint-reconciler-type string Default: "master-count" | +|
| Use an endpoint reconciler (master-count, lease, none) | +|
| --etcd-cafile string | +|
| SSL Certificate Authority file used to secure etcd communication. | +|
| --etcd-certfile string | +|
| SSL certification file used to secure etcd communication. | +|
| --etcd-compaction-interval duration Default: 5m0s | +|
| The interval of compaction requests. If 0, the compaction request from apiserver is disabled. | +|
| --etcd-count-metric-poll-period duration Default: 1m0s | +|
| Frequency of polling etcd for number of resources per type. 0 disables the metric collection. | +|
| --etcd-keyfile string | +|
| SSL key file used to secure etcd communication. | +|
| --etcd-prefix string Default: "/registry" | +|
| The prefix to prepend to all resource paths in etcd. | +|
| --etcd-servers stringSlice | +|
| List of etcd servers to connect with (scheme://ip:port), comma separated. | +|
| --etcd-servers-overrides stringSlice | +|
| Per-resource etcd servers overrides, comma separated. The individual override format: group/resource#servers, where servers are http://ip:port, semicolon separated. | +|
| --event-ttl duration Default: 1h0m0s | +|
| Amount of time to retain events. | +|
| --experimental-encryption-provider-config string | +|
| The file containing configuration for encryption providers to be used for storing secrets in etcd | +|
| --external-hostname string | +|
| The hostname to use when generating externalized URLs for this master (e.g. Swagger API Docs). | +|
| --feature-gates mapStringBool | +|
| A set of key=value pairs that describe feature gates for alpha/experimental features. Options are: APIListChunking=true|false (BETA - default=true) APIResponseCompression=true|false (ALPHA - default=false) Accelerators=true|false (ALPHA - default=false) AdvancedAuditing=true|false (BETA - default=true) AllAlpha=true|false (ALPHA - default=false) AppArmor=true|false (BETA - default=true) BlockVolume=true|false (ALPHA - default=false) CPUManager=true|false (BETA - default=true) CRIContainerLogRotation=true|false (ALPHA - default=false) CSIPersistentVolume=true|false (BETA - default=true) CustomPodDNS=true|false (BETA - default=true) CustomResourceSubresources=true|false (ALPHA - default=false) CustomResourceValidation=true|false (BETA - default=true) DebugContainers=true|false (ALPHA - default=false) DevicePlugins=true|false (BETA - default=true) DynamicKubeletConfig=true|false (ALPHA - default=false) EnableEquivalenceClassCache=true|false (ALPHA - default=false) ExpandPersistentVolumes=true|false (ALPHA - default=false) ExperimentalCriticalPodAnnotation=true|false (ALPHA - default=false) ExperimentalHostUserNamespaceDefaulting=true|false (BETA - default=false) GCERegionalPersistentDisk=true|false (BETA - default=true) HugePages=true|false (BETA - default=true) HyperVContainer=true|false (ALPHA - default=false) Initializers=true|false (ALPHA - default=false) LocalStorageCapacityIsolation=true|false (BETA - default=true) MountContainers=true|false (ALPHA - default=false) MountPropagation=true|false (BETA - default=true) PersistentLocalVolumes=true|false (BETA - default=true) PodPriority=true|false (ALPHA - default=false) PodShareProcessNamespace=true|false (ALPHA - default=false) ReadOnlyAPIDataVolumes=true|false (DEPRECATED - default=true) ResourceLimitsPriorityFunction=true|false (ALPHA - default=false) RotateKubeletClientCertificate=true|false (BETA - default=true) RotateKubeletServerCertificate=true|false (ALPHA - default=false) RunAsGroup=true|false (ALPHA - default=false) ScheduleDaemonSetPods=true|false (ALPHA - default=false) ServiceNodeExclusion=true|false (ALPHA - default=false) ServiceProxyAllowExternalIPs=true|false (DEPRECATED - default=false) StorageObjectInUseProtection=true|false (BETA - default=true) StreamingProxyRedirects=true|false (BETA - default=true) SupportIPVSProxyMode=true|false (BETA - default=true) SupportPodPidsLimit=true|false (ALPHA - default=false) TaintBasedEvictions=true|false (ALPHA - default=false) TaintNodesByCondition=true|false (ALPHA - default=false) TokenRequest=true|false (ALPHA - default=false) VolumeScheduling=true|false (BETA - default=true) VolumeSubpath=true|false (default=true) |
+ |
| -h, --help | +|
| help for kube-apiserver | +|
| --http2-max-streams-per-connection int | +|
| The limit that the server gives to clients for the maximum number of streams in an HTTP/2 connection. Zero means to use golang's default. | +|
| --kubelet-certificate-authority string | +|
| Path to a cert file for the certificate authority. | +|
| --kubelet-client-certificate string | +|
| Path to a client cert file for TLS. | +|
| --kubelet-client-key string | +|
| Path to a client key file for TLS. | +|
| --kubelet-https Default: true | +|
| Use https for kubelet connections. | +|
| --kubelet-preferred-address-types stringSlice Default: [Hostname,InternalDNS,InternalIP,ExternalDNS,ExternalIP] | +|
| List of the preferred NodeAddressTypes to use for kubelet connections. | +|
| --kubelet-read-only-port uint Default: 10255 | +|
| DEPRECATED: kubelet port. | +|
| --kubelet-timeout duration Default: 5s | +|
| Timeout for kubelet operations. | +|
| --kubernetes-service-node-port int | +|
| If non-zero, the Kubernetes master service (which apiserver creates/maintains) will be of type NodePort, using this as the value of the port. If zero, the Kubernetes master service will be of type ClusterIP. | +|
| --log-flush-frequency duration Default: 5s | +|
| Maximum number of seconds between log flushes | +|
| --master-service-namespace string Default: "default" | +|
| DEPRECATED: the namespace from which the kubernetes master services should be injected into pods. | +|
| --max-connection-bytes-per-sec int | +|
| If non-zero, throttle each user connection to this number of bytes/sec. Currently only applies to long-running requests. | +|
| --max-mutating-requests-inflight int Default: 200 | +|
| The maximum number of mutating requests in flight at a given time. When the server exceeds this, it rejects requests. Zero for no limit. | +|
| --max-requests-inflight int Default: 400 | +|
| The maximum number of non-mutating requests in flight at a given time. When the server exceeds this, it rejects requests. Zero for no limit. | +|
| --min-request-timeout int Default: 1800 | +|
| An optional field indicating the minimum number of seconds a handler must keep a request open before timing it out. Currently only honored by the watch request handler, which picks a randomized value above this number as the connection timeout, to spread out load. | +|
| --oidc-ca-file string | +|
| If set, the OpenID server's certificate will be verified by one of the authorities in the oidc-ca-file, otherwise the host's root CA set will be used. | +|
| --oidc-client-id string | +|
| The client ID for the OpenID Connect client, must be set if oidc-issuer-url is set. | +|
| --oidc-groups-claim string | +|
| If provided, the name of a custom OpenID Connect claim for specifying user groups. The claim value is expected to be a string or array of strings. This flag is experimental, please see the authentication documentation for further details. | +|
| --oidc-groups-prefix string | +|
| If provided, all groups will be prefixed with this value to prevent conflicts with other authentication strategies. | +|
| --oidc-issuer-url string | +|
| The URL of the OpenID issuer, only HTTPS scheme will be accepted. If set, it will be used to verify the OIDC JSON Web Token (JWT). | +|
| --oidc-signing-algs stringSlice Default: [RS256] | +|
| Comma-separated list of allowed JOSE asymmetric signing algorithms. JWTs with a 'alg' header value not in this list will be rejected. Values are defined by RFC 7518 https://tools.ietf.org/html/rfc7518#section-3.1. | +|
| --oidc-username-claim string Default: "sub" | +|
| The OpenID claim to use as the user name. Note that claims other than the default ('sub') is not guaranteed to be unique and immutable. This flag is experimental, please see the authentication documentation for further details. | +|
| --oidc-username-prefix string | +|
| If provided, all usernames will be prefixed with this value. If not provided, username claims other than 'email' are prefixed by the issuer URL to avoid clashes. To skip any prefixing, provide the value '-'. | +|
| --profiling Default: true | +|
| Enable profiling via web interface host:port/debug/pprof/ | +|
| --proxy-client-cert-file string | +|
| Client certificate used to prove the identity of the aggregator or kube-apiserver when it must call out during a request. This includes proxying requests to a user api-server and calling out to webhook admission plugins. It is expected that this cert includes a signature from the CA in the --requestheader-client-ca-file flag. That CA is published in the 'extension-apiserver-authentication' configmap in the kube-system namespace. Components receiving calls from kube-aggregator should use that CA to perform their half of the mutual TLS verification. | +|
| --proxy-client-key-file string | +|
| Private key for the client certificate used to prove the identity of the aggregator or kube-apiserver when it must call out during a request. This includes proxying requests to a user api-server and calling out to webhook admission plugins. | +|
| --repair-malformed-updates Default: true | +|
| If true, server will do its best to fix the update request to pass the validation, e.g., setting empty UID in update request to its existing value. This flag can be turned off after we fix all the clients that send malformed updates. | +|
| --request-timeout duration Default: 1m0s | +|
| An optional field indicating the duration a handler must keep a request open before timing it out. This is the default request timeout for requests but may be overridden by flags such as --min-request-timeout for specific types of requests. | +|
| --requestheader-allowed-names stringSlice | +|
| List of client certificate common names to allow to provide usernames in headers specified by --requestheader-username-headers. If empty, any client certificate validated by the authorities in --requestheader-client-ca-file is allowed. | +|
| --requestheader-client-ca-file string | +|
| Root certificate bundle to use to verify client certificates on incoming requests before trusting usernames in headers specified by --requestheader-username-headers | +|
| --requestheader-extra-headers-prefix stringSlice | +|
| List of request header prefixes to inspect. X-Remote-Extra- is suggested. | +|
| --requestheader-group-headers stringSlice | +|
| List of request headers to inspect for groups. X-Remote-Group is suggested. | +|
| --requestheader-username-headers stringSlice | +|
| List of request headers to inspect for usernames. X-Remote-User is common. | +|
| --runtime-config mapStringString | +|
| A set of key=value pairs that describe runtime configuration that may be passed to apiserver. <group>/<version> (or <version> for the core group) key can be used to turn on/off specific api versions. <group>/<version>/<resource> (or <version>/<resource> for the core group) can be used to turn on/off specific resources. api/all and api/legacy are special keys to control all and legacy api versions respectively. | +|
| --secure-port int Default: 6443 | +|
| The port on which to serve HTTPS with authentication and authorization. If 0, don't serve HTTPS at all. | +|
| --service-account-api-audiences stringSlice | +|
| Identifiers of the API. The service account token authenticator will validate that tokens used against the API are bound to at least one of these audiences. | +|
| --service-account-issuer string | +|
| Identifier of the service account token issuer. The issuer will assert this identifier in "iss" claim of issued tokens. This value is a string or URI. | +|
| --service-account-key-file stringArray | +|
| File containing PEM-encoded x509 RSA or ECDSA private or public keys, used to verify ServiceAccount tokens. The specified file can contain multiple keys, and the flag can be specified multiple times with different files. If unspecified, --tls-private-key-file is used. Must be specified when --service-account-signing-key is provided | +|
| --service-account-lookup Default: true | +|
| If true, validate ServiceAccount tokens exist in etcd as part of authentication. | +|
| --service-account-signing-key-file string | +|
| Path to the file that contains the current private key of the service account token issuer. The issuer will sign issued ID tokens with this private key. (Ignored unless alpha TokenRequest is enabled | +|
| --service-cluster-ip-range ipNet Default: 10.0.0.0/24 | +|
| A CIDR notation IP range from which to assign service cluster IPs. This must not overlap with any IP ranges assigned to nodes for pods. | +|
| --service-node-port-range portRange Default: 30000-32767 | +|
| A port range to reserve for services with NodePort visibility. Example: '30000-32767'. Inclusive at both ends of the range. | +|
| --storage-backend string | +|
| The storage backend for persistence. Options: 'etcd3' (default), 'etcd2'. | +|
| --storage-media-type string Default: "application/vnd.kubernetes.protobuf" | +|
| The media type to use to store objects in storage. Some resources or storage backends may only support a specific media type and will ignore this setting. | +|
| --storage-versions string Default: "admission.k8s.io/v1beta1, admissionregistration.k8s.io/v1beta1, apps/v1, authentication.k8s.io/v1, authorization.k8s.io/v1, autoscaling/v1, batch/v1, certificates.k8s.io/v1beta1, componentconfig/v1alpha1, events.k8s.io/v1beta1, extensions/v1beta1, imagepolicy.k8s.io/v1alpha1, kubeadm.k8s.io/v1alpha1, networking.k8s.io/v1, policy/v1beta1, rbac.authorization.k8s.io/v1, scheduling.k8s.io/v1alpha1, settings.k8s.io/v1alpha1, storage.k8s.io/v1, v1" |
+ |
| The per-group version to store resources in. Specified in the format "group1/version1,group2/version2,...". In the case where objects are moved from one group to the other, you may specify the format "group1=group2/v1beta1,group3/v1beta1,...". You only need to pass the groups you wish to change from the defaults. It defaults to a list of preferred versions of all registered groups, which is derived from the KUBE_API_VERSIONS environment variable. | +|
| --target-ram-mb int | +|
| Memory limit for apiserver in MB (used to configure sizes of caches, etc.) | +|
| --tls-cert-file string | +|
| File containing the default x509 Certificate for HTTPS. (CA cert, if any, concatenated after server cert). If HTTPS serving is enabled, and --tls-cert-file and --tls-private-key-file are not provided, a self-signed certificate and key are generated for the public address and saved to the directory specified by --cert-dir. | +|
| --tls-cipher-suites stringSlice | +|
| Comma-separated list of cipher suites for the server. Values are from tls package constants (https://golang.org/pkg/crypto/tls/#pkg-constants). If omitted, the default Go cipher suites will be used | +|
| --tls-min-version string | +|
| Minimum TLS version supported. Value must match version names from https://golang.org/pkg/crypto/tls/#pkg-constants. | +|
| --tls-private-key-file string | +|
| File containing the default x509 private key matching --tls-cert-file. | +|
| --tls-sni-cert-key namedCertKey Default: [] | +|
| A pair of x509 certificate and private key file paths, optionally suffixed with a list of domain patterns which are fully qualified domain names, possibly with prefixed wildcard segments. If no domain patterns are provided, the names of the certificate are extracted. Non-wildcard matches trump over wildcard matches, explicit domain patterns trump over extracted names. For multiple key/certificate pairs, use the --tls-sni-cert-key multiple times. Examples: "example.crt,example.key" or "foo.crt,foo.key:*.foo.com,foo.com". | +|
| --token-auth-file string | +|
| If set, the file that will be used to secure the secure port of the API server via token authentication. | +|
| --version version[=true] | +|
| Print version information and quit | +|
| --watch-cache Default: true | +|
| Enable watch caching in the apiserver | +|
| --watch-cache-sizes stringSlice | +|
| List of watch cache sizes for every resource (pods, nodes, etc.), comma separated. The individual override format: resource[.group]#size, where resource is lowercase plural (no version), group is optional, and size is a number. It takes effect when watch-cache is enabled. Some resources (replicationcontrollers, endpoints, nodes, pods, services, apiservices.apiregistration.k8s.io) have system defaults set by heuristics, others default to default-watch-cache-size | +|
| --address ip Default: 0.0.0.0 | +|
| DEPRECATED: the IP address on which to listen for the --port port. See --bind-address instead. | +|
| --allocate-node-cidrs | +|
| Should CIDRs for Pods be allocated and set on the cloud provider. | +|
| --attach-detach-reconcile-sync-period duration Default: 1m0s | +|
| The reconciler sync wait time between volume attach detach. This duration must be larger than one second, and increasing this value from the default may allow for volumes to be mismatched with pods. | +|
| --azure-container-registry-config string | +|
| Path to the file containing Azure container registry configuration information. | +|
| --bind-address ip Default: 0.0.0.0 | +|
| The IP address on which to listen for the --secure-port port. The associated interface(s) must be reachable by the rest of the cluster, and by CLI/web clients. If blank, all interfaces will be used (0.0.0.0 for all IPv4 interfaces and :: for all IPv6 interfaces). | +|
| --cert-dir string Default: "/var/run/kubernetes" | +|
| The directory where the TLS certs are located. If --tls-cert-file and --tls-private-key-file are provided, this flag will be ignored. | +|
| --cidr-allocator-type string Default: "RangeAllocator" | +|
| Type of CIDR allocator to use | +|
| --cloud-config string | +|
| The path to the cloud provider configuration file. Empty string for no configuration file. | +|
| --cloud-provider string | +|
| The provider for cloud services. Empty string for no provider. | +|
| --cluster-cidr string | +|
| CIDR Range for Pods in cluster. Requires --allocate-node-cidrs to be true | +|
| --cluster-name string Default: "kubernetes" | +|
| The instance prefix for the cluster. | +|
| --cluster-signing-cert-file string Default: "/etc/kubernetes/ca/ca.pem" | +|
| Filename containing a PEM-encoded X509 CA certificate used to issue cluster-scoped certificates | +|
| --cluster-signing-key-file string Default: "/etc/kubernetes/ca/ca.key" | +|
| Filename containing a PEM-encoded RSA or ECDSA private key used to sign cluster-scoped certificates | +|
| --concurrent-deployment-syncs int32 Default: 5 | +|
| The number of deployment objects that are allowed to sync concurrently. Larger number = more responsive deployments, but more CPU (and network) load | +|
| --concurrent-endpoint-syncs int32 Default: 5 | +|
| The number of endpoint syncing operations that will be done concurrently. Larger number = faster endpoint updating, but more CPU (and network) load | +|
| --concurrent-gc-syncs int32 Default: 20 | +|
| The number of garbage collector workers that are allowed to sync concurrently. | +|
| --concurrent-namespace-syncs int32 Default: 10 | +|
| The number of namespace objects that are allowed to sync concurrently. Larger number = more responsive namespace termination, but more CPU (and network) load | +|
| --concurrent-replicaset-syncs int32 Default: 5 | +|
| The number of replica sets that are allowed to sync concurrently. Larger number = more responsive replica management, but more CPU (and network) load | +|
| --concurrent-resource-quota-syncs int32 Default: 5 | +|
| The number of resource quotas that are allowed to sync concurrently. Larger number = more responsive quota management, but more CPU (and network) load | +|
| --concurrent-service-syncs int32 Default: 1 | +|
| The number of services that are allowed to sync concurrently. Larger number = more responsive service management, but more CPU (and network) load | +|
| --concurrent-serviceaccount-token-syncs int32 Default: 5 | +|
| The number of service account token objects that are allowed to sync concurrently. Larger number = more responsive token generation, but more CPU (and network) load | +|
| --concurrent_rc_syncs int32 Default: 5 | +|
| The number of replication controllers that are allowed to sync concurrently. Larger number = more responsive replica management, but more CPU (and network) load | +|
| --configure-cloud-routes Default: true | +|
| Should CIDRs allocated by allocate-node-cidrs be configured on the cloud provider. | +|
| --contention-profiling | +|
| Enable lock contention profiling, if profiling is enabled. | +|
| --controller-start-interval duration | +|
| Interval between starting controller managers. | +|
| --controllers stringSlice Default: [*] | +|
| A list of controllers to enable. '*' enables all on-by-default controllers, 'foo' enables the controller named 'foo', '-foo' disables the controller named 'foo'. All controllers: attachdetach, bootstrapsigner, clusterrole-aggregation, cronjob, csrapproving, csrcleaner, csrsigning, daemonset, deployment, disruption, endpoint, garbagecollector, horizontalpodautoscaling, job, namespace, nodeipam, nodelifecycle, persistentvolume-binder, persistentvolume-expander, podgc, pv-protection, pvc-protection, replicaset, replicationcontroller, resourcequota, route, service, serviceaccount, serviceaccount-token, statefulset, tokencleaner, ttl Disabled-by-default controllers: bootstrapsigner, tokencleaner |
+ |
| --deployment-controller-sync-period duration Default: 30s | +|
| Period for syncing the deployments. | +|
| --disable-attach-detach-reconcile-sync | +|
| Disable volume attach detach reconciler sync. Disabling this may cause volumes to be mismatched with pods. Use wisely. | +|
| --enable-dynamic-provisioning Default: true | +|
| Enable dynamic provisioning for environments that support it. | +|
| --enable-garbage-collector Default: true | +|
| Enables the generic garbage collector. MUST be synced with the corresponding flag of the kube-apiserver. | +|
| --enable-hostpath-provisioner | +|
| Enable HostPath PV provisioning when running without a cloud provider. This allows testing and development of provisioning features. HostPath provisioning is not supported in any way, won't work in a multi-node cluster, and should not be used for anything other than testing or development. | +|
| --enable-taint-manager Default: true | +|
| WARNING: Beta feature. If set to true enables NoExecute Taints and will evict all not-tolerating Pod running on Nodes tainted with this kind of Taints. | +|
| --experimental-cluster-signing-duration duration Default: 8760h0m0s | +|
| The length of duration signed certificates will be given. | +|
| --external-cloud-volume-plugin string | +|
| The plugin to use when cloud provider is set to external. Can be empty, should only be set when cloud-provider is external. Currently used to allow node and volume controllers to work for in tree cloud providers. | +|
| --feature-gates mapStringBool | +|
| A set of key=value pairs that describe feature gates for alpha/experimental features. Options are: APIListChunking=true|false (BETA - default=true) APIResponseCompression=true|false (ALPHA - default=false) Accelerators=true|false (ALPHA - default=false) AdvancedAuditing=true|false (BETA - default=true) AllAlpha=true|false (ALPHA - default=false) AppArmor=true|false (BETA - default=true) BlockVolume=true|false (ALPHA - default=false) CPUManager=true|false (BETA - default=true) CRIContainerLogRotation=true|false (ALPHA - default=false) CSIPersistentVolume=true|false (BETA - default=true) CustomPodDNS=true|false (BETA - default=true) CustomResourceSubresources=true|false (ALPHA - default=false) CustomResourceValidation=true|false (BETA - default=true) DebugContainers=true|false (ALPHA - default=false) DevicePlugins=true|false (BETA - default=true) DynamicKubeletConfig=true|false (ALPHA - default=false) EnableEquivalenceClassCache=true|false (ALPHA - default=false) ExpandPersistentVolumes=true|false (ALPHA - default=false) ExperimentalCriticalPodAnnotation=true|false (ALPHA - default=false) ExperimentalHostUserNamespaceDefaulting=true|false (BETA - default=false) GCERegionalPersistentDisk=true|false (BETA - default=true) HugePages=true|false (BETA - default=true) HyperVContainer=true|false (ALPHA - default=false) Initializers=true|false (ALPHA - default=false) LocalStorageCapacityIsolation=true|false (BETA - default=true) MountContainers=true|false (ALPHA - default=false) MountPropagation=true|false (BETA - default=true) PersistentLocalVolumes=true|false (BETA - default=true) PodPriority=true|false (ALPHA - default=false) PodShareProcessNamespace=true|false (ALPHA - default=false) ReadOnlyAPIDataVolumes=true|false (DEPRECATED - default=true) ResourceLimitsPriorityFunction=true|false (ALPHA - default=false) RotateKubeletClientCertificate=true|false (BETA - default=true) RotateKubeletServerCertificate=true|false (ALPHA - default=false) RunAsGroup=true|false (ALPHA - default=false) ScheduleDaemonSetPods=true|false (ALPHA - default=false) ServiceNodeExclusion=true|false (ALPHA - default=false) ServiceProxyAllowExternalIPs=true|false (DEPRECATED - default=false) StorageObjectInUseProtection=true|false (BETA - default=true) StreamingProxyRedirects=true|false (BETA - default=true) SupportIPVSProxyMode=true|false (BETA - default=true) SupportPodPidsLimit=true|false (ALPHA - default=false) TaintBasedEvictions=true|false (ALPHA - default=false) TaintNodesByCondition=true|false (ALPHA - default=false) TokenRequest=true|false (ALPHA - default=false) VolumeScheduling=true|false (BETA - default=true) VolumeSubpath=true|false (default=true) |
+ |
| --flex-volume-plugin-dir string Default: "/usr/libexec/kubernetes/kubelet-plugins/volume/exec/" | +|
| Full path of the directory in which the flex volume plugin should search for additional third party volume plugins. | +|
| -h, --help | +|
| help for kube-controller-manager | +|
| --horizontal-pod-autoscaler-downscale-delay duration Default: 5m0s | +|
| The period since last downscale, before another downscale can be performed in horizontal pod autoscaler. | +|
| --horizontal-pod-autoscaler-sync-period duration Default: 30s | +|
| The period for syncing the number of pods in horizontal pod autoscaler. | +|
| --horizontal-pod-autoscaler-tolerance float Default: 0.1 | +|
| The minimum change (from 1.0) in the desired-to-actual metrics ratio for the horizontal pod autoscaler to consider scaling. | +|
| --horizontal-pod-autoscaler-upscale-delay duration Default: 3m0s | +|
| The period since last upscale, before another upscale can be performed in horizontal pod autoscaler. | +|
| --horizontal-pod-autoscaler-use-rest-clients Default: true | +|
| WARNING: alpha feature. If set to true, causes the horizontal pod autoscaler controller to use REST clients through the kube-aggregator, instead of using the legacy metrics client through the API server proxy. This is required for custom metrics support in the horizontal pod autoscaler. | +|
| --http2-max-streams-per-connection int | +|
| The limit that the server gives to clients for the maximum number of streams in an HTTP/2 connection. Zero means to use golang's default. | +|
| --insecure-experimental-approve-all-kubelet-csrs-for-group string | +|
| This flag does nothing. | +|
| --kube-api-burst int32 Default: 30 | +|
| Burst to use while talking with kubernetes apiserver. | +|
| --kube-api-content-type string Default: "application/vnd.kubernetes.protobuf" | +|
| Content type of requests sent to apiserver. | +|
| --kube-api-qps float32 Default: 20 | +|
| QPS to use while talking with kubernetes apiserver. | +|
| --kubeconfig string | +|
| Path to kubeconfig file with authorization and master location information. | +|
| --large-cluster-size-threshold int32 Default: 50 | +|
| Number of nodes from which NodeController treats the cluster as large for the eviction logic purposes. --secondary-node-eviction-rate is implicitly overridden to 0 for clusters this size or smaller. | +|
| --leader-elect Default: true | +|
| Start a leader election client and gain leadership before executing the main loop. Enable this when running replicated components for high availability. | +|
| --leader-elect-lease-duration duration Default: 15s | +|
| 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. | +|
| --leader-elect-renew-deadline duration Default: 10s | +|
| 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. | +|
| --leader-elect-resource-lock endpoints Default: "endpoints" | +|
| The type of resource object that is used for locking during leader election. Supported options are endpoints (default) and `configmaps`. | +|
| --leader-elect-retry-period duration Default: 2s | +|
| The duration the clients should wait between attempting acquisition and renewal of a leadership. This is only applicable if leader election is enabled. | +|
| --log-flush-frequency duration Default: 5s | +|
| Maximum number of seconds between log flushes | +|
| --master string | +|
| The address of the Kubernetes API server (overrides any value in kubeconfig). | +|
| --min-resync-period duration Default: 12h0m0s | +|
| The resync period in reflectors will be random between MinResyncPeriod and 2*MinResyncPeriod. | +|
| --namespace-sync-period duration Default: 5m0s | +|
| The period for syncing namespace life-cycle updates | +|
| --node-cidr-mask-size int32 Default: 24 | +|
| Mask size for node cidr in cluster. | +|
| --node-eviction-rate float32 Default: 0.1 | +|
| Number of nodes per second on which pods are deleted in case of node failure when a zone is healthy (see --unhealthy-zone-threshold for definition of healthy/unhealthy). Zone refers to entire cluster in non-multizone clusters. | +|
| --node-monitor-grace-period duration Default: 40s | +|
| Amount of time which we allow running Node to be unresponsive before marking it unhealthy. Must be N times more than kubelet's nodeStatusUpdateFrequency, where N means number of retries allowed for kubelet to post node status. | +|
| --node-monitor-period duration Default: 5s | +|
| The period for syncing NodeStatus in NodeController. | +|
| --node-startup-grace-period duration Default: 1m0s | +|
| Amount of time which we allow starting Node to be unresponsive before marking it unhealthy. | +|
| --pod-eviction-timeout duration Default: 5m0s | +|
| The grace period for deleting pods on failed nodes. | +|
| --port int Default: 10252 | +|
| DEPRECATED: the port on which to serve HTTP insecurely without authentication and authorization. If 0, don't serve HTTPS at all. See --secure-port instead. | +|
| --profiling Default: true | +|
| Enable profiling via web interface host:port/debug/pprof/ | +|
| --pv-recycler-increment-timeout-nfs int32 Default: 30 | +|
| the increment of time added per Gi to ActiveDeadlineSeconds for an NFS scrubber pod | +|
| --pv-recycler-minimum-timeout-hostpath int32 Default: 60 | +|
| The minimum ActiveDeadlineSeconds to use for a HostPath Recycler pod. This is for development and testing only and will not work in a multi-node cluster. | +|
| --pv-recycler-minimum-timeout-nfs int32 Default: 300 | +|
| The minimum ActiveDeadlineSeconds to use for an NFS Recycler pod | +|
| --pv-recycler-pod-template-filepath-hostpath string | +|
| The file path to a pod definition used as a template for HostPath persistent volume recycling. This is for development and testing only and will not work in a multi-node cluster. | +|
| --pv-recycler-pod-template-filepath-nfs string | +|
| The file path to a pod definition used as a template for NFS persistent volume recycling | +|
| --pv-recycler-timeout-increment-hostpath int32 Default: 30 | +|
| the increment of time added per Gi to ActiveDeadlineSeconds for a HostPath scrubber pod. This is for development and testing only and will not work in a multi-node cluster. | +|
| --pvclaimbinder-sync-period duration Default: 15s | +|
| The period for syncing persistent volumes and persistent volume claims | +|
| --resource-quota-sync-period duration Default: 5m0s | +|
| The period for syncing quota usage status in the system | +|
| --root-ca-file string | +|
| If set, this root certificate authority will be included in service account's token secret. This must be a valid PEM-encoded CA bundle. | +|
| --route-reconciliation-period duration Default: 10s | +|
| The period for reconciling routes created for Nodes by cloud provider. | +|
| --secondary-node-eviction-rate float32 Default: 0.01 | +|
| Number of nodes per second on which pods are deleted in case of node failure when a zone is unhealthy (see --unhealthy-zone-threshold for definition of healthy/unhealthy). Zone refers to entire cluster in non-multizone clusters. This value is implicitly overridden to 0 if the cluster size is smaller than --large-cluster-size-threshold. | +|
| --secure-port int | +|
| The port on which to serve HTTPS with authentication and authorization. If 0, don't serve HTTPS at all. | +|
| --service-account-private-key-file string | +|
| Filename containing a PEM-encoded private RSA or ECDSA key used to sign service account tokens. | +|
| --service-cluster-ip-range string | +|
| CIDR Range for Services in cluster. Requires --allocate-node-cidrs to be true | +|
| --terminated-pod-gc-threshold int32 Default: 12500 | +|
| Number of terminated pods that can exist before the terminated pod garbage collector starts deleting terminated pods. If <= 0, the terminated pod garbage collector is disabled. | +|
| --tls-cert-file string | +|
| File containing the default x509 Certificate for HTTPS. (CA cert, if any, concatenated after server cert). If HTTPS serving is enabled, and --tls-cert-file and --tls-private-key-file are not provided, a self-signed certificate and key are generated for the public address and saved to the directory specified by --cert-dir. | +|
| --tls-cipher-suites stringSlice | +|
| Comma-separated list of cipher suites for the server. Values are from tls package constants (https://golang.org/pkg/crypto/tls/#pkg-constants). If omitted, the default Go cipher suites will be used | +|
| --tls-min-version string | +|
| Minimum TLS version supported. Value must match version names from https://golang.org/pkg/crypto/tls/#pkg-constants. | +|
| --tls-private-key-file string | +|
| File containing the default x509 private key matching --tls-cert-file. | +|
| --tls-sni-cert-key namedCertKey Default: [] | +|
| A pair of x509 certificate and private key file paths, optionally suffixed with a list of domain patterns which are fully qualified domain names, possibly with prefixed wildcard segments. If no domain patterns are provided, the names of the certificate are extracted. Non-wildcard matches trump over wildcard matches, explicit domain patterns trump over extracted names. For multiple key/certificate pairs, use the --tls-sni-cert-key multiple times. Examples: "example.crt,example.key" or "foo.crt,foo.key:*.foo.com,foo.com". | +|
| --unhealthy-zone-threshold float32 Default: 0.55 | +|
| Fraction of Nodes in a zone which needs to be not Ready (minimum 3) for zone to be treated as unhealthy. | +|
| --use-service-account-credentials | +|
| If true, use individual service account credentials for each controller. | +|
| --version version[=true] | +|
| Print version information and quit | +|
| --azure-container-registry-config string | +|
| Path to the file containing Azure container registry configuration information. | +|
| --bind-address 0.0.0.0 Default: 0.0.0.0 | +|
| The IP address for the proxy server to serve on (set to 0.0.0.0 for all IPv4 interfaces and `::` for all IPv6 interfaces) | +|
| --cleanup | +|
| If true cleanup iptables and ipvs rules and exit. | +|
| --cleanup-ipvs Default: true | +|
| If true make kube-proxy cleanup ipvs rules before running. Default is true | +|
| --cluster-cidr string | +|
| The CIDR range of pods in the cluster. When configured, traffic sent to a Service cluster IP from outside this range will be masqueraded and traffic sent from pods to an external LoadBalancer IP will be directed to the respective cluster IP instead | +|
| --config string | +|
| The path to the configuration file. | +|
| --config-sync-period duration Default: 15m0s | +|
| How often configuration from the apiserver is refreshed. Must be greater than 0. | +|
| --conntrack-max-per-core int32 Default: 32768 | +|
| Maximum number of NAT connections to track per CPU core (0 to leave the limit as-is and ignore conntrack-min). | +|
| --conntrack-min int32 Default: 131072 | +|
| Minimum number of conntrack entries to allocate, regardless of conntrack-max-per-core (set conntrack-max-per-core=0 to leave the limit as-is). | +|
| --conntrack-tcp-timeout-close-wait duration Default: 1h0m0s | +|
| NAT timeout for TCP connections in the CLOSE_WAIT state | +|
| --conntrack-tcp-timeout-established duration Default: 24h0m0s | +|
| Idle timeout for established TCP connections (0 to leave as-is) | +|
| --feature-gates mapStringBool | +|
| A set of key=value pairs that describe feature gates for alpha/experimental features. Options are: APIListChunking=true|false (BETA - default=true) APIResponseCompression=true|false (ALPHA - default=false) Accelerators=true|false (ALPHA - default=false) AdvancedAuditing=true|false (BETA - default=true) AllAlpha=true|false (ALPHA - default=false) AppArmor=true|false (BETA - default=true) BlockVolume=true|false (ALPHA - default=false) CPUManager=true|false (BETA - default=true) CRIContainerLogRotation=true|false (ALPHA - default=false) CSIPersistentVolume=true|false (BETA - default=true) CustomPodDNS=true|false (BETA - default=true) CustomResourceSubresources=true|false (ALPHA - default=false) CustomResourceValidation=true|false (BETA - default=true) DebugContainers=true|false (ALPHA - default=false) DevicePlugins=true|false (BETA - default=true) DynamicKubeletConfig=true|false (ALPHA - default=false) EnableEquivalenceClassCache=true|false (ALPHA - default=false) ExpandPersistentVolumes=true|false (ALPHA - default=false) ExperimentalCriticalPodAnnotation=true|false (ALPHA - default=false) ExperimentalHostUserNamespaceDefaulting=true|false (BETA - default=false) GCERegionalPersistentDisk=true|false (BETA - default=true) HugePages=true|false (BETA - default=true) HyperVContainer=true|false (ALPHA - default=false) Initializers=true|false (ALPHA - default=false) LocalStorageCapacityIsolation=true|false (BETA - default=true) MountContainers=true|false (ALPHA - default=false) MountPropagation=true|false (BETA - default=true) PersistentLocalVolumes=true|false (BETA - default=true) PodPriority=true|false (ALPHA - default=false) PodShareProcessNamespace=true|false (ALPHA - default=false) ReadOnlyAPIDataVolumes=true|false (DEPRECATED - default=true) ResourceLimitsPriorityFunction=true|false (ALPHA - default=false) RotateKubeletClientCertificate=true|false (BETA - default=true) RotateKubeletServerCertificate=true|false (ALPHA - default=false) RunAsGroup=true|false (ALPHA - default=false) ScheduleDaemonSetPods=true|false (ALPHA - default=false) ServiceNodeExclusion=true|false (ALPHA - default=false) ServiceProxyAllowExternalIPs=true|false (DEPRECATED - default=false) StorageObjectInUseProtection=true|false (BETA - default=true) StreamingProxyRedirects=true|false (BETA - default=true) SupportIPVSProxyMode=true|false (BETA - default=true) SupportPodPidsLimit=true|false (ALPHA - default=false) TaintBasedEvictions=true|false (ALPHA - default=false) TaintNodesByCondition=true|false (ALPHA - default=false) TokenRequest=true|false (ALPHA - default=false) VolumeScheduling=true|false (BETA - default=true) VolumeSubpath=true|false (default=true) |
+ |
| --healthz-bind-address 0.0.0.0 Default: 0.0.0.0:10256 | +|
| The IP address and port for the health check server to serve on (set to 0.0.0.0 for all IPv4 interfaces and `::` for all IPv6 interfaces) | +|
| --healthz-port int32 Default: 10256 | +|
| The port to bind the health check server. Use 0 to disable. | +|
| -h, --help | +|
| help for kube-proxy | +|
| --hostname-override string | +|
| If non-empty, will use this string as identification instead of the actual hostname. | +|
| --iptables-masquerade-bit int32 Default: 14 | +|
| If using the pure iptables proxy, the bit of the fwmark space to mark packets requiring SNAT with. Must be within the range [0, 31]. | +|
| --iptables-min-sync-period duration | +|
| The minimum interval of how often the iptables rules can be refreshed as endpoints and services change (e.g. '5s', '1m', '2h22m'). | +|
| --iptables-sync-period duration Default: 30s | +|
| The maximum interval of how often iptables rules are refreshed (e.g. '5s', '1m', '2h22m'). Must be greater than 0. | +|
| --ipvs-min-sync-period duration | +|
| The minimum interval of how often the ipvs rules can be refreshed as endpoints and services change (e.g. '5s', '1m', '2h22m'). | +|
| --ipvs-scheduler string | +|
| The ipvs scheduler type when proxy mode is ipvs | +|
| --ipvs-sync-period duration Default: 30s | +|
| The maximum interval of how often ipvs rules are refreshed (e.g. '5s', '1m', '2h22m'). Must be greater than 0. | +|
| --kube-api-burst int32 Default: 10 | +|
| Burst to use while talking with kubernetes apiserver | +|
| --kube-api-content-type string Default: "application/vnd.kubernetes.protobuf" | +|
| Content type of requests sent to apiserver. | +|
| --kube-api-qps float32 Default: 5 | +|
| QPS to use while talking with kubernetes apiserver | +|
| --kubeconfig string | +|
| Path to kubeconfig file with authorization information (the master location is set by the master flag). | +|
| --log-flush-frequency duration Default: 5s | +|
| Maximum number of seconds between log flushes | +|
| --masquerade-all | +|
| If using the pure iptables proxy, SNAT all traffic sent via Service cluster IPs (this not commonly needed) | +|
| --master string | +|
| The address of the Kubernetes API server (overrides any value in kubeconfig) | +|
| --metrics-bind-address 0.0.0.0 Default: 127.0.0.1:10249 | +|
| The IP address and port for the metrics server to serve on (set to 0.0.0.0 for all IPv4 interfaces and `::` for all IPv6 interfaces) | +|
| --nodeport-addresses stringSlice | +|
| A string slice of values which specify the addresses to use for NodePorts. Values may be valid IP blocks (e.g. 1.2.3.0/24, 1.2.3.4/32). The default empty string slice ([]) means to use all local addresses. | +|
| --oom-score-adj int32 Default: -999 | +|
| The oom-score-adj value for kube-proxy process. Values must be within the range [-1000, 1000] | +|
| --profiling | +|
| If true enables profiling via web interface on /debug/pprof handler. | +|
| --proxy-mode ProxyMode | +|
| Which proxy mode to use: 'userspace' (older) or 'iptables' (faster) or 'ipvs' (experimental). If blank, use the best-available proxy (currently iptables). If the iptables proxy is selected, regardless of how, but the system's kernel or iptables versions are insufficient, this always falls back to the userspace proxy. | +|
| --proxy-port-range port-range | +|
| Range of host ports (beginPort-endPort, inclusive) that may be consumed in order to proxy service traffic. If unspecified (0-0) then ports will be randomly chosen. | +|
| --udp-timeout duration Default: 250ms | +|
| How long an idle UDP connection will be kept open (e.g. '250ms', '2s'). Must be greater than 0. Only applicable for proxy-mode=userspace | +|
| --version version[=true] | +|
| Print version information and quit | +|
| --write-config-to string | +|
| If set, write the default configuration values to this file and exit. | +|
| --address string | +|
| The IP address to serve on (set to 0.0.0.0 for all IPv4 interfaces and :: for all IPv6 interfaces). | +|
| --algorithm-provider string | +|
| The scheduling algorithm provider to use, one of: ClusterAutoscalerProvider | DefaultProvider | +|
| --azure-container-registry-config string | +|
| Path to the file containing Azure container registry configuration information. | +|
| --config string | +|
| The path to the configuration file. | +|
| --contention-profiling | +|
| Enable lock contention profiling, if profiling is enabled | +|
| --feature-gates mapStringBool | +|
| A set of key=value pairs that describe feature gates for alpha/experimental features. Options are: APIListChunking=true|false (BETA - default=true) APIResponseCompression=true|false (ALPHA - default=false) Accelerators=true|false (ALPHA - default=false) AdvancedAuditing=true|false (BETA - default=true) AllAlpha=true|false (ALPHA - default=false) AppArmor=true|false (BETA - default=true) BlockVolume=true|false (ALPHA - default=false) CPUManager=true|false (BETA - default=true) CRIContainerLogRotation=true|false (ALPHA - default=false) CSIPersistentVolume=true|false (BETA - default=true) CustomPodDNS=true|false (BETA - default=true) CustomResourceSubresources=true|false (ALPHA - default=false) CustomResourceValidation=true|false (BETA - default=true) DebugContainers=true|false (ALPHA - default=false) DevicePlugins=true|false (BETA - default=true) DynamicKubeletConfig=true|false (ALPHA - default=false) EnableEquivalenceClassCache=true|false (ALPHA - default=false) ExpandPersistentVolumes=true|false (ALPHA - default=false) ExperimentalCriticalPodAnnotation=true|false (ALPHA - default=false) ExperimentalHostUserNamespaceDefaulting=true|false (BETA - default=false) GCERegionalPersistentDisk=true|false (BETA - default=true) HugePages=true|false (BETA - default=true) HyperVContainer=true|false (ALPHA - default=false) Initializers=true|false (ALPHA - default=false) LocalStorageCapacityIsolation=true|false (BETA - default=true) MountContainers=true|false (ALPHA - default=false) MountPropagation=true|false (BETA - default=true) PersistentLocalVolumes=true|false (BETA - default=true) PodPriority=true|false (ALPHA - default=false) PodShareProcessNamespace=true|false (ALPHA - default=false) ReadOnlyAPIDataVolumes=true|false (DEPRECATED - default=true) ResourceLimitsPriorityFunction=true|false (ALPHA - default=false) RotateKubeletClientCertificate=true|false (BETA - default=true) RotateKubeletServerCertificate=true|false (ALPHA - default=false) RunAsGroup=true|false (ALPHA - default=false) ScheduleDaemonSetPods=true|false (ALPHA - default=false) ServiceNodeExclusion=true|false (ALPHA - default=false) ServiceProxyAllowExternalIPs=true|false (DEPRECATED - default=false) StorageObjectInUseProtection=true|false (BETA - default=true) StreamingProxyRedirects=true|false (BETA - default=true) SupportIPVSProxyMode=true|false (BETA - default=true) SupportPodPidsLimit=true|false (ALPHA - default=false) TaintBasedEvictions=true|false (ALPHA - default=false) TaintNodesByCondition=true|false (ALPHA - default=false) TokenRequest=true|false (ALPHA - default=false) VolumeScheduling=true|false (BETA - default=true) VolumeSubpath=true|false (default=true) |
+ |
| -h, --help | +|
| help for kube-scheduler | +|
| --kube-api-burst int32 Default: 100 | +|
| Burst to use while talking with kubernetes apiserver | +|
| --kube-api-content-type string Default: "application/vnd.kubernetes.protobuf" | +|
| Content type of requests sent to apiserver. | +|
| --kube-api-qps float32 Default: 50 | +|
| QPS to use while talking with kubernetes apiserver | +|
| --kubeconfig string | +|
| Path to kubeconfig file with authorization and master location information. | +|
| --leader-elect Default: true | +|
| Start a leader election client and gain leadership before executing the main loop. Enable this when running replicated components for high availability. | +|
| --leader-elect-lease-duration duration Default: 15s | +|
| 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. | +|
| --leader-elect-renew-deadline duration Default: 10s | +|
| 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. | +|
| --leader-elect-resource-lock endpoints Default: "endpoints" | +|
| The type of resource object that is used for locking during leader election. Supported options are endpoints (default) and `configmaps`. | +|
| --leader-elect-retry-period duration Default: 2s | +|
| The duration the clients should wait between attempting acquisition and renewal of a leadership. This is only applicable if leader election is enabled. | +|
| --lock-object-name string Default: "kube-scheduler" | +|
| Define the name of the lock object. | +|
| --lock-object-namespace string Default: "kube-system" | +|
| Define the namespace of the lock object. | +|
| --log-flush-frequency duration Default: 5s | +|
| Maximum number of seconds between log flushes | +|
| --master string | +|
| The address of the Kubernetes API server (overrides any value in kubeconfig) | +|
| --policy-config-file string | +|
| File with scheduler policy configuration. This file is used if policy ConfigMap is not provided or --use-legacy-policy-config==true | +|
| --policy-configmap string | +|
| Name of the ConfigMap object that contains scheduler's policy configuration. It must exist in the system namespace before scheduler initialization if --use-legacy-policy-config==false. The config must be provided as the value of an element in 'Data' map with the key='policy.cfg' | +|
| --policy-configmap-namespace string | +|
| The namespace where policy ConfigMap is located. The system namespace will be used if this is not provided or is empty. | +|
| --port int32 Default: 10251 | +|
| The port that the scheduler's http service runs on | +|
| --profiling | +|
| Enable profiling via web interface host:port/debug/pprof/ | +|
| --scheduler-name string Default: "default-scheduler" | +|
| Name of the scheduler, used to select which pods will be processed by this scheduler, based on pod's "spec.SchedulerName". | +|
| --use-legacy-policy-config | +|
| When set to true, scheduler will ignore policy ConfigMap and uses policy config file | +|
| --version version[=true] | +|
| Print version information and quit | +|
| --address 0.0.0.0 Default: 0.0.0.0 | +|
| The IP address for the Kubelet to serve on (set to 0.0.0.0 for all IPv4 interfaces and `::` for all IPv6 interfaces) | +|
| --allow-privileged | +|
| If true, allow containers to request privileged mode. | +|
| --anonymous-auth Default: true | +|
| Enables anonymous requests to the Kubelet server. Requests that are not rejected by another authentication method are treated as anonymous requests. Anonymous requests have a username of system:anonymous, and a group name of system:unauthenticated. | +|
| --authentication-token-webhook | +|
| Use the TokenReview API to determine authentication for bearer tokens. | +|
| --authentication-token-webhook-cache-ttl duration Default: 2m0s | +|
| The duration to cache responses from the webhook token authenticator. | +|
| --authorization-mode string Default: "AlwaysAllow" | +|
| Authorization mode for Kubelet server. Valid options are AlwaysAllow or Webhook. Webhook mode uses the SubjectAccessReview API to determine authorization. | +|
| --authorization-webhook-cache-authorized-ttl duration Default: 5m0s | +|
| The duration to cache 'authorized' responses from the webhook authorizer. | +|
| --authorization-webhook-cache-unauthorized-ttl duration Default: 30s | +|
| The duration to cache 'unauthorized' responses from the webhook authorizer. | +|
| --azure-container-registry-config string | +|
| Path to the file container Azure container registry configuration information. | +|
| --bootstrap-checkpoint-path string | +|
| --bootstrap-kubeconfig string | +|
| Path to a kubeconfig file that will be used to get client certificate for kubelet. If the file specified by --kubeconfig does not exist, the bootstrap kubeconfig is used to request a client certificate from the API server. On success, a kubeconfig file referencing the generated client certificate and key is written to the path specified by --kubeconfig. The client certificate and key file will be stored in the directory pointed by --cert-dir. | +|
| --cadvisor-port int32 Default: 4194 | +|
| The port of the localhost cAdvisor endpoint (set to 0 to disable) | +|
| --cert-dir string Default: "/var/lib/kubelet/pki" | +|
| The directory where the TLS certs are located. If --tls-cert-file and --tls-private-key-file are provided, this flag will be ignored. | +|
| --cgroup-driver string Default: "cgroupfs" | +|
| Driver that the kubelet uses to manipulate cgroups on the host. Possible values: 'cgroupfs', 'systemd' | +|
| --cgroup-root string | +|
| Optional root cgroup to use for pods. This is handled by the container runtime on a best effort basis. Default: '', which means use the container runtime default. | +|
| --cgroups-per-qos Default: true | +|
| Enable creation of QoS cgroup hierarchy, if true top level QoS and pod cgroups are created. | +|
| --chaos-chance float | +|
| If > 0.0, introduce random client errors and latency. Intended for testing. | +|
| --client-ca-file string | +|
| If set, any request presenting a client certificate signed by one of the authorities in the client-ca-file is authenticated with an identity corresponding to the CommonName of the client certificate. | +|
| --cloud-config string | +|
| The path to the cloud provider configuration file. Empty string for no configuration file. | +|
| --cloud-provider string | +|
| The provider for cloud services. Specify empty string for running with no cloud provider. | +|
| --cluster-dns stringSlice | +|
| Comma-separated list of DNS server IP address. This value is used for containers DNS server in case of Pods with "dnsPolicy=ClusterFirst". Note: all DNS servers appearing in the list MUST serve the same set of records otherwise name resolution within the cluster may not work correctly. There is no guarantee as to which DNS server may be contacted for name resolution. | +|
| --cluster-domain string | +|
| Domain for this cluster. If set, kubelet will configure all containers to search this domain in addition to the host's search domains | +|
| --cni-bin-dir string | +|
| --cni-conf-dir string | +|
| --config string | +|
| The Kubelet will load its initial configuration from this file. The path may be absolute or relative; relative paths start at the Kubelet's current working directory. Omit this flag to use the built-in default configuration values. You must also enable the KubeletConfigFile feature gate to pass this flag. | +|
| --container-runtime string Default: "docker" | +|
| The container runtime to use. Possible values: 'docker', 'rkt'. | +|
| --container-runtime-endpoint string Default: "unix:///var/run/dockershim.sock" | +|
| [Experimental] The endpoint of remote runtime service. Currently unix socket is supported on Linux, and tcp is supported on windows. Examples:'unix:///var/run/dockershim.sock', 'tcp://localhost:3735' | +|
| --containerized | +|
| Experimental support for running kubelet in a container. Intended for testing. | +|
| --contention-profiling | +|
| Enable lock contention profiling, if profiling is enabled | +|
| --cpu-cfs-quota Default: true | +|
| Enable CPU CFS quota enforcement for containers that specify CPU limits | +|
| --cpu-manager-policy string Default: "none" | +|
| --cpu-manager-reconcile-period NodeStatusUpdateFrequency Default: 10s | +|
| --docker-disable-shared-pid Default: true | +|
| The Container Runtime Interface (CRI) defaults to using a shared PID namespace for containers in a pod when running with Docker 1.13.1 or higher. Setting this flag reverts to the previous behavior of isolated PID namespaces. This ability will be removed in a future Kubernetes release. | +|
| --docker-endpoint string Default: "unix:///var/run/docker.sock" | +|
| Use this for the docker endpoint to communicate with | +|
| --dynamic-config-dir string | +|
| The Kubelet will use this directory for checkpointing downloaded configurations and tracking configuration health. The Kubelet will create this directory if it does not already exist. The path may be absolute or relative; relative paths start at the Kubelet's current working directory. Providing this flag enables dynamic Kubelet configuration. Presently, you must also enable the DynamicKubeletConfig feature gate to pass this flag. | +|
| --enable-controller-attach-detach Default: true | +|
| Enables the Attach/Detach controller to manage attachment/detachment of volumes scheduled to this node, and disables kubelet from executing any attach/detach operations | +|
| --enable-debugging-handlers Default: true | +|
| Enables server endpoints for log collection and local running of containers and commands | +|
| --enable-server Default: true | +|
| Enable the Kubelet's server | +|
| --enforce-node-allocatable stringSlice Default: [pods] | +|
| A comma separated list of levels of node allocatable enforcement to be enforced by kubelet. Acceptible options are 'pods', 'system-reserved' & 'kube-reserved'. If the latter two options are specified, '--system-reserved-cgroup' & '--kube-reserved-cgroup' must also be set respectively. See https://kubernetes.io/docs/tasks/administer-cluster/reserve-compute-resources/ for more details. | +|
| --event-burst int32 Default: 10 | +|
| Maximum size of a bursty event records, temporarily allows event records to burst to this number, while still not exceeding event-qps. Only used if --event-qps > 0 | +|
| --event-qps int32 Default: 5 | +|
| If > 0, limit event creations per second to this value. If 0, unlimited. | +|
| --eviction-hard mapStringString Default: imagefs.available<15%!,(MISSING)memory.available<100Mi,nodefs.available<10%!,(MISSING)nodefs.inodesFree<5%!<(MISSING)/td> + | |
| A set of eviction thresholds (e.g. memory.available<1Gi) that if met would trigger a pod eviction. | +|
| --eviction-max-pod-grace-period int32 | +|
| Maximum allowed grace period (in seconds) to use when terminating pods in response to a soft eviction threshold being met. If negative, defer to pod specified value. | +|
| --eviction-minimum-reclaim mapStringString | +|
| A set of minimum reclaims (e.g. imagefs.available=2Gi) that describes the minimum amount of resource the kubelet will reclaim when performing a pod eviction if that resource is under pressure. | +|
| --eviction-pressure-transition-period duration Default: 5m0s | +|
| Duration for which the kubelet has to wait before transitioning out of an eviction pressure condition. | +|
| --eviction-soft mapStringString | +|
| A set of eviction thresholds (e.g. memory.available<1.5Gi) that if met over a corresponding grace period would trigger a pod eviction. | +|
| --eviction-soft-grace-period mapStringString | +|
| A set of eviction grace periods (e.g. memory.available=1m30s) that correspond to how long a soft eviction threshold must hold before triggering a pod eviction. | +|
| --exit-on-lock-contention | +|
| Whether kubelet should exit upon lock-file contention. | +|
| --experimental-allocatable-ignore-eviction | +|
| When set to 'true', Hard Eviction Thresholds will be ignored while calculating Node Allocatable. See https://kubernetes.io/docs/tasks/administer-cluster/reserve-compute-resources/ for more details. [default=false] | +|
| --experimental-allowed-unsafe-sysctls stringSlice | +|
| Comma-separated whitelist of unsafe sysctls or unsafe sysctl patterns (ending in *). Use these at your own risk. | +|
| --experimental-bootstrap-kubeconfig string | +|
| deprecated: use --bootstrap-kubeconfig | +|
| --experimental-check-node-capabilities-before-mount | +|
| [Experimental] if set true, the kubelet will check the underlying node for required componenets (binaries, etc.) before performing the mount | +|
| --experimental-kernel-memcg-notification | +|
| If enabled, the kubelet will integrate with the kernel memcg notification to determine if memory eviction thresholds are crossed rather than polling. | +|
| --experimental-mounter-path string | +|
| [Experimental] Path of mounter binary. Leave empty to use the default mount. | +|
| --experimental-qos-reserved mapStringString | +|
| A set of ResourceName=Percentage (e.g. memory=50%!)(MISSING) pairs that describe how pod resource requests are reserved at the QoS level. Currently only memory is supported. [default=none] | +|
| --fail-swap-on Default: true | +|
| Makes the Kubelet fail to start if swap is enabled on the node. | +|
| --feature-gates mapStringBool | +|
| A set of key=value pairs that describe feature gates for alpha/experimental features. Options are: APIListChunking=true|false (BETA - default=true) APIResponseCompression=true|false (ALPHA - default=false) Accelerators=true|false (ALPHA - default=false) AdvancedAuditing=true|false (BETA - default=true) AllAlpha=true|false (ALPHA - default=false) AllowExtTrafficLocalEndpoints=true|false (default=true) AppArmor=true|false (BETA - default=true) BlockVolume=true|false (ALPHA - default=false) CPUManager=true|false (BETA - default=true) CSIPersistentVolume=true|false (ALPHA - default=false) CustomPodDNS=true|false (ALPHA - default=false) CustomResourceValidation=true|false (BETA - default=true) DebugContainers=true|false (ALPHA - default=false) DevicePlugins=true|false (ALPHA - default=false) DynamicKubeletConfig=true|false (ALPHA - default=false) EnableEquivalenceClassCache=true|false (ALPHA - default=false) ExpandPersistentVolumes=true|false (ALPHA - default=false) ExperimentalCriticalPodAnnotation=true|false (ALPHA - default=false) ExperimentalHostUserNamespaceDefaulting=true|false (BETA - default=false) HugePages=true|false (BETA - default=true) Initializers=true|false (ALPHA - default=false) KubeletConfigFile=true|false (ALPHA - default=false) LocalStorageCapacityIsolation=true|false (ALPHA - default=false) MountContainers=true|false (ALPHA - default=false) MountPropagation=true|false (ALPHA - default=false) PVCProtection=true|false (ALPHA - default=false) PersistentLocalVolumes=true|false (ALPHA - default=false) PodPriority=true|false (ALPHA - default=false) ResourceLimitsPriorityFunction=true|false (ALPHA - default=false) RotateKubeletClientCertificate=true|false (BETA - default=true) RotateKubeletServerCertificate=true|false (ALPHA - default=false) ServiceNodeExclusion=true|false (ALPHA - default=false) StreamingProxyRedirects=true|false (BETA - default=true) SupportIPVSProxyMode=true|false (BETA - default=false) TaintBasedEvictions=true|false (ALPHA - default=false) TaintNodesByCondition=true|false (ALPHA - default=false) VolumeScheduling=true|false (ALPHA - default=false) |
+ |
| --file-check-frequency duration Default: 20s | +|
| Duration between checking config files for new data | +|
| --google-json-key string | +|
| The Google Cloud Platform Service Account JSON Key to use for authentication. | +|
| --hairpin-mode string Default: "promiscuous-bridge" | +|
| How should the kubelet setup hairpin NAT. This allows endpoints of a Service to loadbalance back to themselves if they should try to access their own Service. Valid values are "promiscuous-bridge", "hairpin-veth" and "none". | +|
| --healthz-bind-address 0.0.0.0 Default: 127.0.0.1 | +|
| The IP address for the healthz server to serve on (set to 0.0.0.0 for all IPv4 interfaces and `::` for all IPv6 interfaces) | +|
| --healthz-port int32 Default: 10248 | +|
| The port of the localhost healthz endpoint (set to 0 to disable) | +|
| --host-ipc-sources stringSlice Default: [*] | +|
| Comma-separated list of sources from which the Kubelet allows pods to use the host ipc namespace. | +|
| --host-network-sources stringSlice Default: [*] | +|
| Comma-separated list of sources from which the Kubelet allows pods to use of host network. | +|
| --host-pid-sources stringSlice Default: [*] | +|
| Comma-separated list of sources from which the Kubelet allows pods to use the host pid namespace. | +|
| --hostname-override string | +|
| If non-empty, will use this string as identification instead of the actual hostname. | +|
| --http-check-frequency duration Default: 20s | +|
| Duration between checking http for new data | +|
| --image-gc-high-threshold int32 Default: 85 | +|
| The percent of disk usage after which image garbage collection is always run. | +|
| --image-gc-low-threshold int32 Default: 80 | +|
| The percent of disk usage before which image garbage collection is never run. Lowest disk usage to garbage collect to. | +|
| --image-pull-progress-deadline duration Default: 1m0s | +|
| If no pulling progress is made before this deadline, the image pulling will be cancelled. | +|
| --image-service-endpoint string | +|
| [Experimental] The endpoint of remote image service. If not specified, it will be the same with container-runtime-endpoint by default. Currently unix socket is supported on Linux, and tcp is supported on windows. Examples:'unix:///var/run/dockershim.sock', 'tcp://localhost:3735' | +|
| --iptables-drop-bit int32 Default: 15 | +|
| The bit of the fwmark space to mark packets for dropping. Must be within the range [0, 31]. | +|
| --iptables-masquerade-bit int32 Default: 14 | +|
| The bit of the fwmark space to mark packets for SNAT. Must be within the range [0, 31]. Please match this parameter with corresponding parameter in kube-proxy. | +|
| --kube-api-burst int32 Default: 10 | +|
| Burst to use while talking with kubernetes apiserver | +|
| --kube-api-content-type string Default: "application/vnd.kubernetes.protobuf" | +|
| Content type of requests sent to apiserver. | +|
| --kube-api-qps int32 Default: 5 | +|
| QPS to use while talking with kubernetes apiserver | +|
| --kube-reserved mapStringString | +|
| A set of ResourceName=ResourceQuantity (e.g. cpu=200m,memory=500Mi,ephemeral-storage=1Gi) pairs that describe resources reserved for kubernetes system components. Currently cpu, memory and local ephemeral storage for root file system are supported. See http://kubernetes.io/docs/user-guide/compute-resources for more detail. [default=none] | +|
| --kube-reserved-cgroup string | +|
| Absolute name of the top level cgroup that is used to manage kubernetes components for which compute resources were reserved via '--kube-reserved' flag. Ex. '/kube-reserved'. [default=''] | +|
| --kubeconfig string Default: "/var/lib/kubelet/kubeconfig" | +|
| Path to a kubeconfig file, specifying how to connect to the API server. | +|
| --kubelet-cgroups string | +|
| Optional absolute name of cgroups to create and run the Kubelet in. | +|
| --lock-file string | +|
| --make-iptables-util-chains Default: true | +|
| If true, kubelet will ensure iptables utility rules are present on host. | +|
| --manifest-url string | +|
| URL for accessing the container manifest | +|
| --manifest-url-header --manifest-url-header 'a:hello,b:again,c:world' --manifest-url-header 'b:beautiful' | +|
| Comma-separated list of HTTP headers to use when accessing the manifest URL. Multiple headers with the same name will be added in the same order provided. This flag can be repeatedly invoked. For example: --manifest-url-header 'a:hello,b:again,c:world' --manifest-url-header 'b:beautiful' | +|
| --max-open-files int Default: 1000000 | +|
| Number of files that can be opened by Kubelet process. | +|
| --max-pods int32 Default: 110 | +|
| Number of Pods that can run on this Kubelet. | +|
| --minimum-image-ttl-duration duration Default: 2m0s | +|
| Minimum age for an unused image before it is garbage collected. Examples: '300ms', '10s' or '2h45m'. | +|
| --network-plugin string | +|
| --network-plugin-mtu int32 | +|
| --node-ip string | +|
| IP address of the node. If set, kubelet will use this IP address for the node | +|
| --node-labels mapStringString | +|
| --node-status-update-frequency duration Default: 10s | +|
| Specifies how often kubelet posts node status to master. Note: be cautious when changing the constant, it must work with nodeMonitorGracePeriod in nodecontroller. | +|
| --oom-score-adj int32 Default: -999 | +|
| The oom-score-adj value for kubelet process. Values must be within the range [-1000, 1000] | +|
| --pod-cidr string | +|
| The CIDR to use for pod IP addresses, only used in standalone mode. In cluster mode, this is obtained from the master. | +|
| --pod-infra-container-image string Default: "gcr.io/google_containers/pause-amd64:3.1" | +|
| The image whose network/ipc namespaces containers in each pod will use. | +|
| --pod-manifest-path string | +|
| Path to the directory containing pod manifest files to run, or the path to a single pod manifest file. Files starting with dots will be ignored. | +|
| --pods-per-core int32 | +|
| Number of Pods per core that can run on this Kubelet. The total number of Pods on this Kubelet cannot exceed max-pods, so max-pods will be used if this calculation results in a larger number of Pods allowed on the Kubelet. A value of 0 disables this limit. | +|
| --port int32 Default: 10250 | +|
| The port for the Kubelet to serve on. | +|
| --protect-kernel-defaults | +|
| Default kubelet behaviour for kernel tuning. If set, kubelet errors if any of kernel tunables is different than kubelet defaults. | +|
| --provider-id string | +|
| Unique identifier for identifying the node in a machine database, i.e cloudprovider | +|
| --read-only-port int32 Default: 10255 | +|
| The read-only port for the Kubelet to serve on with no authentication/authorization (set to 0 to disable) | +|
| --really-crash-for-testing | +|
| If true, when panics occur crash. Intended for testing. | +|
| --register-node Default: true | +|
| Register the node with the apiserver. If --kubeconfig is not provided, this flag is irrelevant, as the Kubelet won't have an apiserver to register with. Default=true. | +|
| --register-with-taints []api.Taint | +|
| Register the node with the given list of taints (comma separated " |
+ |
| --registry-burst int32 Default: 10 | +|
| Maximum size of a bursty pulls, temporarily allows pulls to burst to this number, while still not exceeding registry-qps. Only used if --registry-qps > 0 | +|
| --registry-qps int32 Default: 5 | +|
| If > 0, limit registry pull QPS to this value. If 0, unlimited. | +|
| --resolv-conf string Default: "/etc/resolv.conf" | +|
| Resolver configuration file used as the basis for the container DNS resolution configuration. | +|
| --rkt-api-endpoint string Default: "localhost:15441" | +|
| The endpoint of the rkt API service to communicate with. Only used if --container-runtime='rkt'. | +|
| --rkt-path string | +|
| Path of rkt binary. Leave empty to use the first rkt in $PATH. Only used if --container-runtime='rkt'. | +|
| --root-dir string Default: "/var/lib/kubelet" | +|
| Directory path for managing kubelet files (volume mounts,etc). | +|
| --rotate-certificates | +|
| --runonce | +|
| If true, exit after spawning pods from local manifests or remote urls. Exclusive with --enable-server | +|
| --runtime-cgroups string | +|
| Optional absolute name of cgroups to create and run the runtime in. | +|
| --runtime-request-timeout duration Default: 2m0s | +|
| Timeout of all runtime requests except long running request - pull, logs, exec and attach. When timeout exceeded, kubelet will cancel the request, throw out an error and retry later. | +|
| --seccomp-profile-root string Default: "/var/lib/kubelet/seccomp" | +|
| --serialize-image-pulls Default: true | +|
| Pull images one at a time. We recommend *not* changing the default value on nodes that run docker daemon with version < 1.9 or an Aufs storage backend. Issue #10959 has more details. | +|
| --streaming-connection-idle-timeout duration Default: 4h0m0s | +|
| Maximum time a streaming connection can be idle before the connection is automatically closed. 0 indicates no timeout. Example: '5m' | +|
| --sync-frequency duration Default: 1m0s | +|
| Max period between synchronizing running containers and config | +|
| --system-cgroups / | +|
| Optional absolute name of cgroups in which to place all non-kernel processes that are not already inside a cgroup under /. Empty for no container. Rolling back the flag requires a reboot. | +|
| --system-reserved mapStringString | +|
| A set of ResourceName=ResourceQuantity (e.g. cpu=200m,memory=500Mi,ephemeral-storage=1Gi) pairs that describe resources reserved for non-kubernetes components. Currently only cpu and memory are supported. See http://kubernetes.io/docs/user-guide/compute-resources for more detail. [default=none] | +|
| --system-reserved-cgroup string | +|
| Absolute name of the top level cgroup that is used to manage non-kubernetes components for which compute resources were reserved via '--system-reserved' flag. Ex. '/system-reserved'. [default=''] | +|
| --tls-cert-file string | +|
| File containing x509 Certificate used for serving HTTPS (with intermediate certs, if any, concatenated after server cert). If --tls-cert-file and --tls-private-key-file are not provided, a self-signed certificate and key are generated for the public address and saved to the directory passed to --cert-dir. | +|
| --tls-private-key-file string | +|
| File containing x509 private key matching --tls-cert-file. | +|
| --version version[=true] | +|
| Print version information and quit | +|
| --volume-plugin-dir string Default: "/usr/libexec/kubernetes/kubelet-plugins/volume/exec/" | +|
| --volume-stats-agg-period duration Default: 1m0s | +|
| Specifies interval for kubelet to calculate and cache the volume disk usage for all pods and volumes. To disable volume calculations, set to 0. | +|