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 index 17d1bee09c..ee8d7f1ed1 100644 --- 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 @@ -1,7 +1,7 @@ --- title: cloud-controller-manager content_template: templates/tool-reference -weight: 28 +weight: 30 --- {{% capture synopsis %}} @@ -18,518 +18,518 @@ cloud-controller-manager [flags] {{% capture options %}} -
--add-dir-header | -|
If true, adds the file directory to the header | -|
--allocate-node-cidrs | -|
Should CIDRs for Pods be allocated and set on the cloud provider. | -|
--alsologtostderr | -|
log to standard error as well as files | -|
--authentication-kubeconfig string | -|
kubeconfig file pointing at the 'core' kubernetes server with enough rights to create tokenreviews.authentication.k8s.io. This is optional. If empty, all token requests are considered to be anonymous and no client CA is looked up in the cluster. | -|
--authentication-skip-lookup | -|
If false, the authentication-kubeconfig will be used to lookup missing authentication configuration from the cluster. | -|
--authentication-token-webhook-cache-ttl duration Default: 10s | -|
The duration to cache responses from the webhook token authenticator. | -|
--authentication-tolerate-lookup-failure | -|
If true, failures to look up missing authentication configuration from the cluster are not considered fatal. Note that this can result in authentication that treats all requests as anonymous. | -|
--authorization-always-allow-paths stringSlice Default: [/healthz] | -|
A list of HTTP paths to skip during authorization, i.e. these are authorized without contacting the 'core' kubernetes server. | -|
--authorization-kubeconfig string | -|
kubeconfig file pointing at the 'core' kubernetes server with enough rights to create subjectaccessreviews.authorization.k8s.io. This is optional. If empty, all requests not skipped by authorization are forbidden. | -|
--authorization-webhook-cache-authorized-ttl duration Default: 10s | -|
The duration to cache 'authorized' responses from the webhook authorizer. | -|
--authorization-webhook-cache-unauthorized-ttl duration Default: 10s | -|
The duration to cache 'unauthorized' responses from the webhook authorizer. | -|
--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 or an unspecified address (0.0.0.0 or ::), all interfaces will be used. | -|
--cert-dir string | -|
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 | -|
--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. | -|
--cloud-provider-gce-l7lb-src-cidrs cidrs Default: 130.211.0.0/22,35.191.0.0/16 | -|
CIDRs opened in GCE firewall for L7 LB traffic proxy & health checks | -|
--cloud-provider-gce-lb-src-cidrs cidrs Default: 130.211.0.0/22,209.85.152.0/22,209.85.204.0/22,35.191.0.0/16 | -|
CIDRs opened in GCE firewall for L4 LB traffic proxy & health checks | -|
--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. | -|
--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: cloud-node, cloud-node-lifecycle, route, service Disabled-by-default controllers: |
- |
--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) APIPriorityAndFairness=true|false (ALPHA - default=false) APIResponseCompression=true|false (BETA - default=true) AllAlpha=true|false (ALPHA - default=false) AllBeta=true|false (BETA - default=false) AllowInsecureBackendProxy=true|false (BETA - default=true) AnyVolumeDataSource=true|false (ALPHA - default=false) AppArmor=true|false (BETA - default=true) BalanceAttachedNodeVolumes=true|false (ALPHA - default=false) BoundServiceAccountTokenVolume=true|false (ALPHA - default=false) CPUManager=true|false (BETA - default=true) CRIContainerLogRotation=true|false (BETA - default=true) CSIInlineVolume=true|false (BETA - default=true) CSIMigration=true|false (BETA - default=true) CSIMigrationAWS=true|false (BETA - default=false) CSIMigrationAWSComplete=true|false (ALPHA - default=false) CSIMigrationAzureDisk=true|false (ALPHA - default=false) CSIMigrationAzureDiskComplete=true|false (ALPHA - default=false) CSIMigrationAzureFile=true|false (ALPHA - default=false) CSIMigrationAzureFileComplete=true|false (ALPHA - default=false) CSIMigrationGCE=true|false (BETA - default=false) CSIMigrationGCEComplete=true|false (ALPHA - default=false) CSIMigrationOpenStack=true|false (BETA - default=false) CSIMigrationOpenStackComplete=true|false (ALPHA - default=false) ConfigurableFSGroupPolicy=true|false (ALPHA - default=false) CustomCPUCFSQuotaPeriod=true|false (ALPHA - default=false) DefaultIngressClass=true|false (BETA - default=true) DevicePlugins=true|false (BETA - default=true) DryRun=true|false (BETA - default=true) DynamicAuditing=true|false (ALPHA - default=false) DynamicKubeletConfig=true|false (BETA - default=true) EndpointSlice=true|false (BETA - default=true) EndpointSliceProxying=true|false (ALPHA - default=false) EphemeralContainers=true|false (ALPHA - default=false) EvenPodsSpread=true|false (BETA - default=true) ExpandCSIVolumes=true|false (BETA - default=true) ExpandInUsePersistentVolumes=true|false (BETA - default=true) ExpandPersistentVolumes=true|false (BETA - default=true) ExperimentalHostUserNamespaceDefaulting=true|false (BETA - default=false) HPAScaleToZero=true|false (ALPHA - default=false) HugePageStorageMediumSize=true|false (ALPHA - default=false) HyperVContainer=true|false (ALPHA - default=false) IPv6DualStack=true|false (ALPHA - default=false) ImmutableEphemeralVolumes=true|false (ALPHA - default=false) KubeletPodResources=true|false (BETA - default=true) LegacyNodeRoleBehavior=true|false (ALPHA - default=true) LocalStorageCapacityIsolation=true|false (BETA - default=true) LocalStorageCapacityIsolationFSQuotaMonitoring=true|false (ALPHA - default=false) NodeDisruptionExclusion=true|false (ALPHA - default=false) NonPreemptingPriority=true|false (ALPHA - default=false) PodDisruptionBudget=true|false (BETA - default=true) PodOverhead=true|false (BETA - default=true) ProcMountType=true|false (ALPHA - default=false) QOSReserved=true|false (ALPHA - default=false) RemainingItemCount=true|false (BETA - default=true) RemoveSelfLink=true|false (ALPHA - default=false) ResourceLimitsPriorityFunction=true|false (ALPHA - default=false) RotateKubeletClientCertificate=true|false (BETA - default=true) RotateKubeletServerCertificate=true|false (BETA - default=true) RunAsGroup=true|false (BETA - default=true) RuntimeClass=true|false (BETA - default=true) SCTPSupport=true|false (ALPHA - default=false) SelectorIndex=true|false (ALPHA - default=false) ServerSideApply=true|false (BETA - default=true) ServiceAccountIssuerDiscovery=true|false (ALPHA - default=false) ServiceAppProtocol=true|false (ALPHA - default=false) ServiceNodeExclusion=true|false (ALPHA - default=false) ServiceTopology=true|false (ALPHA - default=false) StartupProbe=true|false (BETA - default=true) StorageVersionHash=true|false (BETA - default=true) SupportNodePidsLimit=true|false (BETA - default=true) SupportPodPidsLimit=true|false (BETA - default=true) Sysctls=true|false (BETA - default=true) TTLAfterFinished=true|false (ALPHA - default=false) TokenRequest=true|false (BETA - default=true) TokenRequestProjection=true|false (BETA - default=true) TopologyManager=true|false (BETA - default=true) ValidateProxyRedirects=true|false (BETA - default=true) VolumeSnapshotDataSource=true|false (BETA - default=true) WinDSR=true|false (ALPHA - default=false) WinOverlay=true|false (ALPHA - default=false) |
- |
-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: "endpointsleases" | -|
The type of resource object that is used for locking during leader election. Supported options are endpoints (default) and `configmaps`. | -|
--leader-elect-resource-name string Default: "cloud-controller-manager" | -|
The name of resource object that is used for locking during leader election. | -|
--leader-elect-resource-namespace string Default: "kube-system" | -|
The namespace of resource object that is used for locking during leader election. | -|
--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-backtrace-at traceLocation Default: :0 | -|
when logging hits line file:N, emit a stack trace | -|
--log-dir string | -|
If non-empty, write log files in this directory | -|
--log-file string | -|
If non-empty, use this log file | -|
--log-file-max-size uint Default: 1800 | -|
Defines the maximum size a log file can grow to. Unit is megabytes. If the value is 0, the maximum file size is unlimited. | -|
--log-flush-frequency duration Default: 5s | -|
Maximum number of seconds between log flushes | -|
--logtostderr Default: true | -|
log to standard error instead of files | -|
--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. | -|
--profiling Default: true | -|
Enable profiling via web interface host:port/debug/pprof/ | -|
--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. WARNING: generally do not depend on authorization being already done for incoming requests. | -|
--requestheader-extra-headers-prefix stringSlice Default: [x-remote-extra-] | -|
List of request header prefixes to inspect. X-Remote-Extra- is suggested. | -|
--requestheader-group-headers stringSlice Default: [x-remote-group] | -|
List of request headers to inspect for groups. X-Remote-Group is suggested. | -|
--requestheader-username-headers stringSlice Default: [x-remote-user] | -|
List of request headers to inspect for usernames. X-Remote-User is common. | -|
--route-reconciliation-period duration Default: 10s | -|
The period for reconciling routes created for Nodes by cloud provider. | -|
--secure-port int Default: 10258 | -|
The port on which to serve HTTPS with authentication and authorization. If 0, don't serve HTTPS at all. | -|
--skip-headers | -|
If true, avoid header prefixes in the log messages | -|
--skip-log-headers | -|
If true, avoid headers when opening log files | -|
--stderrthreshold severity Default: 2 | -|
logs at or above this threshold go to stderr | -|
--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. If omitted, the default Go cipher suites will be use. Possible values: TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA,TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256,TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256,TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA,TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384,TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305,TLS_ECDHE_ECDSA_WITH_RC4_128_SHA,TLS_ECDHE_RSA_WITH_3DES_EDE_CBC_SHA,TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA,TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256,TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256,TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA,TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384,TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305,TLS_ECDHE_RSA_WITH_RC4_128_SHA,TLS_RSA_WITH_3DES_EDE_CBC_SHA,TLS_RSA_WITH_AES_128_CBC_SHA,TLS_RSA_WITH_AES_128_CBC_SHA256,TLS_RSA_WITH_AES_128_GCM_SHA256,TLS_RSA_WITH_AES_256_CBC_SHA,TLS_RSA_WITH_AES_256_GCM_SHA384,TLS_RSA_WITH_RC4_128_SHA | -|
--tls-min-version string | -|
Minimum TLS version supported. Possible values: VersionTLS10, VersionTLS11, VersionTLS12, VersionTLS13 | -|
--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. The domain patterns also allow IP addresses, but IPs should only be used if the apiserver has visibility to the IP address requested by a client. 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. | -|
-v, --v Level | -|
number for the log level verbosity | -|
--version version[=true] | -|
Print version information and quit | -|
--vmodule moduleSpec | -|
comma-separated list of pattern=N settings for file-filtered logging | -
--add-dir-header | +|
If true, adds the file directory to the header | +|
--allocate-node-cidrs | +|
Should CIDRs for Pods be allocated and set on the cloud provider. | +|
--alsologtostderr | +|
log to standard error as well as files | +|
--authentication-kubeconfig string | +|
kubeconfig file pointing at the 'core' kubernetes server with enough rights to create tokenreviews.authentication.k8s.io. This is optional. If empty, all token requests are considered to be anonymous and no client CA is looked up in the cluster. | +|
--authentication-skip-lookup | +|
If false, the authentication-kubeconfig will be used to lookup missing authentication configuration from the cluster. | +|
--authentication-token-webhook-cache-ttl duration Default: 10s | +|
The duration to cache responses from the webhook token authenticator. | +|
--authentication-tolerate-lookup-failure | +|
If true, failures to look up missing authentication configuration from the cluster are not considered fatal. Note that this can result in authentication that treats all requests as anonymous. | +|
--authorization-always-allow-paths stringSlice Default: [/healthz] | +|
A list of HTTP paths to skip during authorization, i.e. these are authorized without contacting the 'core' kubernetes server. | +|
--authorization-kubeconfig string | +|
kubeconfig file pointing at the 'core' kubernetes server with enough rights to create subjectaccessreviews.authorization.k8s.io. This is optional. If empty, all requests not skipped by authorization are forbidden. | +|
--authorization-webhook-cache-authorized-ttl duration Default: 10s | +|
The duration to cache 'authorized' responses from the webhook authorizer. | +|
--authorization-webhook-cache-unauthorized-ttl duration Default: 10s | +|
The duration to cache 'unauthorized' responses from the webhook authorizer. | +|
--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 or an unspecified address (0.0.0.0 or ::), all interfaces will be used. | +|
--cert-dir string | +|
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 | +|
--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. | +|
--cloud-provider-gce-l7lb-src-cidrs cidrs Default: 130.211.0.0/22,35.191.0.0/16 | +|
CIDRs opened in GCE firewall for L7 LB traffic proxy & health checks | +|
--cloud-provider-gce-lb-src-cidrs cidrs Default: 130.211.0.0/22,209.85.152.0/22,209.85.204.0/22,35.191.0.0/16 | +|
CIDRs opened in GCE firewall for L4 LB traffic proxy & health checks | +|
--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. | +|
--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: cloud-node, cloud-node-lifecycle, route, service Disabled-by-default controllers: |
+|
--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) APIPriorityAndFairness=true|false (ALPHA - default=false) APIResponseCompression=true|false (BETA - default=true) AllAlpha=true|false (ALPHA - default=false) AllBeta=true|false (BETA - default=false) AllowInsecureBackendProxy=true|false (BETA - default=true) AnyVolumeDataSource=true|false (ALPHA - default=false) AppArmor=true|false (BETA - default=true) BalanceAttachedNodeVolumes=true|false (ALPHA - default=false) BoundServiceAccountTokenVolume=true|false (ALPHA - default=false) CPUManager=true|false (BETA - default=true) CRIContainerLogRotation=true|false (BETA - default=true) CSIInlineVolume=true|false (BETA - default=true) CSIMigration=true|false (BETA - default=true) CSIMigrationAWS=true|false (BETA - default=false) CSIMigrationAWSComplete=true|false (ALPHA - default=false) CSIMigrationAzureDisk=true|false (ALPHA - default=false) CSIMigrationAzureDiskComplete=true|false (ALPHA - default=false) CSIMigrationAzureFile=true|false (ALPHA - default=false) CSIMigrationAzureFileComplete=true|false (ALPHA - default=false) CSIMigrationGCE=true|false (BETA - default=false) CSIMigrationGCEComplete=true|false (ALPHA - default=false) CSIMigrationOpenStack=true|false (BETA - default=false) CSIMigrationOpenStackComplete=true|false (ALPHA - default=false) ConfigurableFSGroupPolicy=true|false (ALPHA - default=false) CustomCPUCFSQuotaPeriod=true|false (ALPHA - default=false) DefaultIngressClass=true|false (BETA - default=true) DevicePlugins=true|false (BETA - default=true) DryRun=true|false (BETA - default=true) DynamicAuditing=true|false (ALPHA - default=false) DynamicKubeletConfig=true|false (BETA - default=true) EndpointSlice=true|false (BETA - default=true) EndpointSliceProxying=true|false (ALPHA - default=false) EphemeralContainers=true|false (ALPHA - default=false) EvenPodsSpread=true|false (BETA - default=true) ExpandCSIVolumes=true|false (BETA - default=true) ExpandInUsePersistentVolumes=true|false (BETA - default=true) ExpandPersistentVolumes=true|false (BETA - default=true) ExperimentalHostUserNamespaceDefaulting=true|false (BETA - default=false) HPAScaleToZero=true|false (ALPHA - default=false) HugePageStorageMediumSize=true|false (ALPHA - default=false) HyperVContainer=true|false (ALPHA - default=false) IPv6DualStack=true|false (ALPHA - default=false) ImmutableEphemeralVolumes=true|false (ALPHA - default=false) KubeletPodResources=true|false (BETA - default=true) LegacyNodeRoleBehavior=true|false (ALPHA - default=true) LocalStorageCapacityIsolation=true|false (BETA - default=true) LocalStorageCapacityIsolationFSQuotaMonitoring=true|false (ALPHA - default=false) NodeDisruptionExclusion=true|false (ALPHA - default=false) NonPreemptingPriority=true|false (ALPHA - default=false) PodDisruptionBudget=true|false (BETA - default=true) PodOverhead=true|false (BETA - default=true) ProcMountType=true|false (ALPHA - default=false) QOSReserved=true|false (ALPHA - default=false) RemainingItemCount=true|false (BETA - default=true) RemoveSelfLink=true|false (ALPHA - default=false) ResourceLimitsPriorityFunction=true|false (ALPHA - default=false) RotateKubeletClientCertificate=true|false (BETA - default=true) RotateKubeletServerCertificate=true|false (BETA - default=true) RunAsGroup=true|false (BETA - default=true) RuntimeClass=true|false (BETA - default=true) SCTPSupport=true|false (ALPHA - default=false) SelectorIndex=true|false (ALPHA - default=false) ServerSideApply=true|false (BETA - default=true) ServiceAccountIssuerDiscovery=true|false (ALPHA - default=false) ServiceAppProtocol=true|false (ALPHA - default=false) ServiceNodeExclusion=true|false (ALPHA - default=false) ServiceTopology=true|false (ALPHA - default=false) StartupProbe=true|false (BETA - default=true) StorageVersionHash=true|false (BETA - default=true) SupportNodePidsLimit=true|false (BETA - default=true) SupportPodPidsLimit=true|false (BETA - default=true) Sysctls=true|false (BETA - default=true) TTLAfterFinished=true|false (ALPHA - default=false) TokenRequest=true|false (BETA - default=true) TokenRequestProjection=true|false (BETA - default=true) TopologyManager=true|false (BETA - default=true) ValidateProxyRedirects=true|false (BETA - default=true) VolumeSnapshotDataSource=true|false (BETA - default=true) WinDSR=true|false (ALPHA - default=false) WinOverlay=true|false (ALPHA - default=false) |
+|
-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: "endpointsleases" | +|
The type of resource object that is used for locking during leader election. Supported options are endpoints (default) and `configmaps`. | +|
--leader-elect-resource-name string Default: "cloud-controller-manager" | +|
The name of resource object that is used for locking during leader election. | +|
--leader-elect-resource-namespace string Default: "kube-system" | +|
The namespace of resource object that is used for locking during leader election. | +|
--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-backtrace-at traceLocation Default: :0 | +|
when logging hits line file:N, emit a stack trace | +|
--log-dir string | +|
If non-empty, write log files in this directory | +|
--log-file string | +|
If non-empty, use this log file | +|
--log-file-max-size uint Default: 1800 | +|
Defines the maximum size a log file can grow to. Unit is megabytes. If the value is 0, the maximum file size is unlimited. | +|
--log-flush-frequency duration Default: 5s | +|
Maximum number of seconds between log flushes | +|
--logtostderr Default: true | +|
log to standard error instead of files | +|
--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. | +|
--profiling Default: true | +|
Enable profiling via web interface host:port/debug/pprof/ | +|
--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. WARNING: generally do not depend on authorization being already done for incoming requests. | +|
--requestheader-extra-headers-prefix stringSlice Default: [x-remote-extra-] | +|
List of request header prefixes to inspect. X-Remote-Extra- is suggested. | +|
--requestheader-group-headers stringSlice Default: [x-remote-group] | +|
List of request headers to inspect for groups. X-Remote-Group is suggested. | +|
--requestheader-username-headers stringSlice Default: [x-remote-user] | +|
List of request headers to inspect for usernames. X-Remote-User is common. | +|
--route-reconciliation-period duration Default: 10s | +|
The period for reconciling routes created for Nodes by cloud provider. | +|
--secure-port int Default: 10258 | +|
The port on which to serve HTTPS with authentication and authorization. If 0, don't serve HTTPS at all. | +|
--skip-headers | +|
If true, avoid header prefixes in the log messages | +|
--skip-log-headers | +|
If true, avoid headers when opening log files | +|
--stderrthreshold severity Default: 2 | +|
logs at or above this threshold go to stderr | +|
--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. If omitted, the default Go cipher suites will be use. Possible values: TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA,TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256,TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256,TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA,TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384,TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305,TLS_ECDHE_ECDSA_WITH_RC4_128_SHA,TLS_ECDHE_RSA_WITH_3DES_EDE_CBC_SHA,TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA,TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256,TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256,TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA,TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384,TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305,TLS_ECDHE_RSA_WITH_RC4_128_SHA,TLS_RSA_WITH_3DES_EDE_CBC_SHA,TLS_RSA_WITH_AES_128_CBC_SHA,TLS_RSA_WITH_AES_128_CBC_SHA256,TLS_RSA_WITH_AES_128_GCM_SHA256,TLS_RSA_WITH_AES_256_CBC_SHA,TLS_RSA_WITH_AES_256_GCM_SHA384,TLS_RSA_WITH_RC4_128_SHA | +|
--tls-min-version string | +|
Minimum TLS version supported. Possible values: VersionTLS10, VersionTLS11, VersionTLS12, VersionTLS13 | +|
--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. The domain patterns also allow IP addresses, but IPs should only be used if the apiserver has visibility to the IP address requested by a client. 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. | +|
-v, --v Level | +|
number for the log level verbosity | +|
--version version[=true] | +|
Print version information and quit | +|
--vmodule moduleSpec | +|
comma-separated list of pattern=N settings for file-filtered logging | +
--add-dir-header | -|
If true, adds the file directory to the header | -|
--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] | -|
--alsologtostderr | -|
log to standard error as well as files | -|
--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. | -|
--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. If the --service-account-issuer flag is configured and this flag is not, this field defaults to a single element list containing the issuer URL. | -|
--apiserver-count int Default: 1 | -|
The number of apiservers running in the cluster, must be a positive number. (In use when --endpoint-reconciler-type=master-count is enabled.) | -|
--audit-dynamic-configuration | -|
Enables dynamic audit configuration. This feature also requires the DynamicAuditing feature flag | -|
--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: 1 | -|
The maximum size of a batch. Only used in batch mode. | -|
--audit-log-batch-max-wait duration | -|
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 | -|
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 | -|
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. 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,blocking-strict. | -|
--audit-log-path string | -|
If set, all requests coming to the apiserver will be logged to this file. '-' means standard out. | -|
--audit-log-truncate-enabled | -|
Whether event and batch truncating is enabled. | -|
--audit-log-truncate-max-batch-size int Default: 10485760 | -|
Maximum size of the batch sent to the underlying backend. Actual serialized size can be several hundreds of bytes greater. If a batch exceeds this limit, it is split into several batches of smaller size. | -|
--audit-log-truncate-max-event-size int Default: 102400 | -|
Maximum size of the audit event sent to the underlying backend. If the size of an event is greater than this number, first request and response are removed, and if this doesn't reduce the size enough, event is discarded. | -|
--audit-log-version string Default: "audit.k8s.io/v1" | -|
API group and version used for serializing audit events written to log. | -|
--audit-policy-file string | -|
Path to the file that defines the audit policy configuration. | -|
--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. | -|
--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,blocking-strict. | -|
--audit-webhook-truncate-enabled | -|
Whether event and batch truncating is enabled. | -|
--audit-webhook-truncate-max-batch-size int Default: 10485760 | -|
Maximum size of the batch sent to the underlying backend. Actual serialized size can be several hundreds of bytes greater. If a batch exceeds this limit, it is split into several batches of smaller size. | -|
--audit-webhook-truncate-max-event-size int Default: 102400 | -|
Maximum size of the audit event sent to the underlying backend. If the size of an event is greater than this number, first request and response are removed, and if this doesn't reduce the size enough, event is discarded. | -|
--audit-webhook-version string Default: "audit.k8s.io/v1" | -|
API group and version used for serializing audit events written to webhook. | -|
--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. | -|
--authentication-token-webhook-version string Default: "v1beta1" | -|
The API version of the authentication.k8s.io TokenReview to send to and expect from the webhook. | -|
--authorization-mode stringSlice 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 json line by line 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. | -|
--authorization-webhook-version string Default: "v1beta1" | -|
The API version of the authorization.k8s.io SubjectAccessReview to send to and expect from the webhook. | -|
--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 or an unspecified address (0.0.0.0 or ::), all interfaces will be used. | -|
--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. | -|
--cloud-provider-gce-l7lb-src-cidrs cidrs Default: 130.211.0.0/22,35.191.0.0/16 | -|
CIDRs opened in GCE firewall for L7 LB traffic proxy & health checks | -|
--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-not-ready-toleration-seconds int Default: 300 | -|
Indicates the tolerationSeconds of the toleration for notReady:NoExecute that is added by default to every pod that does not already have such a toleration. | -|
--default-unreachable-toleration-seconds int Default: 300 | -|
Indicates the tolerationSeconds of the toleration for unreachable:NoExecute that is added by default to every pod that does not already have such a toleration. | -|
--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. | -|
--disable-admission-plugins stringSlice | -|
admission plugins that should be disabled although they are in the default enabled plugins list (NamespaceLifecycle, LimitRanger, ServiceAccount, TaintNodesByCondition, Priority, DefaultTolerationSeconds, DefaultStorageClass, StorageObjectInUseProtection, PersistentVolumeClaimResize, RuntimeClass, CertificateApproval, CertificateSigning, CertificateSubjectRestriction, DefaultIngressClass, MutatingAdmissionWebhook, ValidatingAdmissionWebhook, ResourceQuota). Comma-delimited list of admission plugins: AlwaysAdmit, AlwaysDeny, AlwaysPullImages, CertificateApproval, CertificateSigning, CertificateSubjectRestriction, DefaultIngressClass, DefaultStorageClass, DefaultTolerationSeconds, DenyEscalatingExec, DenyExecOnPrivileged, EventRateLimit, ExtendedResourceToleration, ImagePolicyWebhook, LimitPodHardAntiAffinityTopology, LimitRanger, MutatingAdmissionWebhook, NamespaceAutoProvision, NamespaceExists, NamespaceLifecycle, NodeRestriction, OwnerReferencesPermissionEnforcement, PersistentVolumeClaimResize, PersistentVolumeLabel, PodNodeSelector, PodPreset, PodSecurityPolicy, PodTolerationRestriction, Priority, ResourceQuota, RuntimeClass, SecurityContextDeny, ServiceAccount, StorageObjectInUseProtection, TaintNodesByCondition, ValidatingAdmissionWebhook. The order of plugins in this flag does not matter. | -|
--egress-selector-config-file string | -|
File with apiserver egress selector configuration. | -|
--enable-admission-plugins stringSlice | -|
admission plugins that should be enabled in addition to default enabled ones (NamespaceLifecycle, LimitRanger, ServiceAccount, TaintNodesByCondition, Priority, DefaultTolerationSeconds, DefaultStorageClass, StorageObjectInUseProtection, PersistentVolumeClaimResize, RuntimeClass, CertificateApproval, CertificateSigning, CertificateSubjectRestriction, DefaultIngressClass, MutatingAdmissionWebhook, ValidatingAdmissionWebhook, ResourceQuota). Comma-delimited list of admission plugins: AlwaysAdmit, AlwaysDeny, AlwaysPullImages, CertificateApproval, CertificateSigning, CertificateSubjectRestriction, DefaultIngressClass, DefaultStorageClass, DefaultTolerationSeconds, DenyEscalatingExec, DenyExecOnPrivileged, EventRateLimit, ExtendedResourceToleration, ImagePolicyWebhook, LimitPodHardAntiAffinityTopology, LimitRanger, MutatingAdmissionWebhook, NamespaceAutoProvision, NamespaceExists, NamespaceLifecycle, NodeRestriction, OwnerReferencesPermissionEnforcement, PersistentVolumeClaimResize, PersistentVolumeLabel, PodNodeSelector, PodPreset, PodSecurityPolicy, PodTolerationRestriction, Priority, ResourceQuota, RuntimeClass, SecurityContextDeny, ServiceAccount, StorageObjectInUseProtection, TaintNodesByCondition, ValidatingAdmissionWebhook. The order of plugins in this flag does not matter. | -|
--enable-aggregator-routing | -|
Turns on aggregator routing requests to endpoints 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-priority-and-fairness Default: true | -|
If true and the APIPriorityAndFairness feature gate is enabled, replace the max-in-flight handler with an enhanced one that queues and dispatches with priority and fairness | -|
--encryption-provider-config string | -|
The file containing configuration for encryption providers to be used for storing secrets in etcd | -|
--endpoint-reconciler-type string Default: "lease" | -|
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 URLs, semicolon separated. | -|
--event-ttl duration Default: 1h0m0s | -|
Amount of time to retain events. | -|
--external-hostname string | -|
The hostname to use when generating externalized URLs for this master (e.g. Swagger API Docs or OpenID Discovery). | -|
--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) APIPriorityAndFairness=true|false (ALPHA - default=false) APIResponseCompression=true|false (BETA - default=true) AllAlpha=true|false (ALPHA - default=false) AllBeta=true|false (BETA - default=false) AllowInsecureBackendProxy=true|false (BETA - default=true) AnyVolumeDataSource=true|false (ALPHA - default=false) AppArmor=true|false (BETA - default=true) BalanceAttachedNodeVolumes=true|false (ALPHA - default=false) BoundServiceAccountTokenVolume=true|false (ALPHA - default=false) CPUManager=true|false (BETA - default=true) CRIContainerLogRotation=true|false (BETA - default=true) CSIInlineVolume=true|false (BETA - default=true) CSIMigration=true|false (BETA - default=true) CSIMigrationAWS=true|false (BETA - default=false) CSIMigrationAWSComplete=true|false (ALPHA - default=false) CSIMigrationAzureDisk=true|false (ALPHA - default=false) CSIMigrationAzureDiskComplete=true|false (ALPHA - default=false) CSIMigrationAzureFile=true|false (ALPHA - default=false) CSIMigrationAzureFileComplete=true|false (ALPHA - default=false) CSIMigrationGCE=true|false (BETA - default=false) CSIMigrationGCEComplete=true|false (ALPHA - default=false) CSIMigrationOpenStack=true|false (BETA - default=false) CSIMigrationOpenStackComplete=true|false (ALPHA - default=false) ConfigurableFSGroupPolicy=true|false (ALPHA - default=false) CustomCPUCFSQuotaPeriod=true|false (ALPHA - default=false) DefaultIngressClass=true|false (BETA - default=true) DevicePlugins=true|false (BETA - default=true) DryRun=true|false (BETA - default=true) DynamicAuditing=true|false (ALPHA - default=false) DynamicKubeletConfig=true|false (BETA - default=true) EndpointSlice=true|false (BETA - default=true) EndpointSliceProxying=true|false (ALPHA - default=false) EphemeralContainers=true|false (ALPHA - default=false) EvenPodsSpread=true|false (BETA - default=true) ExpandCSIVolumes=true|false (BETA - default=true) ExpandInUsePersistentVolumes=true|false (BETA - default=true) ExpandPersistentVolumes=true|false (BETA - default=true) ExperimentalHostUserNamespaceDefaulting=true|false (BETA - default=false) HPAScaleToZero=true|false (ALPHA - default=false) HugePageStorageMediumSize=true|false (ALPHA - default=false) HyperVContainer=true|false (ALPHA - default=false) IPv6DualStack=true|false (ALPHA - default=false) ImmutableEphemeralVolumes=true|false (ALPHA - default=false) KubeletPodResources=true|false (BETA - default=true) LegacyNodeRoleBehavior=true|false (ALPHA - default=true) LocalStorageCapacityIsolation=true|false (BETA - default=true) LocalStorageCapacityIsolationFSQuotaMonitoring=true|false (ALPHA - default=false) NodeDisruptionExclusion=true|false (ALPHA - default=false) NonPreemptingPriority=true|false (ALPHA - default=false) PodDisruptionBudget=true|false (BETA - default=true) PodOverhead=true|false (BETA - default=true) ProcMountType=true|false (ALPHA - default=false) QOSReserved=true|false (ALPHA - default=false) RemainingItemCount=true|false (BETA - default=true) RemoveSelfLink=true|false (ALPHA - default=false) ResourceLimitsPriorityFunction=true|false (ALPHA - default=false) RotateKubeletClientCertificate=true|false (BETA - default=true) RotateKubeletServerCertificate=true|false (BETA - default=true) RunAsGroup=true|false (BETA - default=true) RuntimeClass=true|false (BETA - default=true) SCTPSupport=true|false (ALPHA - default=false) SelectorIndex=true|false (ALPHA - default=false) ServerSideApply=true|false (BETA - default=true) ServiceAccountIssuerDiscovery=true|false (ALPHA - default=false) ServiceAppProtocol=true|false (ALPHA - default=false) ServiceNodeExclusion=true|false (ALPHA - default=false) ServiceTopology=true|false (ALPHA - default=false) StartupProbe=true|false (BETA - default=true) StorageVersionHash=true|false (BETA - default=true) SupportNodePidsLimit=true|false (BETA - default=true) SupportPodPidsLimit=true|false (BETA - default=true) Sysctls=true|false (BETA - default=true) TTLAfterFinished=true|false (ALPHA - default=false) TokenRequest=true|false (BETA - default=true) TokenRequestProjection=true|false (BETA - default=true) TopologyManager=true|false (BETA - default=true) ValidateProxyRedirects=true|false (BETA - default=true) VolumeSnapshotDataSource=true|false (BETA - default=true) WinDSR=true|false (ALPHA - default=false) WinOverlay=true|false (ALPHA - default=false) |
- |
--goaway-chance float | -|
To prevent HTTP/2 clients from getting stuck on a single apiserver, randomly close a connection (GOAWAY). The client's other in-flight requests won't be affected, and the client will reconnect, likely landing on a different apiserver after going through the load balancer again. This argument sets the fraction of requests that will be sent a GOAWAY. Clusters with single apiservers, or which don't use a load balancer, should NOT enable this. Min is 0 (off), Max is .02 (1/50 requests); .001 (1/1000) is a recommended starting point. | -|
-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-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. | -|
--livez-grace-period duration | -|
This option represents the maximum amount of time it should take for apiserver to complete its startup sequence and become live. From apiserver's start time to when this amount of time has elapsed, /livez will assume that unfinished post-start hooks will complete successfully and therefore return true. | -|
--log-backtrace-at traceLocation Default: :0 | -|
when logging hits line file:N, emit a stack trace | -|
--log-dir string | -|
If non-empty, write log files in this directory | -|
--log-file string | -|
If non-empty, use this log file | -|
--log-file-max-size uint Default: 1800 | -|
Defines the maximum size a log file can grow to. Unit is megabytes. If the value is 0, the maximum file size is unlimited. | -|
--log-flush-frequency duration Default: 5s | -|
Maximum number of seconds between log flushes | -|
--logtostderr Default: true | -|
log to standard error instead of files | -|
--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-required-claim mapStringString | -|
A key=value pair that describes a required claim in the ID Token. If set, the claim is verified to be present in the ID Token with a matching value. Repeat this flag to specify multiple claims. | -|
--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. | -|
--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. WARNING: generally do not depend on authorization being already done for incoming requests. | -|
--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 enable or disable built-in APIs. Supported options are: v1=true|false for the core API group <group>/<version>=true|false for a specific API group and version (e.g. apps/v1=true) api/all=true|false controls all API versions api/ga=true|false controls all API versions of the form v[0-9]+ api/beta=true|false controls all API versions of the form v[0-9]+beta[0-9]+ api/alpha=true|false controls all API versions of the form v[0-9]+alpha[0-9]+ api/legacy is deprecated, and will be removed in a future version |
- |
--secure-port int Default: 6443 | -|
The port on which to serve HTTPS with authentication and authorization. It cannot be switched off with 0. | -|
--service-account-issuer {service-account-issuer}/.well-known/openid-configuration | -|
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. If this option is not a valid URI per the OpenID Discovery 1.0 spec, the ServiceAccountIssuerDiscovery feature will remain disabled, even if the feature gate is set to true. It is highly recommended that this value comply with the OpenID spec: https://openid.net/specs/openid-connect-discovery-1_0.html. In practice, this means that service-account-issuer must be an https URL. It is also highly recommended that this URL be capable of serving OpenID discovery documents at {service-account-issuer}/.well-known/openid-configuration. | -|
--service-account-jwks-uri string | -|
Overrides the URI for the JSON Web Key Set in the discovery doc served at /.well-known/openid-configuration. This flag is useful if the discovery docand key set are served to relying parties from a URL other than the API server's external (as auto-detected or overridden with external-hostname). Only valid if the ServiceAccountIssuerDiscovery feature gate is enabled. | -|
--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-max-token-expiration duration | -|
The maximum validity duration of a token created by the service account token issuer. If an otherwise valid TokenRequest with a validity duration larger than this value is requested, a token will be issued with a validity duration of this value. | -|
--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. (Requires the 'TokenRequest' feature gate.) | -|
--service-cluster-ip-range string | -|
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. | -|
--show-hidden-metrics-for-version string | -|
The previous version for which you want to show hidden metrics. Only the previous minor version is meaningful, other values will not be allowed. The format is <major>.<minor>, e.g.: '1.16'. The purpose of this format is make sure you have the opportunity to notice if the next release hides additional metrics, rather than being surprised when they are permanently removed in the release after that. | -|
--shutdown-delay-duration duration | -|
Time to delay the termination. During that time the server keeps serving requests normally and /healthz returns success, but /readyz immediately returns failure. Graceful termination starts after this delay has elapsed. This can be used to allow load balancer to stop sending traffic to this server. | -|
--skip-headers | -|
If true, avoid header prefixes in the log messages | -|
--skip-log-headers | -|
If true, avoid headers when opening log files | -|
--stderrthreshold severity Default: 2 | -|
logs at or above this threshold go to stderr | -|
--storage-backend string | -|
The storage backend for persistence. Options: 'etcd3' (default). | -|
--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. | -|
--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. If omitted, the default Go cipher suites will be use. Possible values: TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA,TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256,TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256,TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA,TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384,TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305,TLS_ECDHE_ECDSA_WITH_RC4_128_SHA,TLS_ECDHE_RSA_WITH_3DES_EDE_CBC_SHA,TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA,TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256,TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256,TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA,TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384,TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305,TLS_ECDHE_RSA_WITH_RC4_128_SHA,TLS_RSA_WITH_3DES_EDE_CBC_SHA,TLS_RSA_WITH_AES_128_CBC_SHA,TLS_RSA_WITH_AES_128_CBC_SHA256,TLS_RSA_WITH_AES_128_GCM_SHA256,TLS_RSA_WITH_AES_256_CBC_SHA,TLS_RSA_WITH_AES_256_GCM_SHA384,TLS_RSA_WITH_RC4_128_SHA | -|
--tls-min-version string | -|
Minimum TLS version supported. Possible values: VersionTLS10, VersionTLS11, VersionTLS12, VersionTLS13 | -|
--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. The domain patterns also allow IP addresses, but IPs should only be used if the apiserver has visibility to the IP address requested by a client. 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. | -|
-v, --v Level | -|
number for the log level verbosity | -|
--version version[=true] | -|
Print version information and quit | -|
--vmodule moduleSpec | -|
comma-separated list of pattern=N settings for file-filtered logging | -|
--watch-cache Default: true | -|
Enable watch caching in the apiserver | -|
--watch-cache-sizes stringSlice | -|
Watch cache size settings for some resources (pods, nodes, etc.), comma separated. The individual setting format: resource[.group]#size, where resource is lowercase plural (no version), group is omitted for resources of apiVersion v1 (the legacy core API) and included for others, 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 | -
--add-dir-header | +|
If true, adds the file directory to the header | +|
--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] | +|
--alsologtostderr | +|
log to standard error as well as files | +|
--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. | +|
--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. If the --service-account-issuer flag is configured and this flag is not, this field defaults to a single element list containing the issuer URL. | +|
--apiserver-count int Default: 1 | +|
The number of apiservers running in the cluster, must be a positive number. (In use when --endpoint-reconciler-type=master-count is enabled.) | +|
--audit-dynamic-configuration | +|
Enables dynamic audit configuration. This feature also requires the DynamicAuditing feature flag | +|
--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: 1 | +|
The maximum size of a batch. Only used in batch mode. | +|
--audit-log-batch-max-wait duration | +|
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 | +|
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 | +|
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. 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,blocking-strict. | +|
--audit-log-path string | +|
If set, all requests coming to the apiserver will be logged to this file. '-' means standard out. | +|
--audit-log-truncate-enabled | +|
Whether event and batch truncating is enabled. | +|
--audit-log-truncate-max-batch-size int Default: 10485760 | +|
Maximum size of the batch sent to the underlying backend. Actual serialized size can be several hundreds of bytes greater. If a batch exceeds this limit, it is split into several batches of smaller size. | +|
--audit-log-truncate-max-event-size int Default: 102400 | +|
Maximum size of the audit event sent to the underlying backend. If the size of an event is greater than this number, first request and response are removed, and if this doesn't reduce the size enough, event is discarded. | +|
--audit-log-version string Default: "audit.k8s.io/v1" | +|
API group and version used for serializing audit events written to log. | +|
--audit-policy-file string | +|
Path to the file that defines the audit policy configuration. | +|
--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. | +|
--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,blocking-strict. | +|
--audit-webhook-truncate-enabled | +|
Whether event and batch truncating is enabled. | +|
--audit-webhook-truncate-max-batch-size int Default: 10485760 | +|
Maximum size of the batch sent to the underlying backend. Actual serialized size can be several hundreds of bytes greater. If a batch exceeds this limit, it is split into several batches of smaller size. | +|
--audit-webhook-truncate-max-event-size int Default: 102400 | +|
Maximum size of the audit event sent to the underlying backend. If the size of an event is greater than this number, first request and response are removed, and if this doesn't reduce the size enough, event is discarded. | +|
--audit-webhook-version string Default: "audit.k8s.io/v1" | +|
API group and version used for serializing audit events written to webhook. | +|
--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. | +|
--authentication-token-webhook-version string Default: "v1beta1" | +|
The API version of the authentication.k8s.io TokenReview to send to and expect from the webhook. | +|
--authorization-mode stringSlice 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 json line by line 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. | +|
--authorization-webhook-version string Default: "v1beta1" | +|
The API version of the authorization.k8s.io SubjectAccessReview to send to and expect from the webhook. | +|
--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 or an unspecified address (0.0.0.0 or ::), all interfaces will be used. | +|
--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. | +|
--cloud-provider-gce-l7lb-src-cidrs cidrs Default: 130.211.0.0/22,35.191.0.0/16 | +|
CIDRs opened in GCE firewall for L7 LB traffic proxy & health checks | +|
--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-not-ready-toleration-seconds int Default: 300 | +|
Indicates the tolerationSeconds of the toleration for notReady:NoExecute that is added by default to every pod that does not already have such a toleration. | +|
--default-unreachable-toleration-seconds int Default: 300 | +|
Indicates the tolerationSeconds of the toleration for unreachable:NoExecute that is added by default to every pod that does not already have such a toleration. | +|
--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. | +|
--disable-admission-plugins stringSlice | +|
admission plugins that should be disabled although they are in the default enabled plugins list (NamespaceLifecycle, LimitRanger, ServiceAccount, TaintNodesByCondition, Priority, DefaultTolerationSeconds, DefaultStorageClass, StorageObjectInUseProtection, PersistentVolumeClaimResize, RuntimeClass, CertificateApproval, CertificateSigning, CertificateSubjectRestriction, DefaultIngressClass, MutatingAdmissionWebhook, ValidatingAdmissionWebhook, ResourceQuota). Comma-delimited list of admission plugins: AlwaysAdmit, AlwaysDeny, AlwaysPullImages, CertificateApproval, CertificateSigning, CertificateSubjectRestriction, DefaultIngressClass, DefaultStorageClass, DefaultTolerationSeconds, DenyEscalatingExec, DenyExecOnPrivileged, EventRateLimit, ExtendedResourceToleration, ImagePolicyWebhook, LimitPodHardAntiAffinityTopology, LimitRanger, MutatingAdmissionWebhook, NamespaceAutoProvision, NamespaceExists, NamespaceLifecycle, NodeRestriction, OwnerReferencesPermissionEnforcement, PersistentVolumeClaimResize, PersistentVolumeLabel, PodNodeSelector, PodPreset, PodSecurityPolicy, PodTolerationRestriction, Priority, ResourceQuota, RuntimeClass, SecurityContextDeny, ServiceAccount, StorageObjectInUseProtection, TaintNodesByCondition, ValidatingAdmissionWebhook. The order of plugins in this flag does not matter. | +|
--egress-selector-config-file string | +|
File with apiserver egress selector configuration. | +|
--enable-admission-plugins stringSlice | +|
admission plugins that should be enabled in addition to default enabled ones (NamespaceLifecycle, LimitRanger, ServiceAccount, TaintNodesByCondition, Priority, DefaultTolerationSeconds, DefaultStorageClass, StorageObjectInUseProtection, PersistentVolumeClaimResize, RuntimeClass, CertificateApproval, CertificateSigning, CertificateSubjectRestriction, DefaultIngressClass, MutatingAdmissionWebhook, ValidatingAdmissionWebhook, ResourceQuota). Comma-delimited list of admission plugins: AlwaysAdmit, AlwaysDeny, AlwaysPullImages, CertificateApproval, CertificateSigning, CertificateSubjectRestriction, DefaultIngressClass, DefaultStorageClass, DefaultTolerationSeconds, DenyEscalatingExec, DenyExecOnPrivileged, EventRateLimit, ExtendedResourceToleration, ImagePolicyWebhook, LimitPodHardAntiAffinityTopology, LimitRanger, MutatingAdmissionWebhook, NamespaceAutoProvision, NamespaceExists, NamespaceLifecycle, NodeRestriction, OwnerReferencesPermissionEnforcement, PersistentVolumeClaimResize, PersistentVolumeLabel, PodNodeSelector, PodPreset, PodSecurityPolicy, PodTolerationRestriction, Priority, ResourceQuota, RuntimeClass, SecurityContextDeny, ServiceAccount, StorageObjectInUseProtection, TaintNodesByCondition, ValidatingAdmissionWebhook. The order of plugins in this flag does not matter. | +|
--enable-aggregator-routing | +|
Turns on aggregator routing requests to endpoints 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-priority-and-fairness Default: true | +|
If true and the APIPriorityAndFairness feature gate is enabled, replace the max-in-flight handler with an enhanced one that queues and dispatches with priority and fairness | +|
--encryption-provider-config string | +|
The file containing configuration for encryption providers to be used for storing secrets in etcd | +|
--endpoint-reconciler-type string Default: "lease" | +|
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 URLs, semicolon separated. | +|
--event-ttl duration Default: 1h0m0s | +|
Amount of time to retain events. | +|
--external-hostname string | +|
The hostname to use when generating externalized URLs for this master (e.g. Swagger API Docs or OpenID Discovery). | +|
--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) APIPriorityAndFairness=true|false (ALPHA - default=false) APIResponseCompression=true|false (BETA - default=true) AllAlpha=true|false (ALPHA - default=false) AllBeta=true|false (BETA - default=false) AllowInsecureBackendProxy=true|false (BETA - default=true) AnyVolumeDataSource=true|false (ALPHA - default=false) AppArmor=true|false (BETA - default=true) BalanceAttachedNodeVolumes=true|false (ALPHA - default=false) BoundServiceAccountTokenVolume=true|false (ALPHA - default=false) CPUManager=true|false (BETA - default=true) CRIContainerLogRotation=true|false (BETA - default=true) CSIInlineVolume=true|false (BETA - default=true) CSIMigration=true|false (BETA - default=true) CSIMigrationAWS=true|false (BETA - default=false) CSIMigrationAWSComplete=true|false (ALPHA - default=false) CSIMigrationAzureDisk=true|false (ALPHA - default=false) CSIMigrationAzureDiskComplete=true|false (ALPHA - default=false) CSIMigrationAzureFile=true|false (ALPHA - default=false) CSIMigrationAzureFileComplete=true|false (ALPHA - default=false) CSIMigrationGCE=true|false (BETA - default=false) CSIMigrationGCEComplete=true|false (ALPHA - default=false) CSIMigrationOpenStack=true|false (BETA - default=false) CSIMigrationOpenStackComplete=true|false (ALPHA - default=false) ConfigurableFSGroupPolicy=true|false (ALPHA - default=false) CustomCPUCFSQuotaPeriod=true|false (ALPHA - default=false) DefaultIngressClass=true|false (BETA - default=true) DevicePlugins=true|false (BETA - default=true) DryRun=true|false (BETA - default=true) DynamicAuditing=true|false (ALPHA - default=false) DynamicKubeletConfig=true|false (BETA - default=true) EndpointSlice=true|false (BETA - default=true) EndpointSliceProxying=true|false (ALPHA - default=false) EphemeralContainers=true|false (ALPHA - default=false) EvenPodsSpread=true|false (BETA - default=true) ExpandCSIVolumes=true|false (BETA - default=true) ExpandInUsePersistentVolumes=true|false (BETA - default=true) ExpandPersistentVolumes=true|false (BETA - default=true) ExperimentalHostUserNamespaceDefaulting=true|false (BETA - default=false) HPAScaleToZero=true|false (ALPHA - default=false) HugePageStorageMediumSize=true|false (ALPHA - default=false) HyperVContainer=true|false (ALPHA - default=false) IPv6DualStack=true|false (ALPHA - default=false) ImmutableEphemeralVolumes=true|false (ALPHA - default=false) KubeletPodResources=true|false (BETA - default=true) LegacyNodeRoleBehavior=true|false (ALPHA - default=true) LocalStorageCapacityIsolation=true|false (BETA - default=true) LocalStorageCapacityIsolationFSQuotaMonitoring=true|false (ALPHA - default=false) NodeDisruptionExclusion=true|false (ALPHA - default=false) NonPreemptingPriority=true|false (ALPHA - default=false) PodDisruptionBudget=true|false (BETA - default=true) PodOverhead=true|false (BETA - default=true) ProcMountType=true|false (ALPHA - default=false) QOSReserved=true|false (ALPHA - default=false) RemainingItemCount=true|false (BETA - default=true) RemoveSelfLink=true|false (ALPHA - default=false) ResourceLimitsPriorityFunction=true|false (ALPHA - default=false) RotateKubeletClientCertificate=true|false (BETA - default=true) RotateKubeletServerCertificate=true|false (BETA - default=true) RunAsGroup=true|false (BETA - default=true) RuntimeClass=true|false (BETA - default=true) SCTPSupport=true|false (ALPHA - default=false) SelectorIndex=true|false (ALPHA - default=false) ServerSideApply=true|false (BETA - default=true) ServiceAccountIssuerDiscovery=true|false (ALPHA - default=false) ServiceAppProtocol=true|false (ALPHA - default=false) ServiceNodeExclusion=true|false (ALPHA - default=false) ServiceTopology=true|false (ALPHA - default=false) StartupProbe=true|false (BETA - default=true) StorageVersionHash=true|false (BETA - default=true) SupportNodePidsLimit=true|false (BETA - default=true) SupportPodPidsLimit=true|false (BETA - default=true) Sysctls=true|false (BETA - default=true) TTLAfterFinished=true|false (ALPHA - default=false) TokenRequest=true|false (BETA - default=true) TokenRequestProjection=true|false (BETA - default=true) TopologyManager=true|false (BETA - default=true) ValidateProxyRedirects=true|false (BETA - default=true) VolumeSnapshotDataSource=true|false (BETA - default=true) WinDSR=true|false (ALPHA - default=false) WinOverlay=true|false (ALPHA - default=false) |
+|
--goaway-chance float | +|
To prevent HTTP/2 clients from getting stuck on a single apiserver, randomly close a connection (GOAWAY). The client's other in-flight requests won't be affected, and the client will reconnect, likely landing on a different apiserver after going through the load balancer again. This argument sets the fraction of requests that will be sent a GOAWAY. Clusters with single apiservers, or which don't use a load balancer, should NOT enable this. Min is 0 (off), Max is .02 (1/50 requests); .001 (1/1000) is a recommended starting point. | +|
-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-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. | +|
--livez-grace-period duration | +|
This option represents the maximum amount of time it should take for apiserver to complete its startup sequence and become live. From apiserver's start time to when this amount of time has elapsed, /livez will assume that unfinished post-start hooks will complete successfully and therefore return true. | +|
--log-backtrace-at traceLocation Default: :0 | +|
when logging hits line file:N, emit a stack trace | +|
--log-dir string | +|
If non-empty, write log files in this directory | +|
--log-file string | +|
If non-empty, use this log file | +|
--log-file-max-size uint Default: 1800 | +|
Defines the maximum size a log file can grow to. Unit is megabytes. If the value is 0, the maximum file size is unlimited. | +|
--log-flush-frequency duration Default: 5s | +|
Maximum number of seconds between log flushes | +|
--logtostderr Default: true | +|
log to standard error instead of files | +|
--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-required-claim mapStringString | +|
A key=value pair that describes a required claim in the ID Token. If set, the claim is verified to be present in the ID Token with a matching value. Repeat this flag to specify multiple claims. | +|
--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. | +|
--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. WARNING: generally do not depend on authorization being already done for incoming requests. | +|
--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 enable or disable built-in APIs. Supported options are: v1=true|false for the core API group <group>/<version>=true|false for a specific API group and version (e.g. apps/v1=true) api/all=true|false controls all API versions api/ga=true|false controls all API versions of the form v[0-9]+ api/beta=true|false controls all API versions of the form v[0-9]+beta[0-9]+ api/alpha=true|false controls all API versions of the form v[0-9]+alpha[0-9]+ api/legacy is deprecated, and will be removed in a future version |
+|
--secure-port int Default: 6443 | +|
The port on which to serve HTTPS with authentication and authorization. It cannot be switched off with 0. | +|
--service-account-issuer {service-account-issuer}/.well-known/openid-configuration | +|
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. If this option is not a valid URI per the OpenID Discovery 1.0 spec, the ServiceAccountIssuerDiscovery feature will remain disabled, even if the feature gate is set to true. It is highly recommended that this value comply with the OpenID spec: https://openid.net/specs/openid-connect-discovery-1_0.html. In practice, this means that service-account-issuer must be an https URL. It is also highly recommended that this URL be capable of serving OpenID discovery documents at {service-account-issuer}/.well-known/openid-configuration. | +|
--service-account-jwks-uri string | +|
Overrides the URI for the JSON Web Key Set in the discovery doc served at /.well-known/openid-configuration. This flag is useful if the discovery docand key set are served to relying parties from a URL other than the API server's external (as auto-detected or overridden with external-hostname). Only valid if the ServiceAccountIssuerDiscovery feature gate is enabled. | +|
--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-max-token-expiration duration | +|
The maximum validity duration of a token created by the service account token issuer. If an otherwise valid TokenRequest with a validity duration larger than this value is requested, a token will be issued with a validity duration of this value. | +|
--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. (Requires the 'TokenRequest' feature gate.) | +|
--service-cluster-ip-range string | +|
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. | +|
--show-hidden-metrics-for-version string | +|
The previous version for which you want to show hidden metrics. Only the previous minor version is meaningful, other values will not be allowed. The format is <major>.<minor>, e.g.: '1.16'. The purpose of this format is make sure you have the opportunity to notice if the next release hides additional metrics, rather than being surprised when they are permanently removed in the release after that. | +|
--shutdown-delay-duration duration | +|
Time to delay the termination. During that time the server keeps serving requests normally and /healthz returns success, but /readyz immediately returns failure. Graceful termination starts after this delay has elapsed. This can be used to allow load balancer to stop sending traffic to this server. | +|
--skip-headers | +|
If true, avoid header prefixes in the log messages | +|
--skip-log-headers | +|
If true, avoid headers when opening log files | +|
--stderrthreshold severity Default: 2 | +|
logs at or above this threshold go to stderr | +|
--storage-backend string | +|
The storage backend for persistence. Options: 'etcd3' (default). | +|
--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. | +|
--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. If omitted, the default Go cipher suites will be use. Possible values: TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA,TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256,TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256,TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA,TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384,TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305,TLS_ECDHE_ECDSA_WITH_RC4_128_SHA,TLS_ECDHE_RSA_WITH_3DES_EDE_CBC_SHA,TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA,TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256,TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256,TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA,TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384,TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305,TLS_ECDHE_RSA_WITH_RC4_128_SHA,TLS_RSA_WITH_3DES_EDE_CBC_SHA,TLS_RSA_WITH_AES_128_CBC_SHA,TLS_RSA_WITH_AES_128_CBC_SHA256,TLS_RSA_WITH_AES_128_GCM_SHA256,TLS_RSA_WITH_AES_256_CBC_SHA,TLS_RSA_WITH_AES_256_GCM_SHA384,TLS_RSA_WITH_RC4_128_SHA | +|
--tls-min-version string | +|
Minimum TLS version supported. Possible values: VersionTLS10, VersionTLS11, VersionTLS12, VersionTLS13 | +|
--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. The domain patterns also allow IP addresses, but IPs should only be used if the apiserver has visibility to the IP address requested by a client. 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. | +|
-v, --v Level | +|
number for the log level verbosity | +|
--version version[=true] | +|
Print version information and quit | +|
--vmodule moduleSpec | +|
comma-separated list of pattern=N settings for file-filtered logging | +|
--watch-cache Default: true | +|
Enable watch caching in the apiserver | +|
--watch-cache-sizes stringSlice | +|
Watch cache size settings for some resources (pods, nodes, etc.), comma separated. The individual setting format: resource[.group]#size, where resource is lowercase plural (no version), group is omitted for resources of apiVersion v1 (the legacy core API) and included for others, 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 | +
--add-dir-header | -|
If true, adds the file directory to the header | -|
--allocate-node-cidrs | -|
Should CIDRs for Pods be allocated and set on the cloud provider. | -|
--alsologtostderr | -|
log to standard error as well as files | -|
--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. | -|
--authentication-kubeconfig string | -|
kubeconfig file pointing at the 'core' kubernetes server with enough rights to create tokenreviews.authentication.k8s.io. This is optional. If empty, all token requests are considered to be anonymous and no client CA is looked up in the cluster. | -|
--authentication-skip-lookup | -|
If false, the authentication-kubeconfig will be used to lookup missing authentication configuration from the cluster. | -|
--authentication-token-webhook-cache-ttl duration Default: 10s | -|
The duration to cache responses from the webhook token authenticator. | -|
--authentication-tolerate-lookup-failure | -|
If true, failures to look up missing authentication configuration from the cluster are not considered fatal. Note that this can result in authentication that treats all requests as anonymous. | -|
--authorization-always-allow-paths stringSlice Default: [/healthz] | -|
A list of HTTP paths to skip during authorization, i.e. these are authorized without contacting the 'core' kubernetes server. | -|
--authorization-kubeconfig string | -|
kubeconfig file pointing at the 'core' kubernetes server with enough rights to create subjectaccessreviews.authorization.k8s.io. This is optional. If empty, all requests not skipped by authorization are forbidden. | -|
--authorization-webhook-cache-authorized-ttl duration Default: 10s | -|
The duration to cache 'authorized' responses from the webhook authorizer. | -|
--authorization-webhook-cache-unauthorized-ttl duration Default: 10s | -|
The duration to cache 'unauthorized' responses from the webhook authorizer. | -|
--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 or an unspecified address (0.0.0.0 or ::), all interfaces will be used. | -|
--cert-dir string | -|
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 | -|
--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. | -|
--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-endpoint-syncs int32 Default: 5 | -|
The number of service endpoint syncing operations that will be done concurrently. Larger number = faster endpoint slice updating, but more CPU (and network) load. Defaults to 5. | -|
--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-statefulset-syncs int32 Default: 5 | -|
The number of statefulset objects that are allowed to sync concurrently. Larger number = more responsive statefulsets, but more CPU (and network) load | -|
--concurrent-ttl-after-finished-syncs int32 Default: 5 | -|
The number of TTL-after-finished controller workers that are allowed to sync concurrently. | -|
--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, cloud-node-lifecycle, clusterrole-aggregation, cronjob, csrapproving, csrcleaner, csrsigning, daemonset, deployment, disruption, endpoint, endpointslice, garbagecollector, horizontalpodautoscaling, job, namespace, nodeipam, nodelifecycle, persistentvolume-binder, persistentvolume-expander, podgc, pv-protection, pvc-protection, replicaset, replicationcontroller, resourcequota, root-ca-cert-publisher, route, service, serviceaccount, serviceaccount-token, statefulset, tokencleaner, ttl, ttl-after-finished 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. | -|
--endpoint-updates-batch-period duration | -|
The length of endpoint updates batching period. Processing of pod changes will be delayed by this duration to join them with potential upcoming updates and reduce the overall number of endpoints updates. Larger number = higher endpoint programming latency, but lower number of endpoints revision generated | -|
--endpointslice-updates-batch-period duration | -|
The length of endpoint slice updates batching period. Processing of pod changes will be delayed by this duration to join them with potential upcoming updates and reduce the overall number of endpoints updates. Larger number = higher endpoint programming latency, but lower number of endpoints revision generated | -|
--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) APIPriorityAndFairness=true|false (ALPHA - default=false) APIResponseCompression=true|false (BETA - default=true) AllAlpha=true|false (ALPHA - default=false) AllBeta=true|false (BETA - default=false) AllowInsecureBackendProxy=true|false (BETA - default=true) AnyVolumeDataSource=true|false (ALPHA - default=false) AppArmor=true|false (BETA - default=true) BalanceAttachedNodeVolumes=true|false (ALPHA - default=false) BoundServiceAccountTokenVolume=true|false (ALPHA - default=false) CPUManager=true|false (BETA - default=true) CRIContainerLogRotation=true|false (BETA - default=true) CSIInlineVolume=true|false (BETA - default=true) CSIMigration=true|false (BETA - default=true) CSIMigrationAWS=true|false (BETA - default=false) CSIMigrationAWSComplete=true|false (ALPHA - default=false) CSIMigrationAzureDisk=true|false (ALPHA - default=false) CSIMigrationAzureDiskComplete=true|false (ALPHA - default=false) CSIMigrationAzureFile=true|false (ALPHA - default=false) CSIMigrationAzureFileComplete=true|false (ALPHA - default=false) CSIMigrationGCE=true|false (BETA - default=false) CSIMigrationGCEComplete=true|false (ALPHA - default=false) CSIMigrationOpenStack=true|false (BETA - default=false) CSIMigrationOpenStackComplete=true|false (ALPHA - default=false) ConfigurableFSGroupPolicy=true|false (ALPHA - default=false) CustomCPUCFSQuotaPeriod=true|false (ALPHA - default=false) DefaultIngressClass=true|false (BETA - default=true) DevicePlugins=true|false (BETA - default=true) DryRun=true|false (BETA - default=true) DynamicAuditing=true|false (ALPHA - default=false) DynamicKubeletConfig=true|false (BETA - default=true) EndpointSlice=true|false (BETA - default=true) EndpointSliceProxying=true|false (ALPHA - default=false) EphemeralContainers=true|false (ALPHA - default=false) EvenPodsSpread=true|false (BETA - default=true) ExpandCSIVolumes=true|false (BETA - default=true) ExpandInUsePersistentVolumes=true|false (BETA - default=true) ExpandPersistentVolumes=true|false (BETA - default=true) ExperimentalHostUserNamespaceDefaulting=true|false (BETA - default=false) HPAScaleToZero=true|false (ALPHA - default=false) HugePageStorageMediumSize=true|false (ALPHA - default=false) HyperVContainer=true|false (ALPHA - default=false) IPv6DualStack=true|false (ALPHA - default=false) ImmutableEphemeralVolumes=true|false (ALPHA - default=false) KubeletPodResources=true|false (BETA - default=true) LegacyNodeRoleBehavior=true|false (ALPHA - default=true) LocalStorageCapacityIsolation=true|false (BETA - default=true) LocalStorageCapacityIsolationFSQuotaMonitoring=true|false (ALPHA - default=false) NodeDisruptionExclusion=true|false (ALPHA - default=false) NonPreemptingPriority=true|false (ALPHA - default=false) PodDisruptionBudget=true|false (BETA - default=true) PodOverhead=true|false (BETA - default=true) ProcMountType=true|false (ALPHA - default=false) QOSReserved=true|false (ALPHA - default=false) RemainingItemCount=true|false (BETA - default=true) RemoveSelfLink=true|false (ALPHA - default=false) ResourceLimitsPriorityFunction=true|false (ALPHA - default=false) RotateKubeletClientCertificate=true|false (BETA - default=true) RotateKubeletServerCertificate=true|false (BETA - default=true) RunAsGroup=true|false (BETA - default=true) RuntimeClass=true|false (BETA - default=true) SCTPSupport=true|false (ALPHA - default=false) SelectorIndex=true|false (ALPHA - default=false) ServerSideApply=true|false (BETA - default=true) ServiceAccountIssuerDiscovery=true|false (ALPHA - default=false) ServiceAppProtocol=true|false (ALPHA - default=false) ServiceNodeExclusion=true|false (ALPHA - default=false) ServiceTopology=true|false (ALPHA - default=false) StartupProbe=true|false (BETA - default=true) StorageVersionHash=true|false (BETA - default=true) SupportNodePidsLimit=true|false (BETA - default=true) SupportPodPidsLimit=true|false (BETA - default=true) Sysctls=true|false (BETA - default=true) TTLAfterFinished=true|false (ALPHA - default=false) TokenRequest=true|false (BETA - default=true) TokenRequestProjection=true|false (BETA - default=true) TopologyManager=true|false (BETA - default=true) ValidateProxyRedirects=true|false (BETA - default=true) VolumeSnapshotDataSource=true|false (BETA - default=true) WinDSR=true|false (ALPHA - default=false) WinOverlay=true|false (ALPHA - default=false) |
- |
--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-cpu-initialization-period duration Default: 5m0s | -|
The period after pod start when CPU samples might be skipped. | -|
--horizontal-pod-autoscaler-downscale-stabilization duration Default: 5m0s | -|
The period for which autoscaler will look backwards and not scale down below any recommendation it made during that period. | -|
--horizontal-pod-autoscaler-initial-readiness-delay duration Default: 30s | -|
The period after pod start during which readiness changes will be treated as initial readiness. | -|
--horizontal-pod-autoscaler-sync-period duration Default: 15s | -|
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. | -|
--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. | -|
--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: "endpointsleases" | -|
The type of resource object that is used for locking during leader election. Supported options are endpoints (default) and `configmaps`. | -|
--leader-elect-resource-name string Default: "kube-controller-manager" | -|
The name of resource object that is used for locking during leader election. | -|
--leader-elect-resource-namespace string Default: "kube-system" | -|
The namespace of resource object that is used for locking during leader election. | -|
--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-backtrace-at traceLocation Default: :0 | -|
when logging hits line file:N, emit a stack trace | -|
--log-dir string | -|
If non-empty, write log files in this directory | -|
--log-file string | -|
If non-empty, use this log file | -|
--log-file-max-size uint Default: 1800 | -|
Defines the maximum size a log file can grow to. Unit is megabytes. If the value is 0, the maximum file size is unlimited. | -|
--log-flush-frequency duration Default: 5s | -|
Maximum number of seconds between log flushes | -|
--logtostderr Default: true | -|
log to standard error instead of files | -|
--master string | -|
The address of the Kubernetes API server (overrides any value in kubeconfig). | -|
--max-endpoints-per-slice int32 Default: 100 | -|
The maximum number of endpoints that will be added to an EndpointSlice. More endpoints per slice will result in less endpoint slices, but larger resources. Defaults to 100. | -|
--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 | -|
Mask size for node cidr in cluster. Default is 24 for IPv4 and 64 for IPv6. | -|
--node-cidr-mask-size-ipv4 int32 | -|
Mask size for IPv4 node cidr in dual-stack cluster. Default is 24. | -|
--node-cidr-mask-size-ipv6 int32 | -|
Mask size for IPv6 node cidr in dual-stack cluster. Default is 64. | -|
--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. | -|
--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 | -|
--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. WARNING: generally do not depend on authorization being already done for incoming requests. | -|
--requestheader-extra-headers-prefix stringSlice Default: [x-remote-extra-] | -|
List of request header prefixes to inspect. X-Remote-Extra- is suggested. | -|
--requestheader-group-headers stringSlice Default: [x-remote-group] | -|
List of request headers to inspect for groups. X-Remote-Group is suggested. | -|
--requestheader-username-headers stringSlice Default: [x-remote-user] | -|
List of request headers to inspect for usernames. X-Remote-User is common. | -|
--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 Default: 10257 | -|
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 | -|
--show-hidden-metrics-for-version string | -|
The previous version for which you want to show hidden metrics. Only the previous minor version is meaningful, other values will not be allowed. The format is <major>.<minor>, e.g.: '1.16'. The purpose of this format is make sure you have the opportunity to notice if the next release hides additional metrics, rather than being surprised when they are permanently removed in the release after that. | -|
--skip-headers | -|
If true, avoid header prefixes in the log messages | -|
--skip-log-headers | -|
If true, avoid headers when opening log files | -|
--stderrthreshold severity Default: 2 | -|
logs at or above this threshold go to stderr | -|
--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. If omitted, the default Go cipher suites will be use. Possible values: TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA,TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256,TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256,TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA,TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384,TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305,TLS_ECDHE_ECDSA_WITH_RC4_128_SHA,TLS_ECDHE_RSA_WITH_3DES_EDE_CBC_SHA,TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA,TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256,TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256,TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA,TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384,TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305,TLS_ECDHE_RSA_WITH_RC4_128_SHA,TLS_RSA_WITH_3DES_EDE_CBC_SHA,TLS_RSA_WITH_AES_128_CBC_SHA,TLS_RSA_WITH_AES_128_CBC_SHA256,TLS_RSA_WITH_AES_128_GCM_SHA256,TLS_RSA_WITH_AES_256_CBC_SHA,TLS_RSA_WITH_AES_256_GCM_SHA384,TLS_RSA_WITH_RC4_128_SHA | -|
--tls-min-version string | -|
Minimum TLS version supported. Possible values: VersionTLS10, VersionTLS11, VersionTLS12, VersionTLS13 | -|
--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. The domain patterns also allow IP addresses, but IPs should only be used if the apiserver has visibility to the IP address requested by a client. 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. | -|
-v, --v Level | -|
number for the log level verbosity | -|
--version version[=true] | -|
Print version information and quit | -|
--vmodule moduleSpec | -|
comma-separated list of pattern=N settings for file-filtered logging | -
--add-dir-header | +|
If true, adds the file directory to the header | +|
--allocate-node-cidrs | +|
Should CIDRs for Pods be allocated and set on the cloud provider. | +|
--alsologtostderr | +|
log to standard error as well as files | +|
--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. | +|
--authentication-kubeconfig string | +|
kubeconfig file pointing at the 'core' kubernetes server with enough rights to create tokenreviews.authentication.k8s.io. This is optional. If empty, all token requests are considered to be anonymous and no client CA is looked up in the cluster. | +|
--authentication-skip-lookup | +|
If false, the authentication-kubeconfig will be used to lookup missing authentication configuration from the cluster. | +|
--authentication-token-webhook-cache-ttl duration Default: 10s | +|
The duration to cache responses from the webhook token authenticator. | +|
--authentication-tolerate-lookup-failure | +|
If true, failures to look up missing authentication configuration from the cluster are not considered fatal. Note that this can result in authentication that treats all requests as anonymous. | +|
--authorization-always-allow-paths stringSlice Default: [/healthz] | +|
A list of HTTP paths to skip during authorization, i.e. these are authorized without contacting the 'core' kubernetes server. | +|
--authorization-kubeconfig string | +|
kubeconfig file pointing at the 'core' kubernetes server with enough rights to create subjectaccessreviews.authorization.k8s.io. This is optional. If empty, all requests not skipped by authorization are forbidden. | +|
--authorization-webhook-cache-authorized-ttl duration Default: 10s | +|
The duration to cache 'authorized' responses from the webhook authorizer. | +|
--authorization-webhook-cache-unauthorized-ttl duration Default: 10s | +|
The duration to cache 'unauthorized' responses from the webhook authorizer. | +|
--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 or an unspecified address (0.0.0.0 or ::), all interfaces will be used. | +|
--cert-dir string | +|
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 | +|
--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. | +|
--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-endpoint-syncs int32 Default: 5 | +|
The number of service endpoint syncing operations that will be done concurrently. Larger number = faster endpoint slice updating, but more CPU (and network) load. Defaults to 5. | +|
--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-statefulset-syncs int32 Default: 5 | +|
The number of statefulset objects that are allowed to sync concurrently. Larger number = more responsive statefulsets, but more CPU (and network) load | +|
--concurrent-ttl-after-finished-syncs int32 Default: 5 | +|
The number of TTL-after-finished controller workers that are allowed to sync concurrently. | +|
--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, cloud-node-lifecycle, clusterrole-aggregation, cronjob, csrapproving, csrcleaner, csrsigning, daemonset, deployment, disruption, endpoint, endpointslice, garbagecollector, horizontalpodautoscaling, job, namespace, nodeipam, nodelifecycle, persistentvolume-binder, persistentvolume-expander, podgc, pv-protection, pvc-protection, replicaset, replicationcontroller, resourcequota, root-ca-cert-publisher, route, service, serviceaccount, serviceaccount-token, statefulset, tokencleaner, ttl, ttl-after-finished 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. | +|
--endpoint-updates-batch-period duration | +|
The length of endpoint updates batching period. Processing of pod changes will be delayed by this duration to join them with potential upcoming updates and reduce the overall number of endpoints updates. Larger number = higher endpoint programming latency, but lower number of endpoints revision generated | +|
--endpointslice-updates-batch-period duration | +|
The length of endpoint slice updates batching period. Processing of pod changes will be delayed by this duration to join them with potential upcoming updates and reduce the overall number of endpoints updates. Larger number = higher endpoint programming latency, but lower number of endpoints revision generated | +|
--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) APIPriorityAndFairness=true|false (ALPHA - default=false) APIResponseCompression=true|false (BETA - default=true) AllAlpha=true|false (ALPHA - default=false) AllBeta=true|false (BETA - default=false) AllowInsecureBackendProxy=true|false (BETA - default=true) AnyVolumeDataSource=true|false (ALPHA - default=false) AppArmor=true|false (BETA - default=true) BalanceAttachedNodeVolumes=true|false (ALPHA - default=false) BoundServiceAccountTokenVolume=true|false (ALPHA - default=false) CPUManager=true|false (BETA - default=true) CRIContainerLogRotation=true|false (BETA - default=true) CSIInlineVolume=true|false (BETA - default=true) CSIMigration=true|false (BETA - default=true) CSIMigrationAWS=true|false (BETA - default=false) CSIMigrationAWSComplete=true|false (ALPHA - default=false) CSIMigrationAzureDisk=true|false (ALPHA - default=false) CSIMigrationAzureDiskComplete=true|false (ALPHA - default=false) CSIMigrationAzureFile=true|false (ALPHA - default=false) CSIMigrationAzureFileComplete=true|false (ALPHA - default=false) CSIMigrationGCE=true|false (BETA - default=false) CSIMigrationGCEComplete=true|false (ALPHA - default=false) CSIMigrationOpenStack=true|false (BETA - default=false) CSIMigrationOpenStackComplete=true|false (ALPHA - default=false) ConfigurableFSGroupPolicy=true|false (ALPHA - default=false) CustomCPUCFSQuotaPeriod=true|false (ALPHA - default=false) DefaultIngressClass=true|false (BETA - default=true) DevicePlugins=true|false (BETA - default=true) DryRun=true|false (BETA - default=true) DynamicAuditing=true|false (ALPHA - default=false) DynamicKubeletConfig=true|false (BETA - default=true) EndpointSlice=true|false (BETA - default=true) EndpointSliceProxying=true|false (ALPHA - default=false) EphemeralContainers=true|false (ALPHA - default=false) EvenPodsSpread=true|false (BETA - default=true) ExpandCSIVolumes=true|false (BETA - default=true) ExpandInUsePersistentVolumes=true|false (BETA - default=true) ExpandPersistentVolumes=true|false (BETA - default=true) ExperimentalHostUserNamespaceDefaulting=true|false (BETA - default=false) HPAScaleToZero=true|false (ALPHA - default=false) HugePageStorageMediumSize=true|false (ALPHA - default=false) HyperVContainer=true|false (ALPHA - default=false) IPv6DualStack=true|false (ALPHA - default=false) ImmutableEphemeralVolumes=true|false (ALPHA - default=false) KubeletPodResources=true|false (BETA - default=true) LegacyNodeRoleBehavior=true|false (ALPHA - default=true) LocalStorageCapacityIsolation=true|false (BETA - default=true) LocalStorageCapacityIsolationFSQuotaMonitoring=true|false (ALPHA - default=false) NodeDisruptionExclusion=true|false (ALPHA - default=false) NonPreemptingPriority=true|false (ALPHA - default=false) PodDisruptionBudget=true|false (BETA - default=true) PodOverhead=true|false (BETA - default=true) ProcMountType=true|false (ALPHA - default=false) QOSReserved=true|false (ALPHA - default=false) RemainingItemCount=true|false (BETA - default=true) RemoveSelfLink=true|false (ALPHA - default=false) ResourceLimitsPriorityFunction=true|false (ALPHA - default=false) RotateKubeletClientCertificate=true|false (BETA - default=true) RotateKubeletServerCertificate=true|false (BETA - default=true) RunAsGroup=true|false (BETA - default=true) RuntimeClass=true|false (BETA - default=true) SCTPSupport=true|false (ALPHA - default=false) SelectorIndex=true|false (ALPHA - default=false) ServerSideApply=true|false (BETA - default=true) ServiceAccountIssuerDiscovery=true|false (ALPHA - default=false) ServiceAppProtocol=true|false (ALPHA - default=false) ServiceNodeExclusion=true|false (ALPHA - default=false) ServiceTopology=true|false (ALPHA - default=false) StartupProbe=true|false (BETA - default=true) StorageVersionHash=true|false (BETA - default=true) SupportNodePidsLimit=true|false (BETA - default=true) SupportPodPidsLimit=true|false (BETA - default=true) Sysctls=true|false (BETA - default=true) TTLAfterFinished=true|false (ALPHA - default=false) TokenRequest=true|false (BETA - default=true) TokenRequestProjection=true|false (BETA - default=true) TopologyManager=true|false (BETA - default=true) ValidateProxyRedirects=true|false (BETA - default=true) VolumeSnapshotDataSource=true|false (BETA - default=true) WinDSR=true|false (ALPHA - default=false) WinOverlay=true|false (ALPHA - default=false) |
+|
--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-cpu-initialization-period duration Default: 5m0s | +|
The period after pod start when CPU samples might be skipped. | +|
--horizontal-pod-autoscaler-downscale-stabilization duration Default: 5m0s | +|
The period for which autoscaler will look backwards and not scale down below any recommendation it made during that period. | +|
--horizontal-pod-autoscaler-initial-readiness-delay duration Default: 30s | +|
The period after pod start during which readiness changes will be treated as initial readiness. | +|
--horizontal-pod-autoscaler-sync-period duration Default: 15s | +|
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. | +|
--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. | +|
--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: "endpointsleases" | +|
The type of resource object that is used for locking during leader election. Supported options are endpoints (default) and `configmaps`. | +|
--leader-elect-resource-name string Default: "kube-controller-manager" | +|
The name of resource object that is used for locking during leader election. | +|
--leader-elect-resource-namespace string Default: "kube-system" | +|
The namespace of resource object that is used for locking during leader election. | +|
--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-backtrace-at traceLocation Default: :0 | +|
when logging hits line file:N, emit a stack trace | +|
--log-dir string | +|
If non-empty, write log files in this directory | +|
--log-file string | +|
If non-empty, use this log file | +|
--log-file-max-size uint Default: 1800 | +|
Defines the maximum size a log file can grow to. Unit is megabytes. If the value is 0, the maximum file size is unlimited. | +|
--log-flush-frequency duration Default: 5s | +|
Maximum number of seconds between log flushes | +|
--logtostderr Default: true | +|
log to standard error instead of files | +|
--master string | +|
The address of the Kubernetes API server (overrides any value in kubeconfig). | +|
--max-endpoints-per-slice int32 Default: 100 | +|
The maximum number of endpoints that will be added to an EndpointSlice. More endpoints per slice will result in less endpoint slices, but larger resources. Defaults to 100. | +|
--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 | +|
Mask size for node cidr in cluster. Default is 24 for IPv4 and 64 for IPv6. | +|
--node-cidr-mask-size-ipv4 int32 | +|
Mask size for IPv4 node cidr in dual-stack cluster. Default is 24. | +|
--node-cidr-mask-size-ipv6 int32 | +|
Mask size for IPv6 node cidr in dual-stack cluster. Default is 64. | +|
--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. | +|
--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 | +|
--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. WARNING: generally do not depend on authorization being already done for incoming requests. | +|
--requestheader-extra-headers-prefix stringSlice Default: [x-remote-extra-] | +|
List of request header prefixes to inspect. X-Remote-Extra- is suggested. | +|
--requestheader-group-headers stringSlice Default: [x-remote-group] | +|
List of request headers to inspect for groups. X-Remote-Group is suggested. | +|
--requestheader-username-headers stringSlice Default: [x-remote-user] | +|
List of request headers to inspect for usernames. X-Remote-User is common. | +|
--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 Default: 10257 | +|
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 | +|
--show-hidden-metrics-for-version string | +|
The previous version for which you want to show hidden metrics. Only the previous minor version is meaningful, other values will not be allowed. The format is <major>.<minor>, e.g.: '1.16'. The purpose of this format is make sure you have the opportunity to notice if the next release hides additional metrics, rather than being surprised when they are permanently removed in the release after that. | +|
--skip-headers | +|
If true, avoid header prefixes in the log messages | +|
--skip-log-headers | +|
If true, avoid headers when opening log files | +|
--stderrthreshold severity Default: 2 | +|
logs at or above this threshold go to stderr | +|
--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. If omitted, the default Go cipher suites will be use. Possible values: TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA,TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256,TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256,TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA,TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384,TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305,TLS_ECDHE_ECDSA_WITH_RC4_128_SHA,TLS_ECDHE_RSA_WITH_3DES_EDE_CBC_SHA,TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA,TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256,TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256,TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA,TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384,TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305,TLS_ECDHE_RSA_WITH_RC4_128_SHA,TLS_RSA_WITH_3DES_EDE_CBC_SHA,TLS_RSA_WITH_AES_128_CBC_SHA,TLS_RSA_WITH_AES_128_CBC_SHA256,TLS_RSA_WITH_AES_128_GCM_SHA256,TLS_RSA_WITH_AES_256_CBC_SHA,TLS_RSA_WITH_AES_256_GCM_SHA384,TLS_RSA_WITH_RC4_128_SHA | +|
--tls-min-version string | +|
Minimum TLS version supported. Possible values: VersionTLS10, VersionTLS11, VersionTLS12, VersionTLS13 | +|
--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. The domain patterns also allow IP addresses, but IPs should only be used if the apiserver has visibility to the IP address requested by a client. 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. | +|
-v, --v Level | +|
number for the log level verbosity | +|
--version version[=true] | +|
Print version information and quit | +|
--vmodule moduleSpec | +|
comma-separated list of pattern=N settings for file-filtered logging | +
--azure-container-registry-config string | -|
Path to the file containing Azure container registry configuration information. | -|
--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 for the proxy server to serve on (set to '0.0.0.0' for all IPv4 interfaces and '::' for all IPv6 interfaces) | -|
--bind-address ip 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 | +|
If true cleanup iptables and ipvs rules and exit. | +|
--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 | -|
--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 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. | -|
--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-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-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-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) | -|
--conntrack-tcp-timeout-established duration Default: 24h0m0s | +|
Idle timeout for established TCP connections (0 to leave as-is) | +|
--detect-local-mode LocalMode | -|
Mode to use to detect local traffic | -|
--detect-local-mode LocalMode | +|
Mode to use to detect local traffic | +|
--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) APIPriorityAndFairness=true|false (ALPHA - default=false) APIResponseCompression=true|false (BETA - default=true) AllAlpha=true|false (ALPHA - default=false) AllBeta=true|false (BETA - default=false) AllowInsecureBackendProxy=true|false (BETA - default=true) AnyVolumeDataSource=true|false (ALPHA - default=false) AppArmor=true|false (BETA - default=true) BalanceAttachedNodeVolumes=true|false (ALPHA - default=false) BoundServiceAccountTokenVolume=true|false (ALPHA - default=false) CPUManager=true|false (BETA - default=true) CRIContainerLogRotation=true|false (BETA - default=true) CSIInlineVolume=true|false (BETA - default=true) CSIMigration=true|false (BETA - default=true) CSIMigrationAWS=true|false (BETA - default=false) CSIMigrationAWSComplete=true|false (ALPHA - default=false) CSIMigrationAzureDisk=true|false (ALPHA - default=false) CSIMigrationAzureDiskComplete=true|false (ALPHA - default=false) CSIMigrationAzureFile=true|false (ALPHA - default=false) CSIMigrationAzureFileComplete=true|false (ALPHA - default=false) CSIMigrationGCE=true|false (BETA - default=false) CSIMigrationGCEComplete=true|false (ALPHA - default=false) CSIMigrationOpenStack=true|false (BETA - default=false) CSIMigrationOpenStackComplete=true|false (ALPHA - default=false) ConfigurableFSGroupPolicy=true|false (ALPHA - default=false) CustomCPUCFSQuotaPeriod=true|false (ALPHA - default=false) DefaultIngressClass=true|false (BETA - default=true) DevicePlugins=true|false (BETA - default=true) DryRun=true|false (BETA - default=true) DynamicAuditing=true|false (ALPHA - default=false) DynamicKubeletConfig=true|false (BETA - default=true) EndpointSlice=true|false (BETA - default=true) EndpointSliceProxying=true|false (ALPHA - default=false) EphemeralContainers=true|false (ALPHA - default=false) EvenPodsSpread=true|false (BETA - default=true) ExpandCSIVolumes=true|false (BETA - default=true) ExpandInUsePersistentVolumes=true|false (BETA - default=true) ExpandPersistentVolumes=true|false (BETA - default=true) ExperimentalHostUserNamespaceDefaulting=true|false (BETA - default=false) HPAScaleToZero=true|false (ALPHA - default=false) HugePageStorageMediumSize=true|false (ALPHA - default=false) HyperVContainer=true|false (ALPHA - default=false) IPv6DualStack=true|false (ALPHA - default=false) ImmutableEphemeralVolumes=true|false (ALPHA - default=false) KubeletPodResources=true|false (BETA - default=true) LegacyNodeRoleBehavior=true|false (ALPHA - default=true) LocalStorageCapacityIsolation=true|false (BETA - default=true) LocalStorageCapacityIsolationFSQuotaMonitoring=true|false (ALPHA - default=false) NodeDisruptionExclusion=true|false (ALPHA - default=false) NonPreemptingPriority=true|false (ALPHA - default=false) PodDisruptionBudget=true|false (BETA - default=true) PodOverhead=true|false (BETA - default=true) ProcMountType=true|false (ALPHA - default=false) QOSReserved=true|false (ALPHA - default=false) RemainingItemCount=true|false (BETA - default=true) RemoveSelfLink=true|false (ALPHA - default=false) ResourceLimitsPriorityFunction=true|false (ALPHA - default=false) RotateKubeletClientCertificate=true|false (BETA - default=true) RotateKubeletServerCertificate=true|false (BETA - default=true) RunAsGroup=true|false (BETA - default=true) RuntimeClass=true|false (BETA - default=true) SCTPSupport=true|false (ALPHA - default=false) SelectorIndex=true|false (ALPHA - default=false) ServerSideApply=true|false (BETA - default=true) ServiceAccountIssuerDiscovery=true|false (ALPHA - default=false) ServiceAppProtocol=true|false (ALPHA - default=false) ServiceNodeExclusion=true|false (ALPHA - default=false) ServiceTopology=true|false (ALPHA - default=false) StartupProbe=true|false (BETA - default=true) StorageVersionHash=true|false (BETA - default=true) SupportNodePidsLimit=true|false (BETA - default=true) SupportPodPidsLimit=true|false (BETA - default=true) Sysctls=true|false (BETA - default=true) TTLAfterFinished=true|false (ALPHA - default=false) TokenRequest=true|false (BETA - default=true) TokenRequestProjection=true|false (BETA - default=true) TopologyManager=true|false (BETA - default=true) ValidateProxyRedirects=true|false (BETA - default=true) VolumeSnapshotDataSource=true|false (BETA - default=true) WinDSR=true|false (ALPHA - default=false) WinOverlay=true|false (ALPHA - default=false) |
- |
--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) APIPriorityAndFairness=true|false (ALPHA - default=false) APIResponseCompression=true|false (BETA - default=true) AllAlpha=true|false (ALPHA - default=false) AllBeta=true|false (BETA - default=false) AllowInsecureBackendProxy=true|false (BETA - default=true) AnyVolumeDataSource=true|false (ALPHA - default=false) AppArmor=true|false (BETA - default=true) BalanceAttachedNodeVolumes=true|false (ALPHA - default=false) BoundServiceAccountTokenVolume=true|false (ALPHA - default=false) CPUManager=true|false (BETA - default=true) CRIContainerLogRotation=true|false (BETA - default=true) CSIInlineVolume=true|false (BETA - default=true) CSIMigration=true|false (BETA - default=true) CSIMigrationAWS=true|false (BETA - default=false) CSIMigrationAWSComplete=true|false (ALPHA - default=false) CSIMigrationAzureDisk=true|false (ALPHA - default=false) CSIMigrationAzureDiskComplete=true|false (ALPHA - default=false) CSIMigrationAzureFile=true|false (ALPHA - default=false) CSIMigrationAzureFileComplete=true|false (ALPHA - default=false) CSIMigrationGCE=true|false (BETA - default=false) CSIMigrationGCEComplete=true|false (ALPHA - default=false) CSIMigrationOpenStack=true|false (BETA - default=false) CSIMigrationOpenStackComplete=true|false (ALPHA - default=false) ConfigurableFSGroupPolicy=true|false (ALPHA - default=false) CustomCPUCFSQuotaPeriod=true|false (ALPHA - default=false) DefaultIngressClass=true|false (BETA - default=true) DevicePlugins=true|false (BETA - default=true) DryRun=true|false (BETA - default=true) DynamicAuditing=true|false (ALPHA - default=false) DynamicKubeletConfig=true|false (BETA - default=true) EndpointSlice=true|false (BETA - default=true) EndpointSliceProxying=true|false (ALPHA - default=false) EphemeralContainers=true|false (ALPHA - default=false) EvenPodsSpread=true|false (BETA - default=true) ExpandCSIVolumes=true|false (BETA - default=true) ExpandInUsePersistentVolumes=true|false (BETA - default=true) ExpandPersistentVolumes=true|false (BETA - default=true) ExperimentalHostUserNamespaceDefaulting=true|false (BETA - default=false) HPAScaleToZero=true|false (ALPHA - default=false) HugePageStorageMediumSize=true|false (ALPHA - default=false) HyperVContainer=true|false (ALPHA - default=false) IPv6DualStack=true|false (ALPHA - default=false) ImmutableEphemeralVolumes=true|false (ALPHA - default=false) KubeletPodResources=true|false (BETA - default=true) LegacyNodeRoleBehavior=true|false (ALPHA - default=true) LocalStorageCapacityIsolation=true|false (BETA - default=true) LocalStorageCapacityIsolationFSQuotaMonitoring=true|false (ALPHA - default=false) NodeDisruptionExclusion=true|false (ALPHA - default=false) NonPreemptingPriority=true|false (ALPHA - default=false) PodDisruptionBudget=true|false (BETA - default=true) PodOverhead=true|false (BETA - default=true) ProcMountType=true|false (ALPHA - default=false) QOSReserved=true|false (ALPHA - default=false) RemainingItemCount=true|false (BETA - default=true) RemoveSelfLink=true|false (ALPHA - default=false) ResourceLimitsPriorityFunction=true|false (ALPHA - default=false) RotateKubeletClientCertificate=true|false (BETA - default=true) RotateKubeletServerCertificate=true|false (BETA - default=true) RunAsGroup=true|false (BETA - default=true) RuntimeClass=true|false (BETA - default=true) SCTPSupport=true|false (ALPHA - default=false) SelectorIndex=true|false (ALPHA - default=false) ServerSideApply=true|false (BETA - default=true) ServiceAccountIssuerDiscovery=true|false (ALPHA - default=false) ServiceAppProtocol=true|false (ALPHA - default=false) ServiceNodeExclusion=true|false (ALPHA - default=false) ServiceTopology=true|false (ALPHA - default=false) StartupProbe=true|false (BETA - default=true) StorageVersionHash=true|false (BETA - default=true) SupportNodePidsLimit=true|false (BETA - default=true) SupportPodPidsLimit=true|false (BETA - default=true) Sysctls=true|false (BETA - default=true) TTLAfterFinished=true|false (ALPHA - default=false) TokenRequest=true|false (BETA - default=true) TokenRequestProjection=true|false (BETA - default=true) TopologyManager=true|false (BETA - default=true) ValidateProxyRedirects=true|false (BETA - default=true) VolumeSnapshotDataSource=true|false (BETA - default=true) WinDSR=true|false (ALPHA - default=false) WinOverlay=true|false (ALPHA - default=false) |
+|
--healthz-bind-address ipport Default: 0.0.0.0:10256 | -|
The IP address with port for the health check server to serve on (set to '0.0.0.0:10256' for all IPv4 interfaces and '[::]:10256' for all IPv6 interfaces). Set empty to disable. | -|
--healthz-bind-address ipport Default: 0.0.0.0:10256 | +|
The IP address with port for the health check server to serve on (set to '0.0.0.0:10256' for all IPv4 interfaces and '[::]:10256' for all IPv6 interfaces). Set empty to disable. | +|
-h, --help | -|
help for kube-proxy | -|
-h, --help | +|
help for kube-proxy | +|
--hostname-override string | -|
If non-empty, will use this string as identification instead of the actual hostname. | -|
--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-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-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. | -|
--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-exclude-cidrs stringSlice | -|
A comma-separated list of CIDR's which the ipvs proxier should not touch when cleaning up IPVS rules. | -|
--ipvs-exclude-cidrs stringSlice | +|
A comma-separated list of CIDR's which the ipvs proxier should not touch when cleaning up IPVS rules. | +|
--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-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-scheduler string | +|
The ipvs scheduler type when proxy mode is ipvs | +|
--ipvs-strict-arp | -|
Enable strict ARP by setting arp_ignore to 1 and arp_announce to 2 | -|
--ipvs-strict-arp | +|
Enable strict ARP by setting arp_ignore to 1 and arp_announce to 2 | +|
--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. | -|
--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. | +|
--ipvs-tcp-timeout duration | -|
The timeout for idle IPVS TCP connections, 0 to leave as-is. (e.g. '5s', '1m', '2h22m'). | -|
--ipvs-tcp-timeout duration | +|
The timeout for idle IPVS TCP connections, 0 to leave as-is. (e.g. '5s', '1m', '2h22m'). | +|
--ipvs-tcpfin-timeout duration | -|
The timeout for IPVS TCP connections after receiving a FIN packet, 0 to leave as-is. (e.g. '5s', '1m', '2h22m'). | -|
--ipvs-tcpfin-timeout duration | +|
The timeout for IPVS TCP connections after receiving a FIN packet, 0 to leave as-is. (e.g. '5s', '1m', '2h22m'). | +|
--ipvs-udp-timeout duration | -|
The timeout for IPVS UDP packets, 0 to leave as-is. (e.g. '5s', '1m', '2h22m'). | -|
--ipvs-udp-timeout duration | +|
The timeout for IPVS UDP packets, 0 to leave as-is. (e.g. '5s', '1m', '2h22m'). | +|
--kube-api-burst int32 Default: 10 | -|
Burst to use while talking with kubernetes apiserver | -|
--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-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 | -|
--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). | -|
--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 | -|
--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) | -|
--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) | -|
--master string | +|
The address of the Kubernetes API server (overrides any value in kubeconfig) | +|
--metrics-bind-address ipport Default: 127.0.0.1:10249 | -|
The IP address with port for the metrics server to serve on (set to '0.0.0.0:10249' for all IPv4 interfaces and '[::]:10249' for all IPv6 interfaces). Set empty to disable. | -|
--metrics-bind-address ipport Default: 127.0.0.1:10249 | +|
The IP address with port for the metrics server to serve on (set to '0.0.0.0:10249' for all IPv4 interfaces and '[::]:10249' for all IPv6 interfaces). Set empty to disable. | +|
--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. | -|
--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] | -|
--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. | -|
--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'. 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-mode ProxyMode | +|
Which proxy mode to use: 'userspace' (older) or 'iptables' (faster) or 'ipvs'. 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, single port or beginPort+offset, inclusive) that may be consumed in order to proxy service traffic. If (unspecified, 0, or 0-0) then ports will be randomly chosen. | -|
--proxy-port-range port-range | +|
Range of host ports (beginPort-endPort, single port or beginPort+offset, inclusive) that may be consumed in order to proxy service traffic. If (unspecified, 0, or 0-0) then ports will be randomly chosen. | +|
--show-hidden-metrics-for-version string | -|
The previous version for which you want to show hidden metrics. Only the previous minor version is meaningful, other values will not be allowed. The format is <major>.<minor>, e.g.: '1.16'. The purpose of this format is make sure you have the opportunity to notice if the next release hides additional metrics, rather than being surprised when they are permanently removed in the release after that. | -|
--show-hidden-metrics-for-version string | +|
The previous version for which you want to show hidden metrics. Only the previous minor version is meaningful, other values will not be allowed. The format is <major>.<minor>, e.g.: '1.16'. The purpose of this format is make sure you have the opportunity to notice if the next release hides additional metrics, rather than being surprised when they are permanently removed in the release after that. | +|
--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 | -|
--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 | -|
--version version[=true] | +|
Print version information and quit | +|
--write-config-to string | -|
If set, write the default configuration values to this file and exit. | -|
--write-config-to string | +|
If set, write the default configuration values to this file and exit. | +
--add-dir-header | -|
If true, adds the file directory to the header | -|
--address string Default: "0.0.0.0" | -|
DEPRECATED: the IP address on which to listen for the --port port (set to 0.0.0.0 for all IPv4 interfaces and :: for all IPv6 interfaces). See --bind-address instead. | -|
--algorithm-provider string | -|
DEPRECATED: the scheduling algorithm provider to use, one of: ClusterAutoscalerProvider | DefaultProvider | -|
--alsologtostderr | -|
log to standard error as well as files | -|
--authentication-kubeconfig string | -|
kubeconfig file pointing at the 'core' kubernetes server with enough rights to create tokenreviews.authentication.k8s.io. This is optional. If empty, all token requests are considered to be anonymous and no client CA is looked up in the cluster. | -|
--authentication-skip-lookup | -|
If false, the authentication-kubeconfig will be used to lookup missing authentication configuration from the cluster. | -|
--authentication-token-webhook-cache-ttl duration Default: 10s | -|
The duration to cache responses from the webhook token authenticator. | -|
--authentication-tolerate-lookup-failure Default: true | -|
If true, failures to look up missing authentication configuration from the cluster are not considered fatal. Note that this can result in authentication that treats all requests as anonymous. | -|
--authorization-always-allow-paths stringSlice Default: [/healthz] | -|
A list of HTTP paths to skip during authorization, i.e. these are authorized without contacting the 'core' kubernetes server. | -|
--authorization-kubeconfig string | -|
kubeconfig file pointing at the 'core' kubernetes server with enough rights to create subjectaccessreviews.authorization.k8s.io. This is optional. If empty, all requests not skipped by authorization are forbidden. | -|
--authorization-webhook-cache-authorized-ttl duration Default: 10s | -|
The duration to cache 'authorized' responses from the webhook authorizer. | -|
--authorization-webhook-cache-unauthorized-ttl duration Default: 10s | -|
The duration to cache 'unauthorized' responses from the webhook authorizer. | -|
--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 or an unspecified address (0.0.0.0 or ::), all interfaces will be used. | -|
--cert-dir string | -|
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. | -|
--config string | -|
The path to the configuration file. Flags override values in this file. | -|
--contention-profiling Default: true | -|
DEPRECATED: 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) APIPriorityAndFairness=true|false (ALPHA - default=false) APIResponseCompression=true|false (BETA - default=true) AllAlpha=true|false (ALPHA - default=false) AllBeta=true|false (BETA - default=false) AllowInsecureBackendProxy=true|false (BETA - default=true) AnyVolumeDataSource=true|false (ALPHA - default=false) AppArmor=true|false (BETA - default=true) BalanceAttachedNodeVolumes=true|false (ALPHA - default=false) BoundServiceAccountTokenVolume=true|false (ALPHA - default=false) CPUManager=true|false (BETA - default=true) CRIContainerLogRotation=true|false (BETA - default=true) CSIInlineVolume=true|false (BETA - default=true) CSIMigration=true|false (BETA - default=true) CSIMigrationAWS=true|false (BETA - default=false) CSIMigrationAWSComplete=true|false (ALPHA - default=false) CSIMigrationAzureDisk=true|false (ALPHA - default=false) CSIMigrationAzureDiskComplete=true|false (ALPHA - default=false) CSIMigrationAzureFile=true|false (ALPHA - default=false) CSIMigrationAzureFileComplete=true|false (ALPHA - default=false) CSIMigrationGCE=true|false (BETA - default=false) CSIMigrationGCEComplete=true|false (ALPHA - default=false) CSIMigrationOpenStack=true|false (BETA - default=false) CSIMigrationOpenStackComplete=true|false (ALPHA - default=false) ConfigurableFSGroupPolicy=true|false (ALPHA - default=false) CustomCPUCFSQuotaPeriod=true|false (ALPHA - default=false) DefaultIngressClass=true|false (BETA - default=true) DevicePlugins=true|false (BETA - default=true) DryRun=true|false (BETA - default=true) DynamicAuditing=true|false (ALPHA - default=false) DynamicKubeletConfig=true|false (BETA - default=true) EndpointSlice=true|false (BETA - default=true) EndpointSliceProxying=true|false (ALPHA - default=false) EphemeralContainers=true|false (ALPHA - default=false) EvenPodsSpread=true|false (BETA - default=true) ExpandCSIVolumes=true|false (BETA - default=true) ExpandInUsePersistentVolumes=true|false (BETA - default=true) ExpandPersistentVolumes=true|false (BETA - default=true) ExperimentalHostUserNamespaceDefaulting=true|false (BETA - default=false) HPAScaleToZero=true|false (ALPHA - default=false) HugePageStorageMediumSize=true|false (ALPHA - default=false) HyperVContainer=true|false (ALPHA - default=false) IPv6DualStack=true|false (ALPHA - default=false) ImmutableEphemeralVolumes=true|false (ALPHA - default=false) KubeletPodResources=true|false (BETA - default=true) LegacyNodeRoleBehavior=true|false (ALPHA - default=true) LocalStorageCapacityIsolation=true|false (BETA - default=true) LocalStorageCapacityIsolationFSQuotaMonitoring=true|false (ALPHA - default=false) NodeDisruptionExclusion=true|false (ALPHA - default=false) NonPreemptingPriority=true|false (ALPHA - default=false) PodDisruptionBudget=true|false (BETA - default=true) PodOverhead=true|false (BETA - default=true) ProcMountType=true|false (ALPHA - default=false) QOSReserved=true|false (ALPHA - default=false) RemainingItemCount=true|false (BETA - default=true) RemoveSelfLink=true|false (ALPHA - default=false) ResourceLimitsPriorityFunction=true|false (ALPHA - default=false) RotateKubeletClientCertificate=true|false (BETA - default=true) RotateKubeletServerCertificate=true|false (BETA - default=true) RunAsGroup=true|false (BETA - default=true) RuntimeClass=true|false (BETA - default=true) SCTPSupport=true|false (ALPHA - default=false) SelectorIndex=true|false (ALPHA - default=false) ServerSideApply=true|false (BETA - default=true) ServiceAccountIssuerDiscovery=true|false (ALPHA - default=false) ServiceAppProtocol=true|false (ALPHA - default=false) ServiceNodeExclusion=true|false (ALPHA - default=false) ServiceTopology=true|false (ALPHA - default=false) StartupProbe=true|false (BETA - default=true) StorageVersionHash=true|false (BETA - default=true) SupportNodePidsLimit=true|false (BETA - default=true) SupportPodPidsLimit=true|false (BETA - default=true) Sysctls=true|false (BETA - default=true) TTLAfterFinished=true|false (ALPHA - default=false) TokenRequest=true|false (BETA - default=true) TokenRequestProjection=true|false (BETA - default=true) TopologyManager=true|false (BETA - default=true) ValidateProxyRedirects=true|false (BETA - default=true) VolumeSnapshotDataSource=true|false (BETA - default=true) WinDSR=true|false (ALPHA - default=false) WinOverlay=true|false (ALPHA - default=false) |
- |
--hard-pod-affinity-symmetric-weight int32 Default: 1 | -|
DEPRECATED: RequiredDuringScheduling affinity is not symmetric, but there is an implicit PreferredDuringScheduling affinity rule corresponding to every RequiredDuringScheduling affinity rule. --hard-pod-affinity-symmetric-weight represents the weight of implicit PreferredDuringScheduling affinity rule. Must be in the range 0-100.This option was moved to the policy configuration file | -|
-h, --help | -|
help for kube-scheduler | -|
--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: 100 | -|
DEPRECATED: burst to use while talking with kubernetes apiserver | -|
--kube-api-content-type string Default: "application/vnd.kubernetes.protobuf" | -|
DEPRECATED: content type of requests sent to apiserver. | -|
--kube-api-qps float32 Default: 50 | -|
DEPRECATED: QPS to use while talking with kubernetes apiserver | -|
--kubeconfig string | -|
DEPRECATED: 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: "endpointsleases" | -|
The type of resource object that is used for locking during leader election. Supported options are endpoints (default) and `configmaps`. | -|
--leader-elect-resource-name string Default: "kube-scheduler" | -|
The name of resource object that is used for locking during leader election. | -|
--leader-elect-resource-namespace string Default: "kube-system" | -|
The namespace of resource object that is used for locking during leader election. | -|
--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" | -|
DEPRECATED: define the name of the lock object. Will be removed in favor of leader-elect-resource-name | -|
--lock-object-namespace string Default: "kube-system" | -|
DEPRECATED: define the namespace of the lock object. Will be removed in favor of leader-elect-resource-namespace. | -|
--log-backtrace-at traceLocation Default: :0 | -|
when logging hits line file:N, emit a stack trace | -|
--log-dir string | -|
If non-empty, write log files in this directory | -|
--log-file string | -|
If non-empty, use this log file | -|
--log-file-max-size uint Default: 1800 | -|
Defines the maximum size a log file can grow to. Unit is megabytes. If the value is 0, the maximum file size is unlimited. | -|
--log-flush-frequency duration Default: 5s | -|
Maximum number of seconds between log flushes | -|
--logtostderr Default: true | -|
log to standard error instead of files | -|
--master string | -|
The address of the Kubernetes API server (overrides any value in kubeconfig) | -|
--policy-config-file string | -|
DEPRECATED: file with scheduler policy configuration. This file is used if policy ConfigMap is not provided or --use-legacy-policy-config=true | -|
--policy-configmap string | -|
DEPRECATED: 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 Default: "kube-system" | -|
DEPRECATED: the namespace where policy ConfigMap is located. The kube-system namespace will be used if this is not provided or is empty. | -|
--port int Default: 10251 | -|
DEPRECATED: the port on which to serve HTTP insecurely without authentication and authorization. If 0, don't serve plain HTTP at all. See --secure-port instead. | -|
--profiling Default: true | -|
DEPRECATED: enable profiling via web interface host:port/debug/pprof/ | -|
--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. WARNING: generally do not depend on authorization being already done for incoming requests. | -|
--requestheader-extra-headers-prefix stringSlice Default: [x-remote-extra-] | -|
List of request header prefixes to inspect. X-Remote-Extra- is suggested. | -|
--requestheader-group-headers stringSlice Default: [x-remote-group] | -|
List of request headers to inspect for groups. X-Remote-Group is suggested. | -|
--requestheader-username-headers stringSlice Default: [x-remote-user] | -|
List of request headers to inspect for usernames. X-Remote-User is common. | -|
--scheduler-name string Default: "default-scheduler" | -|
DEPRECATED: name of the scheduler, used to select which pods will be processed by this scheduler, based on pod's "spec.schedulerName". | -|
--secure-port int Default: 10259 | -|
The port on which to serve HTTPS with authentication and authorization. If 0, don't serve HTTPS at all. | -|
--show-hidden-metrics-for-version string | -|
The previous version for which you want to show hidden metrics. Only the previous minor version is meaningful, other values will not be allowed. Accepted format of version is <major>.<minor>, e.g.: '1.16'. The purpose of this format is make sure you have the opportunity to notice if the next release hides additional metrics, rather than being surprised when they are permanently removed in the release after that. | -|
--skip-headers | -|
If true, avoid header prefixes in the log messages | -|
--skip-log-headers | -|
If true, avoid headers when opening log files | -|
--stderrthreshold severity Default: 2 | -|
logs at or above this threshold go to stderr | -|
--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. If omitted, the default Go cipher suites will be use. Possible values: TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA,TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256,TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256,TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA,TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384,TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305,TLS_ECDHE_ECDSA_WITH_RC4_128_SHA,TLS_ECDHE_RSA_WITH_3DES_EDE_CBC_SHA,TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA,TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256,TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256,TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA,TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384,TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305,TLS_ECDHE_RSA_WITH_RC4_128_SHA,TLS_RSA_WITH_3DES_EDE_CBC_SHA,TLS_RSA_WITH_AES_128_CBC_SHA,TLS_RSA_WITH_AES_128_CBC_SHA256,TLS_RSA_WITH_AES_128_GCM_SHA256,TLS_RSA_WITH_AES_256_CBC_SHA,TLS_RSA_WITH_AES_256_GCM_SHA384,TLS_RSA_WITH_RC4_128_SHA | -|
--tls-min-version string | -|
Minimum TLS version supported. Possible values: VersionTLS10, VersionTLS11, VersionTLS12, VersionTLS13 | -|
--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. The domain patterns also allow IP addresses, but IPs should only be used if the apiserver has visibility to the IP address requested by a client. 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-legacy-policy-config | -|
DEPRECATED: when set to true, scheduler will ignore policy ConfigMap and uses policy config file | -|
-v, --v Level | -|
number for the log level verbosity | -|
--version version[=true] | -|
Print version information and quit | -|
--vmodule moduleSpec | -|
comma-separated list of pattern=N settings for file-filtered logging | -|
--write-config-to string | -|
If set, write the configuration values to this file and exit. | -
--add-dir-header | +|
If true, adds the file directory to the header | +|
--address string Default: "0.0.0.0" | +|
DEPRECATED: the IP address on which to listen for the --port port (set to 0.0.0.0 for all IPv4 interfaces and :: for all IPv6 interfaces). See --bind-address instead. | +|
--algorithm-provider string | +|
DEPRECATED: the scheduling algorithm provider to use, one of: ClusterAutoscalerProvider | DefaultProvider | +|
--alsologtostderr | +|
log to standard error as well as files | +|
--authentication-kubeconfig string | +|
kubeconfig file pointing at the 'core' kubernetes server with enough rights to create tokenreviews.authentication.k8s.io. This is optional. If empty, all token requests are considered to be anonymous and no client CA is looked up in the cluster. | +|
--authentication-skip-lookup | +|
If false, the authentication-kubeconfig will be used to lookup missing authentication configuration from the cluster. | +|
--authentication-token-webhook-cache-ttl duration Default: 10s | +|
The duration to cache responses from the webhook token authenticator. | +|
--authentication-tolerate-lookup-failure Default: true | +|
If true, failures to look up missing authentication configuration from the cluster are not considered fatal. Note that this can result in authentication that treats all requests as anonymous. | +|
--authorization-always-allow-paths stringSlice Default: [/healthz] | +|
A list of HTTP paths to skip during authorization, i.e. these are authorized without contacting the 'core' kubernetes server. | +|
--authorization-kubeconfig string | +|
kubeconfig file pointing at the 'core' kubernetes server with enough rights to create subjectaccessreviews.authorization.k8s.io. This is optional. If empty, all requests not skipped by authorization are forbidden. | +|
--authorization-webhook-cache-authorized-ttl duration Default: 10s | +|
The duration to cache 'authorized' responses from the webhook authorizer. | +|
--authorization-webhook-cache-unauthorized-ttl duration Default: 10s | +|
The duration to cache 'unauthorized' responses from the webhook authorizer. | +|
--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 or an unspecified address (0.0.0.0 or ::), all interfaces will be used. | +|
--cert-dir string | +|
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. | +|
--config string | +|
The path to the configuration file. Flags override values in this file. | +|
--contention-profiling Default: true | +|
DEPRECATED: 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) APIPriorityAndFairness=true|false (ALPHA - default=false) APIResponseCompression=true|false (BETA - default=true) AllAlpha=true|false (ALPHA - default=false) AllBeta=true|false (BETA - default=false) AllowInsecureBackendProxy=true|false (BETA - default=true) AnyVolumeDataSource=true|false (ALPHA - default=false) AppArmor=true|false (BETA - default=true) BalanceAttachedNodeVolumes=true|false (ALPHA - default=false) BoundServiceAccountTokenVolume=true|false (ALPHA - default=false) CPUManager=true|false (BETA - default=true) CRIContainerLogRotation=true|false (BETA - default=true) CSIInlineVolume=true|false (BETA - default=true) CSIMigration=true|false (BETA - default=true) CSIMigrationAWS=true|false (BETA - default=false) CSIMigrationAWSComplete=true|false (ALPHA - default=false) CSIMigrationAzureDisk=true|false (ALPHA - default=false) CSIMigrationAzureDiskComplete=true|false (ALPHA - default=false) CSIMigrationAzureFile=true|false (ALPHA - default=false) CSIMigrationAzureFileComplete=true|false (ALPHA - default=false) CSIMigrationGCE=true|false (BETA - default=false) CSIMigrationGCEComplete=true|false (ALPHA - default=false) CSIMigrationOpenStack=true|false (BETA - default=false) CSIMigrationOpenStackComplete=true|false (ALPHA - default=false) ConfigurableFSGroupPolicy=true|false (ALPHA - default=false) CustomCPUCFSQuotaPeriod=true|false (ALPHA - default=false) DefaultIngressClass=true|false (BETA - default=true) DevicePlugins=true|false (BETA - default=true) DryRun=true|false (BETA - default=true) DynamicAuditing=true|false (ALPHA - default=false) DynamicKubeletConfig=true|false (BETA - default=true) EndpointSlice=true|false (BETA - default=true) EndpointSliceProxying=true|false (ALPHA - default=false) EphemeralContainers=true|false (ALPHA - default=false) EvenPodsSpread=true|false (BETA - default=true) ExpandCSIVolumes=true|false (BETA - default=true) ExpandInUsePersistentVolumes=true|false (BETA - default=true) ExpandPersistentVolumes=true|false (BETA - default=true) ExperimentalHostUserNamespaceDefaulting=true|false (BETA - default=false) HPAScaleToZero=true|false (ALPHA - default=false) HugePageStorageMediumSize=true|false (ALPHA - default=false) HyperVContainer=true|false (ALPHA - default=false) IPv6DualStack=true|false (ALPHA - default=false) ImmutableEphemeralVolumes=true|false (ALPHA - default=false) KubeletPodResources=true|false (BETA - default=true) LegacyNodeRoleBehavior=true|false (ALPHA - default=true) LocalStorageCapacityIsolation=true|false (BETA - default=true) LocalStorageCapacityIsolationFSQuotaMonitoring=true|false (ALPHA - default=false) NodeDisruptionExclusion=true|false (ALPHA - default=false) NonPreemptingPriority=true|false (ALPHA - default=false) PodDisruptionBudget=true|false (BETA - default=true) PodOverhead=true|false (BETA - default=true) ProcMountType=true|false (ALPHA - default=false) QOSReserved=true|false (ALPHA - default=false) RemainingItemCount=true|false (BETA - default=true) RemoveSelfLink=true|false (ALPHA - default=false) ResourceLimitsPriorityFunction=true|false (ALPHA - default=false) RotateKubeletClientCertificate=true|false (BETA - default=true) RotateKubeletServerCertificate=true|false (BETA - default=true) RunAsGroup=true|false (BETA - default=true) RuntimeClass=true|false (BETA - default=true) SCTPSupport=true|false (ALPHA - default=false) SelectorIndex=true|false (ALPHA - default=false) ServerSideApply=true|false (BETA - default=true) ServiceAccountIssuerDiscovery=true|false (ALPHA - default=false) ServiceAppProtocol=true|false (ALPHA - default=false) ServiceNodeExclusion=true|false (ALPHA - default=false) ServiceTopology=true|false (ALPHA - default=false) StartupProbe=true|false (BETA - default=true) StorageVersionHash=true|false (BETA - default=true) SupportNodePidsLimit=true|false (BETA - default=true) SupportPodPidsLimit=true|false (BETA - default=true) Sysctls=true|false (BETA - default=true) TTLAfterFinished=true|false (ALPHA - default=false) TokenRequest=true|false (BETA - default=true) TokenRequestProjection=true|false (BETA - default=true) TopologyManager=true|false (BETA - default=true) ValidateProxyRedirects=true|false (BETA - default=true) VolumeSnapshotDataSource=true|false (BETA - default=true) WinDSR=true|false (ALPHA - default=false) WinOverlay=true|false (ALPHA - default=false) |
+|
--hard-pod-affinity-symmetric-weight int32 Default: 1 | +|
DEPRECATED: RequiredDuringScheduling affinity is not symmetric, but there is an implicit PreferredDuringScheduling affinity rule corresponding to every RequiredDuringScheduling affinity rule. --hard-pod-affinity-symmetric-weight represents the weight of implicit PreferredDuringScheduling affinity rule. Must be in the range 0-100.This option was moved to the policy configuration file | +|
-h, --help | +|
help for kube-scheduler | +|
--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: 100 | +|
DEPRECATED: burst to use while talking with kubernetes apiserver | +|
--kube-api-content-type string Default: "application/vnd.kubernetes.protobuf" | +|
DEPRECATED: content type of requests sent to apiserver. | +|
--kube-api-qps float32 Default: 50 | +|
DEPRECATED: QPS to use while talking with kubernetes apiserver | +|
--kubeconfig string | +|
DEPRECATED: 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: "endpointsleases" | +|
The type of resource object that is used for locking during leader election. Supported options are endpoints (default) and `configmaps`. | +|
--leader-elect-resource-name string Default: "kube-scheduler" | +|
The name of resource object that is used for locking during leader election. | +|
--leader-elect-resource-namespace string Default: "kube-system" | +|
The namespace of resource object that is used for locking during leader election. | +|
--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" | +|
DEPRECATED: define the name of the lock object. Will be removed in favor of leader-elect-resource-name | +|
--lock-object-namespace string Default: "kube-system" | +|
DEPRECATED: define the namespace of the lock object. Will be removed in favor of leader-elect-resource-namespace. | +|
--log-backtrace-at traceLocation Default: :0 | +|
when logging hits line file:N, emit a stack trace | +|
--log-dir string | +|
If non-empty, write log files in this directory | +|
--log-file string | +|
If non-empty, use this log file | +|
--log-file-max-size uint Default: 1800 | +|
Defines the maximum size a log file can grow to. Unit is megabytes. If the value is 0, the maximum file size is unlimited. | +|
--log-flush-frequency duration Default: 5s | +|
Maximum number of seconds between log flushes | +|
--logtostderr Default: true | +|
log to standard error instead of files | +|
--master string | +|
The address of the Kubernetes API server (overrides any value in kubeconfig) | +|
--policy-config-file string | +|
DEPRECATED: file with scheduler policy configuration. This file is used if policy ConfigMap is not provided or --use-legacy-policy-config=true | +|
--policy-configmap string | +|
DEPRECATED: 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 Default: "kube-system" | +|
DEPRECATED: the namespace where policy ConfigMap is located. The kube-system namespace will be used if this is not provided or is empty. | +|
--port int Default: 10251 | +|
DEPRECATED: the port on which to serve HTTP insecurely without authentication and authorization. If 0, don't serve plain HTTP at all. See --secure-port instead. | +|
--profiling Default: true | +|
DEPRECATED: enable profiling via web interface host:port/debug/pprof/ | +|
--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. WARNING: generally do not depend on authorization being already done for incoming requests. | +|
--requestheader-extra-headers-prefix stringSlice Default: [x-remote-extra-] | +|
List of request header prefixes to inspect. X-Remote-Extra- is suggested. | +|
--requestheader-group-headers stringSlice Default: [x-remote-group] | +|
List of request headers to inspect for groups. X-Remote-Group is suggested. | +|
--requestheader-username-headers stringSlice Default: [x-remote-user] | +|
List of request headers to inspect for usernames. X-Remote-User is common. | +|
--scheduler-name string Default: "default-scheduler" | +|
DEPRECATED: name of the scheduler, used to select which pods will be processed by this scheduler, based on pod's "spec.schedulerName". | +|
--secure-port int Default: 10259 | +|
The port on which to serve HTTPS with authentication and authorization. If 0, don't serve HTTPS at all. | +|
--show-hidden-metrics-for-version string | +|
The previous version for which you want to show hidden metrics. Only the previous minor version is meaningful, other values will not be allowed. Accepted format of version is <major>.<minor>, e.g.: '1.16'. The purpose of this format is make sure you have the opportunity to notice if the next release hides additional metrics, rather than being surprised when they are permanently removed in the release after that. | +|
--skip-headers | +|
If true, avoid header prefixes in the log messages | +|
--skip-log-headers | +|
If true, avoid headers when opening log files | +|
--stderrthreshold severity Default: 2 | +|
logs at or above this threshold go to stderr | +|
--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. If omitted, the default Go cipher suites will be use. Possible values: TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA,TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256,TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256,TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA,TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384,TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305,TLS_ECDHE_ECDSA_WITH_RC4_128_SHA,TLS_ECDHE_RSA_WITH_3DES_EDE_CBC_SHA,TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA,TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256,TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256,TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA,TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384,TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305,TLS_ECDHE_RSA_WITH_RC4_128_SHA,TLS_RSA_WITH_3DES_EDE_CBC_SHA,TLS_RSA_WITH_AES_128_CBC_SHA,TLS_RSA_WITH_AES_128_CBC_SHA256,TLS_RSA_WITH_AES_128_GCM_SHA256,TLS_RSA_WITH_AES_256_CBC_SHA,TLS_RSA_WITH_AES_256_GCM_SHA384,TLS_RSA_WITH_RC4_128_SHA | +|
--tls-min-version string | +|
Minimum TLS version supported. Possible values: VersionTLS10, VersionTLS11, VersionTLS12, VersionTLS13 | +|
--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. The domain patterns also allow IP addresses, but IPs should only be used if the apiserver has visibility to the IP address requested by a client. 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-legacy-policy-config | +|
DEPRECATED: when set to true, scheduler will ignore policy ConfigMap and uses policy config file | +|
-v, --v Level | +|
number for the log level verbosity | +|
--version version[=true] | +|
Print version information and quit | +|
--vmodule moduleSpec | +|
comma-separated list of pattern=N settings for file-filtered logging | +|
--write-config-to string | +|
If set, write the configuration values to this file and exit. | +
--add-dir-header | -|
If true, adds the file directory to the header | -|
--alsologtostderr | -|
log to standard error as well as files | -|
--application-metrics-count-limit int Default: 100 | -|
Max number of application metrics to store (per container) | -|
--as string | -|
Username to impersonate for the operation | -|
--as-group stringArray | -|
Group to impersonate for the operation, this flag can be repeated to specify multiple groups. | -|
--azure-container-registry-config string | -|
Path to the file containing Azure container registry configuration information. | -|
--boot-id-file string Default: "/proc/sys/kernel/random/boot_id" | -|
Comma-separated list of files to check for boot-id. Use the first one that exists. | -|
--cache-dir string Default: "$HOME/.kube/http-cache" | -|
Default HTTP cache directory | -|
--certificate-authority string | -|
Path to a cert file for the certificate authority | -|
--client-certificate string | -|
Path to a client certificate file for TLS | -|
--client-key string | -|
Path to a client key file for TLS | -|
--cloud-provider-gce-l7lb-src-cidrs cidrs Default: 130.211.0.0/22,35.191.0.0/16 | -|
CIDRs opened in GCE firewall for L7 LB traffic proxy & health checks | -|
--cloud-provider-gce-lb-src-cidrs cidrs Default: 130.211.0.0/22,209.85.152.0/22,209.85.204.0/22,35.191.0.0/16 | -|
CIDRs opened in GCE firewall for L4 LB traffic proxy & health checks | -|
--cluster string | -|
The name of the kubeconfig cluster to use | -|
--container-hints string Default: "/etc/cadvisor/container_hints.json" | -|
location of the container hints file | -|
--containerd string Default: "/run/containerd/containerd.sock" | -|
containerd endpoint | -|
--containerd-namespace string Default: "k8s.io" | -|
containerd namespace | -|
--context string | -|
The name of the kubeconfig context to use | -|
--default-not-ready-toleration-seconds int Default: 300 | -|
Indicates the tolerationSeconds of the toleration for notReady:NoExecute that is added by default to every pod that does not already have such a toleration. | -|
--default-unreachable-toleration-seconds int Default: 300 | -|
Indicates the tolerationSeconds of the toleration for unreachable:NoExecute that is added by default to every pod that does not already have such a toleration. | -|
--disable-root-cgroup-stats | -|
Disable collecting root Cgroup stats | -|
--docker string Default: "unix:///var/run/docker.sock" | -|
docker endpoint | -|
--docker-env-metadata-whitelist string | -|
a comma-separated list of environment variable keys that needs to be collected for docker containers | -|
--docker-only | -|
Only report docker containers in addition to root stats | -|
--docker-root string Default: "/var/lib/docker" | -|
DEPRECATED: docker root is read from docker info (this is a fallback, default: /var/lib/docker) | -|
--docker-tls | -|
use TLS to connect to docker | -|
--docker-tls-ca string Default: "ca.pem" | -|
path to trusted CA | -|
--docker-tls-cert string Default: "cert.pem" | -|
path to client certificate | -|
--docker-tls-key string Default: "key.pem" | -|
path to private key | -|
--enable-load-reader | -|
Whether to enable cpu load reader | -|
--event-storage-age-limit string Default: "default=0" | -|
Max length of time for which to store events (per type). Value is a comma separated list of key values, where the keys are event types (e.g.: creation, oom) or "default" and the value is a duration. Default is applied to all non-specified event types | -|
--event-storage-event-limit string Default: "default=0" | -|
Max number of events to store (per type). Value is a comma separated list of key values, where the keys are event types (e.g.: creation, oom) or "default" and the value is an integer. Default is applied to all non-specified event types | -|
--global-housekeeping-interval duration Default: 1m0s | -|
Interval between global housekeepings | -|
-h, --help | -|
help for kubectl | -|
--housekeeping-interval duration Default: 10s | -|
Interval between container housekeepings | -|
--insecure-skip-tls-verify | -|
If true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure | -|
--kubeconfig string | -|
Path to the kubeconfig file to use for CLI requests. | -|
--log-backtrace-at traceLocation Default: :0 | -|
when logging hits line file:N, emit a stack trace | -|
--log-cadvisor-usage | -|
Whether to log the usage of the cAdvisor container | -|
--log-dir string | -|
If non-empty, write log files in this directory | -|
--log-file string | -|
If non-empty, use this log file | -|
--log-file-max-size uint Default: 1800 | -|
Defines the maximum size a log file can grow to. Unit is megabytes. If the value is 0, the maximum file size is unlimited. | -|
--log-flush-frequency duration Default: 5s | -|
Maximum number of seconds between log flushes | -|
--logtostderr Default: true | -|
log to standard error instead of files | -|
--machine-id-file string Default: "/etc/machine-id,/var/lib/dbus/machine-id" | -|
Comma-separated list of files to check for machine-id. Use the first one that exists. | -|
--match-server-version | -|
Require server version to match client version | -|
-n, --namespace string | -|
If present, the namespace scope for this CLI request | -|
--password string | -|
Password for basic authentication to the API server | -|
--profile string Default: "none" | -|
Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex) | -|
--profile-output string Default: "profile.pprof" | -|
Name of the file to write the profile to | -|
--request-timeout string Default: "0" | -|
The length of time to wait before giving up on a single server request. Non-zero values should contain a corresponding time unit (e.g. 1s, 2m, 3h). A value of zero means don't timeout requests. | -|
-s, --server string | -|
The address and port of the Kubernetes API server | -|
--skip-headers | -|
If true, avoid header prefixes in the log messages | -|
--skip-log-headers | -|
If true, avoid headers when opening log files | -|
--stderrthreshold severity Default: 2 | -|
logs at or above this threshold go to stderr | -|
--storage-driver-buffer-duration duration Default: 1m0s | -|
Writes in the storage driver will be buffered for this duration, and committed to the non memory backends as a single transaction | -|
--storage-driver-db string Default: "cadvisor" | -|
database name | -|
--storage-driver-host string Default: "localhost:8086" | -|
database host:port | -|
--storage-driver-password string Default: "root" | -|
database password | -|
--storage-driver-secure | -|
use secure connection with database | -|
--storage-driver-table string Default: "stats" | -|
table name | -|
--storage-driver-user string Default: "root" | -|
database username | -|
--tls-server-name string | -|
Server name to use for server certificate validation. If it is not provided, the hostname used to contact the server is used | -|
--token string | -|
Bearer token for authentication to the API server | -|
--update-machine-info-interval duration Default: 5m0s | -|
Interval between machine info updates. | -|
--user string | -|
The name of the kubeconfig user to use | -|
--username string | -|
Username for basic authentication to the API server | -|
-v, --v Level | -|
number for the log level verbosity | -|
--version version[=true] | -|
Print version information and quit | -|
--vmodule moduleSpec | -|
comma-separated list of pattern=N settings for file-filtered logging | -
--add-dir-header | +|
If true, adds the file directory to the header | +|
--alsologtostderr | +|
log to standard error as well as files | +|
--application-metrics-count-limit int Default: 100 | +|
Max number of application metrics to store (per container) | +|
--as string | +|
Username to impersonate for the operation | +|
--as-group stringArray | +|
Group to impersonate for the operation, this flag can be repeated to specify multiple groups. | +|
--azure-container-registry-config string | +|
Path to the file containing Azure container registry configuration information. | +|
--boot-id-file string Default: "/proc/sys/kernel/random/boot_id" | +|
Comma-separated list of files to check for boot-id. Use the first one that exists. | +|
--cache-dir string Default: "$HOME/.kube/http-cache" | +|
Default HTTP cache directory | +|
--certificate-authority string | +|
Path to a cert file for the certificate authority | +|
--client-certificate string | +|
Path to a client certificate file for TLS | +|
--client-key string | +|
Path to a client key file for TLS | +|
--cloud-provider-gce-l7lb-src-cidrs cidrs Default: 130.211.0.0/22,35.191.0.0/16 | +|
CIDRs opened in GCE firewall for L7 LB traffic proxy & health checks | +|
--cloud-provider-gce-lb-src-cidrs cidrs Default: 130.211.0.0/22,209.85.152.0/22,209.85.204.0/22,35.191.0.0/16 | +|
CIDRs opened in GCE firewall for L4 LB traffic proxy & health checks | +|
--cluster string | +|
The name of the kubeconfig cluster to use | +|
--container-hints string Default: "/etc/cadvisor/container_hints.json" | +|
location of the container hints file | +|
--containerd string Default: "/run/containerd/containerd.sock" | +|
containerd endpoint | +|
--containerd-namespace string Default: "k8s.io" | +|
containerd namespace | +|
--context string | +|
The name of the kubeconfig context to use | +|
--default-not-ready-toleration-seconds int Default: 300 | +|
Indicates the tolerationSeconds of the toleration for notReady:NoExecute that is added by default to every pod that does not already have such a toleration. | +|
--default-unreachable-toleration-seconds int Default: 300 | +|
Indicates the tolerationSeconds of the toleration for unreachable:NoExecute that is added by default to every pod that does not already have such a toleration. | +|
--disable-root-cgroup-stats | +|
Disable collecting root Cgroup stats | +|
--docker string Default: "unix:///var/run/docker.sock" | +|
docker endpoint | +|
--docker-env-metadata-whitelist string | +|
a comma-separated list of environment variable keys that needs to be collected for docker containers | +|
--docker-only | +|
Only report docker containers in addition to root stats | +|
--docker-root string Default: "/var/lib/docker" | +|
DEPRECATED: docker root is read from docker info (this is a fallback, default: /var/lib/docker) | +|
--docker-tls | +|
use TLS to connect to docker | +|
--docker-tls-ca string Default: "ca.pem" | +|
path to trusted CA | +|
--docker-tls-cert string Default: "cert.pem" | +|
path to client certificate | +|
--docker-tls-key string Default: "key.pem" | +|
path to private key | +|
--enable-load-reader | +|
Whether to enable cpu load reader | +|
--event-storage-age-limit string Default: "default=0" | +|
Max length of time for which to store events (per type). Value is a comma separated list of key values, where the keys are event types (e.g.: creation, oom) or "default" and the value is a duration. Default is applied to all non-specified event types | +|
--event-storage-event-limit string Default: "default=0" | +|
Max number of events to store (per type). Value is a comma separated list of key values, where the keys are event types (e.g.: creation, oom) or "default" and the value is an integer. Default is applied to all non-specified event types | +|
--global-housekeeping-interval duration Default: 1m0s | +|
Interval between global housekeepings | +|
-h, --help | +|
help for kubectl | +|
--housekeeping-interval duration Default: 10s | +|
Interval between container housekeepings | +|
--insecure-skip-tls-verify | +|
If true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure | +|
--kubeconfig string | +|
Path to the kubeconfig file to use for CLI requests. | +|
--log-backtrace-at traceLocation Default: :0 | +|
when logging hits line file:N, emit a stack trace | +|
--log-cadvisor-usage | +|
Whether to log the usage of the cAdvisor container | +|
--log-dir string | +|
If non-empty, write log files in this directory | +|
--log-file string | +|
If non-empty, use this log file | +|
--log-file-max-size uint Default: 1800 | +|
Defines the maximum size a log file can grow to. Unit is megabytes. If the value is 0, the maximum file size is unlimited. | +|
--log-flush-frequency duration Default: 5s | +|
Maximum number of seconds between log flushes | +|
--logtostderr Default: true | +|
log to standard error instead of files | +|
--machine-id-file string Default: "/etc/machine-id,/var/lib/dbus/machine-id" | +|
Comma-separated list of files to check for machine-id. Use the first one that exists. | +|
--match-server-version | +|
Require server version to match client version | +|
-n, --namespace string | +|
If present, the namespace scope for this CLI request | +|
--password string | +|
Password for basic authentication to the API server | +|
--profile string Default: "none" | +|
Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex) | +|
--profile-output string Default: "profile.pprof" | +|
Name of the file to write the profile to | +|
--request-timeout string Default: "0" | +|
The length of time to wait before giving up on a single server request. Non-zero values should contain a corresponding time unit (e.g. 1s, 2m, 3h). A value of zero means don't timeout requests. | +|
-s, --server string | +|
The address and port of the Kubernetes API server | +|
--skip-headers | +|
If true, avoid header prefixes in the log messages | +|
--skip-log-headers | +|
If true, avoid headers when opening log files | +|
--stderrthreshold severity Default: 2 | +|
logs at or above this threshold go to stderr | +|
--storage-driver-buffer-duration duration Default: 1m0s | +|
Writes in the storage driver will be buffered for this duration, and committed to the non memory backends as a single transaction | +|
--storage-driver-db string Default: "cadvisor" | +|
database name | +|
--storage-driver-host string Default: "localhost:8086" | +|
database host:port | +|
--storage-driver-password string Default: "root" | +|
database password | +|
--storage-driver-secure | +|
use secure connection with database | +|
--storage-driver-table string Default: "stats" | +|
table name | +|
--storage-driver-user string Default: "root" | +|
database username | +|
--tls-server-name string | +|
Server name to use for server certificate validation. If it is not provided, the hostname used to contact the server is used | +|
--token string | +|
Bearer token for authentication to the API server | +|
--update-machine-info-interval duration Default: 5m0s | +|
Interval between machine info updates. | +|
--user string | +|
The name of the kubeconfig user to use | +|
--username string | +|
Username for basic authentication to the API server | +|
-v, --v Level | +|
number for the log level verbosity | +|
--version version[=true] | +|
Print version information and quit | +|
--vmodule moduleSpec | +|
comma-separated list of pattern=N settings for file-filtered logging | +
-h, --help | -|
help for kubeadm | -|
-h, --help | +|
help for kubeadm | +|
--rootfs string | -|
[EXPERIMENTAL] The path to the 'real' host root filesystem. | -|
--rootfs string | +|
[EXPERIMENTAL] The path to the 'real' host root filesystem. | +
-h, --help | -|
help for alpha | -|
-h, --help | +|
help for alpha | +
--rootfs string | -|
[EXPERIMENTAL] The path to the 'real' host root filesystem. | -|
--rootfs string | +|
[EXPERIMENTAL] The path to the 'real' host root filesystem. | +
-h, --help | -|
help for certs | -|
-h, --help | +|
help for certs | +
--rootfs string | -|
[EXPERIMENTAL] The path to the 'real' host root filesystem. | -|
--rootfs string | +|
[EXPERIMENTAL] The path to the 'real' host root filesystem. | +
-h, --help | -|
help for certificate-key | -|
-h, --help | +|
help for certificate-key | +
--rootfs string | -|
[EXPERIMENTAL] The path to the 'real' host root filesystem. | -|
--rootfs string | +|
[EXPERIMENTAL] The path to the 'real' host root filesystem. | +
--cert-dir string Default: "/etc/kubernetes/pki" | -|
The path where to save the certificates | -|
--cert-dir string Default: "/etc/kubernetes/pki" | +|
The path where to save the certificates | +|
--config string | -|
Path to a kubeadm configuration file. | -|
--config string | +|
Path to a kubeadm configuration file. | +|
-h, --help | -|
help for check-expiration | -|
-h, --help | +|
help for check-expiration | +|
--kubeconfig string Default: "/etc/kubernetes/admin.conf" | -|
The kubeconfig file to use when talking to the cluster. If the flag is not set, a set of standard locations can be searched for an existing kubeconfig file. | -|
--kubeconfig string Default: "/etc/kubernetes/admin.conf" | +|
The kubeconfig file to use when talking to the cluster. If the flag is not set, a set of standard locations can be searched for an existing kubeconfig file. | +
--rootfs string | -|
[EXPERIMENTAL] The path to the 'real' host root filesystem. | -|
--rootfs string | +|
[EXPERIMENTAL] The path to the 'real' host root filesystem. | +
-h, --help | -|
help for renew | -|
-h, --help | +|
help for renew | +
--rootfs string | -|
[EXPERIMENTAL] The path to the 'real' host root filesystem. | -|
--rootfs string | +|
[EXPERIMENTAL] The path to the 'real' host root filesystem. | +
--cert-dir string Default: "/etc/kubernetes/pki" | -|
The path where to save the certificates | -|
--cert-dir string Default: "/etc/kubernetes/pki" | +|
The path where to save the certificates | +|
--config string | -|
Path to a kubeadm configuration file. | -|
--config string | +|
Path to a kubeadm configuration file. | +|
--csr-dir string | -|
The path to output the CSRs and private keys to | -|
--csr-dir string | +|
The path to output the CSRs and private keys to | +|
--csr-only | -|
Create CSRs instead of generating certificates | -|
--csr-only | +|
Create CSRs instead of generating certificates | +|
-h, --help | -|
help for admin.conf | -|
-h, --help | +|
help for admin.conf | +|
--kubeconfig string Default: "/etc/kubernetes/admin.conf" | -|
The kubeconfig file to use when talking to the cluster. If the flag is not set, a set of standard locations can be searched for an existing kubeconfig file. | -|
--kubeconfig string Default: "/etc/kubernetes/admin.conf" | +|
The kubeconfig file to use when talking to the cluster. If the flag is not set, a set of standard locations can be searched for an existing kubeconfig file. | +
--rootfs string | -|
[EXPERIMENTAL] The path to the 'real' host root filesystem. | -|
--rootfs string | +|
[EXPERIMENTAL] The path to the 'real' host root filesystem. | +
--cert-dir string Default: "/etc/kubernetes/pki" | -|
The path where to save the certificates | -|
--cert-dir string Default: "/etc/kubernetes/pki" | +|
The path where to save the certificates | +|
--config string | -|
Path to a kubeadm configuration file. | -|
--config string | +|
Path to a kubeadm configuration file. | +|
--csr-dir string | -|
The path to output the CSRs and private keys to | -|
--csr-dir string | +|
The path to output the CSRs and private keys to | +|
--csr-only | -|
Create CSRs instead of generating certificates | -|
--csr-only | +|
Create CSRs instead of generating certificates | +|
-h, --help | -|
help for all | -|
-h, --help | +|
help for all | +|
--kubeconfig string Default: "/etc/kubernetes/admin.conf" | -|
The kubeconfig file to use when talking to the cluster. If the flag is not set, a set of standard locations can be searched for an existing kubeconfig file. | -|
--kubeconfig string Default: "/etc/kubernetes/admin.conf" | +|
The kubeconfig file to use when talking to the cluster. If the flag is not set, a set of standard locations can be searched for an existing kubeconfig file. | +
--rootfs string | -|
[EXPERIMENTAL] The path to the 'real' host root filesystem. | -|
--rootfs string | +|
[EXPERIMENTAL] The path to the 'real' host root filesystem. | +
--cert-dir string Default: "/etc/kubernetes/pki" | -|
The path where to save the certificates | -|
--cert-dir string Default: "/etc/kubernetes/pki" | +|
The path where to save the certificates | +|
--config string | -|
Path to a kubeadm configuration file. | -|
--config string | +|
Path to a kubeadm configuration file. | +|
--csr-dir string | -|
The path to output the CSRs and private keys to | -|
--csr-dir string | +|
The path to output the CSRs and private keys to | +|
--csr-only | -|
Create CSRs instead of generating certificates | -|
--csr-only | +|
Create CSRs instead of generating certificates | +|
-h, --help | -|
help for apiserver-etcd-client | -|
-h, --help | +|
help for apiserver-etcd-client | +|
--kubeconfig string Default: "/etc/kubernetes/admin.conf" | -|
The kubeconfig file to use when talking to the cluster. If the flag is not set, a set of standard locations can be searched for an existing kubeconfig file. | -|
--kubeconfig string Default: "/etc/kubernetes/admin.conf" | +|
The kubeconfig file to use when talking to the cluster. If the flag is not set, a set of standard locations can be searched for an existing kubeconfig file. | +
--rootfs string | -|
[EXPERIMENTAL] The path to the 'real' host root filesystem. | -|
--rootfs string | +|
[EXPERIMENTAL] The path to the 'real' host root filesystem. | +
--cert-dir string Default: "/etc/kubernetes/pki" | -|
The path where to save the certificates | -|
--cert-dir string Default: "/etc/kubernetes/pki" | +|
The path where to save the certificates | +|
--config string | -|
Path to a kubeadm configuration file. | -|
--config string | +|
Path to a kubeadm configuration file. | +|
--csr-dir string | -|
The path to output the CSRs and private keys to | -|
--csr-dir string | +|
The path to output the CSRs and private keys to | +|
--csr-only | -|
Create CSRs instead of generating certificates | -|
--csr-only | +|
Create CSRs instead of generating certificates | +|
-h, --help | -|
help for apiserver-kubelet-client | -|
-h, --help | +|
help for apiserver-kubelet-client | +|
--kubeconfig string Default: "/etc/kubernetes/admin.conf" | -|
The kubeconfig file to use when talking to the cluster. If the flag is not set, a set of standard locations can be searched for an existing kubeconfig file. | -|
--kubeconfig string Default: "/etc/kubernetes/admin.conf" | +|
The kubeconfig file to use when talking to the cluster. If the flag is not set, a set of standard locations can be searched for an existing kubeconfig file. | +
--rootfs string | -|
[EXPERIMENTAL] The path to the 'real' host root filesystem. | -|
--rootfs string | +|
[EXPERIMENTAL] The path to the 'real' host root filesystem. | +
--cert-dir string Default: "/etc/kubernetes/pki" | -|
The path where to save the certificates | -|
--cert-dir string Default: "/etc/kubernetes/pki" | +|
The path where to save the certificates | +|
--config string | -|
Path to a kubeadm configuration file. | -|
--config string | +|
Path to a kubeadm configuration file. | +|
--csr-dir string | -|
The path to output the CSRs and private keys to | -|
--csr-dir string | +|
The path to output the CSRs and private keys to | +|
--csr-only | -|
Create CSRs instead of generating certificates | -|
--csr-only | +|
Create CSRs instead of generating certificates | +|
-h, --help | -|
help for apiserver | -|
-h, --help | +|
help for apiserver | +|
--kubeconfig string Default: "/etc/kubernetes/admin.conf" | -|
The kubeconfig file to use when talking to the cluster. If the flag is not set, a set of standard locations can be searched for an existing kubeconfig file. | -|
--kubeconfig string Default: "/etc/kubernetes/admin.conf" | +|
The kubeconfig file to use when talking to the cluster. If the flag is not set, a set of standard locations can be searched for an existing kubeconfig file. | +
--rootfs string | -|
[EXPERIMENTAL] The path to the 'real' host root filesystem. | -|
--rootfs string | +|
[EXPERIMENTAL] The path to the 'real' host root filesystem. | +
--cert-dir string Default: "/etc/kubernetes/pki" | -|
The path where to save the certificates | -|
--cert-dir string Default: "/etc/kubernetes/pki" | +|
The path where to save the certificates | +|
--config string | -|
Path to a kubeadm configuration file. | -|
--config string | +|
Path to a kubeadm configuration file. | +|
--csr-dir string | -|
The path to output the CSRs and private keys to | -|
--csr-dir string | +|
The path to output the CSRs and private keys to | +|
--csr-only | -|
Create CSRs instead of generating certificates | -|
--csr-only | +|
Create CSRs instead of generating certificates | +|
-h, --help | -|
help for controller-manager.conf | -|
-h, --help | +|
help for controller-manager.conf | +|
--kubeconfig string Default: "/etc/kubernetes/admin.conf" | -|
The kubeconfig file to use when talking to the cluster. If the flag is not set, a set of standard locations can be searched for an existing kubeconfig file. | -|
--kubeconfig string Default: "/etc/kubernetes/admin.conf" | +|
The kubeconfig file to use when talking to the cluster. If the flag is not set, a set of standard locations can be searched for an existing kubeconfig file. | +
--rootfs string | -|
[EXPERIMENTAL] The path to the 'real' host root filesystem. | -|
--rootfs string | +|
[EXPERIMENTAL] The path to the 'real' host root filesystem. | +
--cert-dir string Default: "/etc/kubernetes/pki" | -|
The path where to save the certificates | -|
--cert-dir string Default: "/etc/kubernetes/pki" | +|
The path where to save the certificates | +|
--config string | -|
Path to a kubeadm configuration file. | -|
--config string | +|
Path to a kubeadm configuration file. | +|
--csr-dir string | -|
The path to output the CSRs and private keys to | -|
--csr-dir string | +|
The path to output the CSRs and private keys to | +|
--csr-only | -|
Create CSRs instead of generating certificates | -|
--csr-only | +|
Create CSRs instead of generating certificates | +|
-h, --help | -|
help for etcd-healthcheck-client | -|
-h, --help | +|
help for etcd-healthcheck-client | +|
--kubeconfig string Default: "/etc/kubernetes/admin.conf" | -|
The kubeconfig file to use when talking to the cluster. If the flag is not set, a set of standard locations can be searched for an existing kubeconfig file. | -|
--kubeconfig string Default: "/etc/kubernetes/admin.conf" | +|
The kubeconfig file to use when talking to the cluster. If the flag is not set, a set of standard locations can be searched for an existing kubeconfig file. | +
--rootfs string | -|
[EXPERIMENTAL] The path to the 'real' host root filesystem. | -|
--rootfs string | +|
[EXPERIMENTAL] The path to the 'real' host root filesystem. | +
--cert-dir string Default: "/etc/kubernetes/pki" | -|
The path where to save the certificates | -|
--cert-dir string Default: "/etc/kubernetes/pki" | +|
The path where to save the certificates | +|
--config string | -|
Path to a kubeadm configuration file. | -|
--config string | +|
Path to a kubeadm configuration file. | +|
--csr-dir string | -|
The path to output the CSRs and private keys to | -|
--csr-dir string | +|
The path to output the CSRs and private keys to | +|
--csr-only | -|
Create CSRs instead of generating certificates | -|
--csr-only | +|
Create CSRs instead of generating certificates | +|
-h, --help | -|
help for etcd-peer | -|
-h, --help | +|
help for etcd-peer | +|
--kubeconfig string Default: "/etc/kubernetes/admin.conf" | -|
The kubeconfig file to use when talking to the cluster. If the flag is not set, a set of standard locations can be searched for an existing kubeconfig file. | -|
--kubeconfig string Default: "/etc/kubernetes/admin.conf" | +|
The kubeconfig file to use when talking to the cluster. If the flag is not set, a set of standard locations can be searched for an existing kubeconfig file. | +
--rootfs string | -|
[EXPERIMENTAL] The path to the 'real' host root filesystem. | -|
--rootfs string | +|
[EXPERIMENTAL] The path to the 'real' host root filesystem. | +
--cert-dir string Default: "/etc/kubernetes/pki" | -|
The path where to save the certificates | -|
--cert-dir string Default: "/etc/kubernetes/pki" | +|
The path where to save the certificates | +|
--config string | -|
Path to a kubeadm configuration file. | -|
--config string | +|
Path to a kubeadm configuration file. | +|
--csr-dir string | -|
The path to output the CSRs and private keys to | -|
--csr-dir string | +|
The path to output the CSRs and private keys to | +|
--csr-only | -|
Create CSRs instead of generating certificates | -|
--csr-only | +|
Create CSRs instead of generating certificates | +|
-h, --help | -|
help for etcd-server | -|
-h, --help | +|
help for etcd-server | +|
--kubeconfig string Default: "/etc/kubernetes/admin.conf" | -|
The kubeconfig file to use when talking to the cluster. If the flag is not set, a set of standard locations can be searched for an existing kubeconfig file. | -|
--kubeconfig string Default: "/etc/kubernetes/admin.conf" | +|
The kubeconfig file to use when talking to the cluster. If the flag is not set, a set of standard locations can be searched for an existing kubeconfig file. | +
--rootfs string | -|
[EXPERIMENTAL] The path to the 'real' host root filesystem. | -|
--rootfs string | +|
[EXPERIMENTAL] The path to the 'real' host root filesystem. | +
--cert-dir string Default: "/etc/kubernetes/pki" | -|
The path where to save the certificates | -|
--cert-dir string Default: "/etc/kubernetes/pki" | +|
The path where to save the certificates | +|
--config string | -|
Path to a kubeadm configuration file. | -|
--config string | +|
Path to a kubeadm configuration file. | +|
--csr-dir string | -|
The path to output the CSRs and private keys to | -|
--csr-dir string | +|
The path to output the CSRs and private keys to | +|
--csr-only | -|
Create CSRs instead of generating certificates | -|
--csr-only | +|
Create CSRs instead of generating certificates | +|
-h, --help | -|
help for front-proxy-client | -|
-h, --help | +|
help for front-proxy-client | +|
--kubeconfig string Default: "/etc/kubernetes/admin.conf" | -|
The kubeconfig file to use when talking to the cluster. If the flag is not set, a set of standard locations can be searched for an existing kubeconfig file. | -|
--kubeconfig string Default: "/etc/kubernetes/admin.conf" | +|
The kubeconfig file to use when talking to the cluster. If the flag is not set, a set of standard locations can be searched for an existing kubeconfig file. | +
--rootfs string | -|
[EXPERIMENTAL] The path to the 'real' host root filesystem. | -|
--rootfs string | +|
[EXPERIMENTAL] The path to the 'real' host root filesystem. | +
--cert-dir string Default: "/etc/kubernetes/pki" | -|
The path where to save the certificates | -|
--cert-dir string Default: "/etc/kubernetes/pki" | +|
The path where to save the certificates | +|
--config string | -|
Path to a kubeadm configuration file. | -|
--config string | +|
Path to a kubeadm configuration file. | +|
--csr-dir string | -|
The path to output the CSRs and private keys to | -|
--csr-dir string | +|
The path to output the CSRs and private keys to | +|
--csr-only | -|
Create CSRs instead of generating certificates | -|
--csr-only | +|
Create CSRs instead of generating certificates | +|
-h, --help | -|
help for scheduler.conf | -|
-h, --help | +|
help for scheduler.conf | +|
--kubeconfig string Default: "/etc/kubernetes/admin.conf" | -|
The kubeconfig file to use when talking to the cluster. If the flag is not set, a set of standard locations can be searched for an existing kubeconfig file. | -|
--kubeconfig string Default: "/etc/kubernetes/admin.conf" | +|
The kubeconfig file to use when talking to the cluster. If the flag is not set, a set of standard locations can be searched for an existing kubeconfig file. | +
--rootfs string | -|
[EXPERIMENTAL] The path to the 'real' host root filesystem. | -|
--rootfs string | +|
[EXPERIMENTAL] The path to the 'real' host root filesystem. | +
-h, --help | -|
help for kubeconfig | -|
-h, --help | +|
help for kubeconfig | +
--rootfs string | -|
[EXPERIMENTAL] The path to the 'real' host root filesystem. | -|
--rootfs string | +|
[EXPERIMENTAL] The path to the 'real' host root filesystem. | +
--apiserver-advertise-address string | -|
The IP address the API server is accessible on | -|
--apiserver-advertise-address string | +|
The IP address the API server is accessible on | +|
--apiserver-bind-port int32 Default: 6443 | -|
The port the API server is accessible on | -|
--apiserver-bind-port int32 Default: 6443 | +|
The port the API server is accessible on | +|
--cert-dir string Default: "/etc/kubernetes/pki" | -|
The path where certificates are stored | -|
--cert-dir string Default: "/etc/kubernetes/pki" | +|
The path where certificates are stored | +|
--client-name string | -|
The name of user. It will be used as the CN if client certificates are created | -|
--client-name string | +|
The name of user. It will be used as the CN if client certificates are created | +|
-h, --help | -|
help for user | -|
-h, --help | +|
help for user | +|
--org stringSlice | -|
The orgnizations of the client certificate. It will be used as the O if client certificates are created | -|
--org stringSlice | +|
The orgnizations of the client certificate. It will be used as the O if client certificates are created | +|
--token string | -|
The token that should be used as the authentication mechanism for this kubeconfig, instead of client certificates | -|
--token string | +|
The token that should be used as the authentication mechanism for this kubeconfig, instead of client certificates | +
--rootfs string | -|
[EXPERIMENTAL] The path to the 'real' host root filesystem. | -|
--rootfs string | +|
[EXPERIMENTAL] The path to the 'real' host root filesystem. | +
-h, --help | -|
help for kubelet | -|
-h, --help | +|
help for kubelet | +
--rootfs string | -|
[EXPERIMENTAL] The path to the 'real' host root filesystem. | -|
--rootfs string | +|
[EXPERIMENTAL] The path to the 'real' host root filesystem. | +
-h, --help | -|
help for config | -|
-h, --help | +|
help for config | +
--rootfs string | -|
[EXPERIMENTAL] The path to the 'real' host root filesystem. | -|
--rootfs string | +|
[EXPERIMENTAL] The path to the 'real' host root filesystem. | +
-h, --help | -|
help for enable-dynamic | -|
-h, --help | +|
help for enable-dynamic | +|
--kubeconfig string Default: "/etc/kubernetes/admin.conf" | -|
The kubeconfig file to use when talking to the cluster. If the flag is not set, a set of standard locations can be searched for an existing kubeconfig file. | -|
--kubeconfig string Default: "/etc/kubernetes/admin.conf" | +|
The kubeconfig file to use when talking to the cluster. If the flag is not set, a set of standard locations can be searched for an existing kubeconfig file. | +|
--kubelet-version string | -|
The desired version for the kubelet | -|
--kubelet-version string | +|
The desired version for the kubelet | +|
--node-name string | -|
Name of the node that should enable the dynamic kubelet configuration | -|
--node-name string | +|
Name of the node that should enable the dynamic kubelet configuration | +
--rootfs string | -|
[EXPERIMENTAL] The path to the 'real' host root filesystem. | -|
--rootfs string | +|
[EXPERIMENTAL] The path to the 'real' host root filesystem. | +
-h, --help | -|
help for selfhosting | -|
-h, --help | +|
help for selfhosting | +
--rootfs string | -|
[EXPERIMENTAL] The path to the 'real' host root filesystem. | -|
--rootfs string | +|
[EXPERIMENTAL] The path to the 'real' host root filesystem. | +
--cert-dir string Default: "/etc/kubernetes/pki" | -|
The path where certificates are stored | -|
--cert-dir string Default: "/etc/kubernetes/pki" | +|
The path where certificates are stored | +|
--config string | -|
Path to a kubeadm configuration file. | -|
--config string | +|
Path to a kubeadm configuration file. | +|
-f, --force | -|
Pivot the cluster without prompting for confirmation | -|
-f, --force | +|
Pivot the cluster without prompting for confirmation | +|
-h, --help | -|
help for pivot | -|
-h, --help | +|
help for pivot | +|
--kubeconfig string Default: "/etc/kubernetes/admin.conf" | -|
The kubeconfig file to use when talking to the cluster. If the flag is not set, a set of standard locations can be searched for an existing kubeconfig file. | -|
--kubeconfig string Default: "/etc/kubernetes/admin.conf" | +|
The kubeconfig file to use when talking to the cluster. If the flag is not set, a set of standard locations can be searched for an existing kubeconfig file. | +|
-s, --store-certs-in-secrets | -|
Enable storing certs in secrets | -|
-s, --store-certs-in-secrets | +|
Enable storing certs in secrets | +
--rootfs string | -|
[EXPERIMENTAL] The path to the 'real' host root filesystem. | -|
--rootfs string | +|
[EXPERIMENTAL] The path to the 'real' host root filesystem. | +
-h, --help | -|
help for completion | -|
-h, --help | +|
help for completion | +
--rootfs string | -|
[EXPERIMENTAL] The path to the 'real' host root filesystem. | -|
--rootfs string | +|
[EXPERIMENTAL] The path to the 'real' host root filesystem. | +
-h, --help | -|
help for config | -|
-h, --help | +|
help for config | +|
--kubeconfig string Default: "/etc/kubernetes/admin.conf" | -|
The kubeconfig file to use when talking to the cluster. If the flag is not set, a set of standard locations can be searched for an existing kubeconfig file. | -|
--kubeconfig string Default: "/etc/kubernetes/admin.conf" | +|
The kubeconfig file to use when talking to the cluster. If the flag is not set, a set of standard locations can be searched for an existing kubeconfig file. | +
--rootfs string | -|
[EXPERIMENTAL] The path to the 'real' host root filesystem. | -|
--rootfs string | +|
[EXPERIMENTAL] The path to the 'real' host root filesystem. | +
-h, --help | -|
help for images | -|
-h, --help | +|
help for images | +
--kubeconfig string Default: "/etc/kubernetes/admin.conf" | -|
The kubeconfig file to use when talking to the cluster. If the flag is not set, a set of standard locations can be searched for an existing kubeconfig file. | -|
--kubeconfig string Default: "/etc/kubernetes/admin.conf" | +|
The kubeconfig file to use when talking to the cluster. If the flag is not set, a set of standard locations can be searched for an existing kubeconfig file. | +|
--rootfs string | -|
[EXPERIMENTAL] The path to the 'real' host root filesystem. | -|
--rootfs string | +|
[EXPERIMENTAL] The path to the 'real' host root filesystem. | +
--allow-missing-template-keys Default: true | -|
If true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats. | -|
--allow-missing-template-keys Default: true | +|
If true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats. | +|
--config string | -|
Path to a kubeadm configuration file. | -|
--config string | +|
Path to a kubeadm configuration file. | +|
-o, --experimental-output string Default: "text" | -|
Output format. One of: text|json|yaml|go-template|go-template-file|template|templatefile|jsonpath|jsonpath-file. | -|
-o, --experimental-output string Default: "text" | +|
Output format. One of: text|json|yaml|go-template|go-template-file|template|templatefile|jsonpath|jsonpath-file. | +|
--feature-gates string | -|
A set of key=value pairs that describe feature gates for various features. Options are: IPv6DualStack=true|false (ALPHA - default=false) PublicKeysECDSA=true|false (ALPHA - default=false) |
- |
--feature-gates string | +|
A set of key=value pairs that describe feature gates for various features. Options are: IPv6DualStack=true|false (ALPHA - default=false) PublicKeysECDSA=true|false (ALPHA - default=false) |
+|
-h, --help | -|
help for list | -|
-h, --help | +|
help for list | +|
--image-repository string Default: "k8s.gcr.io" | -|
Choose a container registry to pull control plane images from | -|
--image-repository string Default: "k8s.gcr.io" | +|
Choose a container registry to pull control plane images from | +|
--kubernetes-version string Default: "stable-1" | -|
Choose a specific Kubernetes version for the control plane. | -|
--kubernetes-version string Default: "stable-1" | +|
Choose a specific Kubernetes version for the control plane. | +
--kubeconfig string Default: "/etc/kubernetes/admin.conf" | -|
The kubeconfig file to use when talking to the cluster. If the flag is not set, a set of standard locations can be searched for an existing kubeconfig file. | -|
--kubeconfig string Default: "/etc/kubernetes/admin.conf" | +|
The kubeconfig file to use when talking to the cluster. If the flag is not set, a set of standard locations can be searched for an existing kubeconfig file. | +|
--rootfs string | -|
[EXPERIMENTAL] The path to the 'real' host root filesystem. | -|
--rootfs string | +|
[EXPERIMENTAL] The path to the 'real' host root filesystem. | +
--config string | -|
Path to a kubeadm configuration file. | -|
--config string | +|
Path to a kubeadm configuration file. | +|
--cri-socket string | -|
Path to the CRI socket to connect. If empty kubeadm will try to auto-detect this value; use this option only if you have more than one CRI installed or if you have non-standard CRI socket. | -|
--cri-socket string | +|
Path to the CRI socket to connect. If empty kubeadm will try to auto-detect this value; use this option only if you have more than one CRI installed or if you have non-standard CRI socket. | +|
--feature-gates string | -|
A set of key=value pairs that describe feature gates for various features. Options are: IPv6DualStack=true|false (ALPHA - default=false) PublicKeysECDSA=true|false (ALPHA - default=false) |
- |
--feature-gates string | +|
A set of key=value pairs that describe feature gates for various features. Options are: IPv6DualStack=true|false (ALPHA - default=false) PublicKeysECDSA=true|false (ALPHA - default=false) |
+|
-h, --help | -|
help for pull | -|
-h, --help | +|
help for pull | +|
--image-repository string Default: "k8s.gcr.io" | -|
Choose a container registry to pull control plane images from | -|
--image-repository string Default: "k8s.gcr.io" | +|
Choose a container registry to pull control plane images from | +|
--kubernetes-version string Default: "stable-1" | -|
Choose a specific Kubernetes version for the control plane. | -|
--kubernetes-version string Default: "stable-1" | +|
Choose a specific Kubernetes version for the control plane. | +
--kubeconfig string Default: "/etc/kubernetes/admin.conf" | -|
The kubeconfig file to use when talking to the cluster. If the flag is not set, a set of standard locations can be searched for an existing kubeconfig file. | -|
--kubeconfig string Default: "/etc/kubernetes/admin.conf" | +|
The kubeconfig file to use when talking to the cluster. If the flag is not set, a set of standard locations can be searched for an existing kubeconfig file. | +|
--rootfs string | -|
[EXPERIMENTAL] The path to the 'real' host root filesystem. | -|
--rootfs string | +|
[EXPERIMENTAL] The path to the 'real' host root filesystem. | +
-h, --help | -|
help for migrate | -|
-h, --help | +|
help for migrate | +|
--new-config string | -|
Path to the resulting equivalent kubeadm config file using the new API version. Optional, if not specified output will be sent to STDOUT. | -|
--new-config string | +|
Path to the resulting equivalent kubeadm config file using the new API version. Optional, if not specified output will be sent to STDOUT. | +|
--old-config string | -|
Path to the kubeadm config file that is using an old API version and should be converted. This flag is mandatory. | -|
--old-config string | +|
Path to the kubeadm config file that is using an old API version and should be converted. This flag is mandatory. | +
--kubeconfig string Default: "/etc/kubernetes/admin.conf" | -|
The kubeconfig file to use when talking to the cluster. If the flag is not set, a set of standard locations can be searched for an existing kubeconfig file. | -|
--kubeconfig string Default: "/etc/kubernetes/admin.conf" | +|
The kubeconfig file to use when talking to the cluster. If the flag is not set, a set of standard locations can be searched for an existing kubeconfig file. | +|
--rootfs string | -|
[EXPERIMENTAL] The path to the 'real' host root filesystem. | -|
--rootfs string | +|
[EXPERIMENTAL] The path to the 'real' host root filesystem. | +
-h, --help | -|
help for print | -|
-h, --help | +|
help for print | +
--kubeconfig string Default: "/etc/kubernetes/admin.conf" | -|
The kubeconfig file to use when talking to the cluster. If the flag is not set, a set of standard locations can be searched for an existing kubeconfig file. | -|
--kubeconfig string Default: "/etc/kubernetes/admin.conf" | +|
The kubeconfig file to use when talking to the cluster. If the flag is not set, a set of standard locations can be searched for an existing kubeconfig file. | +|
--rootfs string | -|
[EXPERIMENTAL] The path to the 'real' host root filesystem. | -|
--rootfs string | +|
[EXPERIMENTAL] The path to the 'real' host root filesystem. | +
--component-configs stringSlice | -|
A comma-separated list for component config API objects to print the default values for. Available values: [KubeProxyConfiguration KubeletConfiguration]. If this flag is not set, no component configs will be printed. | -|
--component-configs stringSlice | +|
A comma-separated list for component config API objects to print the default values for. Available values: [KubeProxyConfiguration KubeletConfiguration]. If this flag is not set, no component configs will be printed. | +|
-h, --help | -|
help for init-defaults | -|
-h, --help | +|
help for init-defaults | +
--kubeconfig string Default: "/etc/kubernetes/admin.conf" | -|
The kubeconfig file to use when talking to the cluster. If the flag is not set, a set of standard locations can be searched for an existing kubeconfig file. | -|
--kubeconfig string Default: "/etc/kubernetes/admin.conf" | +|
The kubeconfig file to use when talking to the cluster. If the flag is not set, a set of standard locations can be searched for an existing kubeconfig file. | +|
--rootfs string | -|
[EXPERIMENTAL] The path to the 'real' host root filesystem. | -|
--rootfs string | +|
[EXPERIMENTAL] The path to the 'real' host root filesystem. | +
--component-configs stringSlice | -|
A comma-separated list for component config API objects to print the default values for. Available values: [KubeProxyConfiguration KubeletConfiguration]. If this flag is not set, no component configs will be printed. | -|
--component-configs stringSlice | +|
A comma-separated list for component config API objects to print the default values for. Available values: [KubeProxyConfiguration KubeletConfiguration]. If this flag is not set, no component configs will be printed. | +|
-h, --help | -|
help for join-defaults | -|
-h, --help | +|
help for join-defaults | +
--kubeconfig string Default: "/etc/kubernetes/admin.conf" | -|
The kubeconfig file to use when talking to the cluster. If the flag is not set, a set of standard locations can be searched for an existing kubeconfig file. | -|
--kubeconfig string Default: "/etc/kubernetes/admin.conf" | +|
The kubeconfig file to use when talking to the cluster. If the flag is not set, a set of standard locations can be searched for an existing kubeconfig file. | +|
--rootfs string | -|
[EXPERIMENTAL] The path to the 'real' host root filesystem. | -|
--rootfs string | +|
[EXPERIMENTAL] The path to the 'real' host root filesystem. | +
-h, --help | -|
help for view | -|
-h, --help | +|
help for view | +
--kubeconfig string Default: "/etc/kubernetes/admin.conf" | -|
The kubeconfig file to use when talking to the cluster. If the flag is not set, a set of standard locations can be searched for an existing kubeconfig file. | -|
--kubeconfig string Default: "/etc/kubernetes/admin.conf" | +|
The kubeconfig file to use when talking to the cluster. If the flag is not set, a set of standard locations can be searched for an existing kubeconfig file. | +|
--rootfs string | -|
[EXPERIMENTAL] The path to the 'real' host root filesystem. | -|
--rootfs string | +|
[EXPERIMENTAL] The path to the 'real' host root filesystem. | +
--apiserver-advertise-address string | -|
The IP address the API Server will advertise it's listening on. If not set the default network interface will be used. | -|
--apiserver-advertise-address string | +|
The IP address the API Server will advertise it's listening on. If not set the default network interface will be used. | +|
--apiserver-bind-port int32 Default: 6443 | -|
Port for the API Server to bind to. | -|
--apiserver-bind-port int32 Default: 6443 | +|
Port for the API Server to bind to. | +|
--apiserver-cert-extra-sans stringSlice | -|
Optional extra Subject Alternative Names (SANs) to use for the API Server serving certificate. Can be both IP addresses and DNS names. | -|
--apiserver-cert-extra-sans stringSlice | +|
Optional extra Subject Alternative Names (SANs) to use for the API Server serving certificate. Can be both IP addresses and DNS names. | +|
--cert-dir string Default: "/etc/kubernetes/pki" | -|
The path where to save and store the certificates. | -|
--cert-dir string Default: "/etc/kubernetes/pki" | +|
The path where to save and store the certificates. | +|
--certificate-key string | -|
Key used to encrypt the control-plane certificates in the kubeadm-certs Secret. | -|
--certificate-key string | +|
Key used to encrypt the control-plane certificates in the kubeadm-certs Secret. | +|
--config string | -|
Path to a kubeadm configuration file. | -|
--config string | +|
Path to a kubeadm configuration file. | +|
--control-plane-endpoint string | -|
Specify a stable IP address or DNS name for the control plane. | -|
--control-plane-endpoint string | +|
Specify a stable IP address or DNS name for the control plane. | +|
--cri-socket string | -|
Path to the CRI socket to connect. If empty kubeadm will try to auto-detect this value; use this option only if you have more than one CRI installed or if you have non-standard CRI socket. | -|
--cri-socket string | +|
Path to the CRI socket to connect. If empty kubeadm will try to auto-detect this value; use this option only if you have more than one CRI installed or if you have non-standard CRI socket. | +|
--dry-run | -|
Don't apply any changes; just output what would be done. | -|
--dry-run | +|
Don't apply any changes; just output what would be done. | +|
-k, --experimental-kustomize string | -|
The path where kustomize patches for static pod manifests are stored. | -|
-k, --experimental-kustomize string | +|
The path where kustomize patches for static pod manifests are stored. | +|
--feature-gates string | -|
A set of key=value pairs that describe feature gates for various features. Options are: IPv6DualStack=true|false (ALPHA - default=false) PublicKeysECDSA=true|false (ALPHA - default=false) |
- |
--feature-gates string | +|
A set of key=value pairs that describe feature gates for various features. Options are: IPv6DualStack=true|false (ALPHA - default=false) PublicKeysECDSA=true|false (ALPHA - default=false) |
+|
-h, --help | -|
help for init | -|
-h, --help | +|
help for init | +|
--ignore-preflight-errors stringSlice | -|
A list of checks whose errors will be shown as warnings. Example: 'IsPrivilegedUser,Swap'. Value 'all' ignores errors from all checks. | -|
--ignore-preflight-errors stringSlice | +|
A list of checks whose errors will be shown as warnings. Example: 'IsPrivilegedUser,Swap'. Value 'all' ignores errors from all checks. | +|
--image-repository string Default: "k8s.gcr.io" | -|
Choose a container registry to pull control plane images from | -|
--image-repository string Default: "k8s.gcr.io" | +|
Choose a container registry to pull control plane images from | +|
--kubernetes-version string Default: "stable-1" | -|
Choose a specific Kubernetes version for the control plane. | -|
--kubernetes-version string Default: "stable-1" | +|
Choose a specific Kubernetes version for the control plane. | +|
--node-name string | -|
Specify the node name. | -|
--node-name string | +|
Specify the node name. | +|
--pod-network-cidr string | -|
Specify range of IP addresses for the pod network. If set, the control plane will automatically allocate CIDRs for every node. | -|
--pod-network-cidr string | +|
Specify range of IP addresses for the pod network. If set, the control plane will automatically allocate CIDRs for every node. | +|
--service-cidr string Default: "10.96.0.0/12" | -|
Use alternative range of IP address for service VIPs. | -|
--service-cidr string Default: "10.96.0.0/12" | +|
Use alternative range of IP address for service VIPs. | +|
--service-dns-domain string Default: "cluster.local" | -|
Use alternative domain for services, e.g. "myorg.internal". | -|
--service-dns-domain string Default: "cluster.local" | +|
Use alternative domain for services, e.g. "myorg.internal". | +|
--skip-certificate-key-print | -|
Don't print the key used to encrypt the control-plane certificates. | -|
--skip-certificate-key-print | +|
Don't print the key used to encrypt the control-plane certificates. | +|
--skip-phases stringSlice | -|
List of phases to be skipped | -|
--skip-phases stringSlice | +|
List of phases to be skipped | +|
--skip-token-print | -|
Skip printing of the default bootstrap token generated by 'kubeadm init'. | -|
--skip-token-print | +|
Skip printing of the default bootstrap token generated by 'kubeadm init'. | +|
--token string | -|
The token to use for establishing bidirectional trust between nodes and control-plane nodes. The format is [a-z0-9]{6}\.[a-z0-9]{16} - e.g. abcdef.0123456789abcdef | -|
--token string | +|
The token to use for establishing bidirectional trust between nodes and control-plane nodes. The format is [a-z0-9]{6}\.[a-z0-9]{16} - e.g. abcdef.0123456789abcdef | +|
--token-ttl duration Default: 24h0m0s | -|
The duration before the token is automatically deleted (e.g. 1s, 2m, 3h). If set to '0', the token will never expire | -|
--token-ttl duration Default: 24h0m0s | +|
The duration before the token is automatically deleted (e.g. 1s, 2m, 3h). If set to '0', the token will never expire | +|
--upload-certs | -|
Upload control-plane certificates to the kubeadm-certs Secret. | -|
--upload-certs | +|
Upload control-plane certificates to the kubeadm-certs Secret. | +
--rootfs string | -|
[EXPERIMENTAL] The path to the 'real' host root filesystem. | -|
--rootfs string | +|
[EXPERIMENTAL] The path to the 'real' host root filesystem. | +
-h, --help | -|
help for phase | -|
-h, --help | +|
help for phase | +
--rootfs string | -|
[EXPERIMENTAL] The path to the 'real' host root filesystem. | -|
--rootfs string | +|
[EXPERIMENTAL] The path to the 'real' host root filesystem. | +
-h, --help | -|
help for addon | -|
-h, --help | +|
help for addon | +
--rootfs string | -|
[EXPERIMENTAL] The path to the 'real' host root filesystem. | -|
--rootfs string | +|
[EXPERIMENTAL] The path to the 'real' host root filesystem. | +
--apiserver-advertise-address string | -|
The IP address the API Server will advertise it's listening on. If not set the default network interface will be used. | -|
--apiserver-advertise-address string | +|
The IP address the API Server will advertise it's listening on. If not set the default network interface will be used. | +|
--apiserver-bind-port int32 Default: 6443 | -|
Port for the API Server to bind to. | -|
--apiserver-bind-port int32 Default: 6443 | +|
Port for the API Server to bind to. | +|
--config string | -|
Path to a kubeadm configuration file. | -|
--config string | +|
Path to a kubeadm configuration file. | +|
--control-plane-endpoint string | -|
Specify a stable IP address or DNS name for the control plane. | -|
--control-plane-endpoint string | +|
Specify a stable IP address or DNS name for the control plane. | +|
--feature-gates string | -|
A set of key=value pairs that describe feature gates for various features. Options are: IPv6DualStack=true|false (ALPHA - default=false) PublicKeysECDSA=true|false (ALPHA - default=false) |
- |
--feature-gates string | +|
A set of key=value pairs that describe feature gates for various features. Options are: IPv6DualStack=true|false (ALPHA - default=false) PublicKeysECDSA=true|false (ALPHA - default=false) |
+|
-h, --help | -|
help for all | -|
-h, --help | +|
help for all | +|
--image-repository string Default: "k8s.gcr.io" | -|
Choose a container registry to pull control plane images from | -|
--image-repository string Default: "k8s.gcr.io" | +|
Choose a container registry to pull control plane images from | +|
--kubeconfig string Default: "/etc/kubernetes/admin.conf" | -|
The kubeconfig file to use when talking to the cluster. If the flag is not set, a set of standard locations can be searched for an existing kubeconfig file. | -|
--kubeconfig string Default: "/etc/kubernetes/admin.conf" | +|
The kubeconfig file to use when talking to the cluster. If the flag is not set, a set of standard locations can be searched for an existing kubeconfig file. | +|
--kubernetes-version string Default: "stable-1" | -|
Choose a specific Kubernetes version for the control plane. | -|
--kubernetes-version string Default: "stable-1" | +|
Choose a specific Kubernetes version for the control plane. | +|
--pod-network-cidr string | -|
Specify range of IP addresses for the pod network. If set, the control plane will automatically allocate CIDRs for every node. | -|
--pod-network-cidr string | +|
Specify range of IP addresses for the pod network. If set, the control plane will automatically allocate CIDRs for every node. | +|
--service-cidr string Default: "10.96.0.0/12" | -|
Use alternative range of IP address for service VIPs. | -|
--service-cidr string Default: "10.96.0.0/12" | +|
Use alternative range of IP address for service VIPs. | +|
--service-dns-domain string Default: "cluster.local" | -|
Use alternative domain for services, e.g. "myorg.internal". | -|
--service-dns-domain string Default: "cluster.local" | +|
Use alternative domain for services, e.g. "myorg.internal". | +
--rootfs string | -|
[EXPERIMENTAL] The path to the 'real' host root filesystem. | -|
--rootfs string | +|
[EXPERIMENTAL] The path to the 'real' host root filesystem. | +
--config string | -|
Path to a kubeadm configuration file. | -|
--config string | +|
Path to a kubeadm configuration file. | +|
--feature-gates string | -|
A set of key=value pairs that describe feature gates for various features. Options are: IPv6DualStack=true|false (ALPHA - default=false) PublicKeysECDSA=true|false (ALPHA - default=false) |
- |
--feature-gates string | +|
A set of key=value pairs that describe feature gates for various features. Options are: IPv6DualStack=true|false (ALPHA - default=false) PublicKeysECDSA=true|false (ALPHA - default=false) |
+|
-h, --help | -|
help for coredns | -|
-h, --help | +|
help for coredns | +|
--image-repository string Default: "k8s.gcr.io" | -|
Choose a container registry to pull control plane images from | -|
--image-repository string Default: "k8s.gcr.io" | +|
Choose a container registry to pull control plane images from | +|
--kubeconfig string Default: "/etc/kubernetes/admin.conf" | -|
The kubeconfig file to use when talking to the cluster. If the flag is not set, a set of standard locations can be searched for an existing kubeconfig file. | -|
--kubeconfig string Default: "/etc/kubernetes/admin.conf" | +|
The kubeconfig file to use when talking to the cluster. If the flag is not set, a set of standard locations can be searched for an existing kubeconfig file. | +|
--kubernetes-version string Default: "stable-1" | -|
Choose a specific Kubernetes version for the control plane. | -|
--kubernetes-version string Default: "stable-1" | +|
Choose a specific Kubernetes version for the control plane. | +|
--service-cidr string Default: "10.96.0.0/12" | -|
Use alternative range of IP address for service VIPs. | -|
--service-cidr string Default: "10.96.0.0/12" | +|
Use alternative range of IP address for service VIPs. | +|
--service-dns-domain string Default: "cluster.local" | -|
Use alternative domain for services, e.g. "myorg.internal". | -|
--service-dns-domain string Default: "cluster.local" | +|
Use alternative domain for services, e.g. "myorg.internal". | +
--rootfs string | -|
[EXPERIMENTAL] The path to the 'real' host root filesystem. | -|
--rootfs string | +|
[EXPERIMENTAL] The path to the 'real' host root filesystem. | +
--apiserver-advertise-address string | -|
The IP address the API Server will advertise it's listening on. If not set the default network interface will be used. | -|
--apiserver-advertise-address string | +|
The IP address the API Server will advertise it's listening on. If not set the default network interface will be used. | +|
--apiserver-bind-port int32 Default: 6443 | -|
Port for the API Server to bind to. | -|
--apiserver-bind-port int32 Default: 6443 | +|
Port for the API Server to bind to. | +|
--config string | -|
Path to a kubeadm configuration file. | -|
--config string | +|
Path to a kubeadm configuration file. | +|
--control-plane-endpoint string | -|
Specify a stable IP address or DNS name for the control plane. | -|
--control-plane-endpoint string | +|
Specify a stable IP address or DNS name for the control plane. | +|
-h, --help | -|
help for kube-proxy | -|
-h, --help | +|
help for kube-proxy | +|
--image-repository string Default: "k8s.gcr.io" | -|
Choose a container registry to pull control plane images from | -|
--image-repository string Default: "k8s.gcr.io" | +|
Choose a container registry to pull control plane images from | +|
--kubeconfig string Default: "/etc/kubernetes/admin.conf" | -|
The kubeconfig file to use when talking to the cluster. If the flag is not set, a set of standard locations can be searched for an existing kubeconfig file. | -|
--kubeconfig string Default: "/etc/kubernetes/admin.conf" | +|
The kubeconfig file to use when talking to the cluster. If the flag is not set, a set of standard locations can be searched for an existing kubeconfig file. | +|
--kubernetes-version string Default: "stable-1" | -|
Choose a specific Kubernetes version for the control plane. | -|
--kubernetes-version string Default: "stable-1" | +|
Choose a specific Kubernetes version for the control plane. | +|
--pod-network-cidr string | -|
Specify range of IP addresses for the pod network. If set, the control plane will automatically allocate CIDRs for every node. | -|
--pod-network-cidr string | +|
Specify range of IP addresses for the pod network. If set, the control plane will automatically allocate CIDRs for every node. | +
--rootfs string | -|
[EXPERIMENTAL] The path to the 'real' host root filesystem. | -|
--rootfs string | +|
[EXPERIMENTAL] The path to the 'real' host root filesystem. | +
--config string | -|
Path to a kubeadm configuration file. | -|
--config string | +|
Path to a kubeadm configuration file. | +|
-h, --help | -|
help for bootstrap-token | -|
-h, --help | +|
help for bootstrap-token | +|
--kubeconfig string Default: "/etc/kubernetes/admin.conf" | -|
The kubeconfig file to use when talking to the cluster. If the flag is not set, a set of standard locations can be searched for an existing kubeconfig file. | -|
--kubeconfig string Default: "/etc/kubernetes/admin.conf" | +|
The kubeconfig file to use when talking to the cluster. If the flag is not set, a set of standard locations can be searched for an existing kubeconfig file. | +|
--skip-token-print | -|
Skip printing of the default bootstrap token generated by 'kubeadm init'. | -|
--skip-token-print | +|
Skip printing of the default bootstrap token generated by 'kubeadm init'. | +
--rootfs string | -|
[EXPERIMENTAL] The path to the 'real' host root filesystem. | -|
--rootfs string | +|
[EXPERIMENTAL] The path to the 'real' host root filesystem. | +
-h, --help | -|
help for certs | -|
-h, --help | +|
help for certs | +
--rootfs string | -|
[EXPERIMENTAL] The path to the 'real' host root filesystem. | -|
--rootfs string | +|
[EXPERIMENTAL] The path to the 'real' host root filesystem. | +
--apiserver-advertise-address string | -|
The IP address the API Server will advertise it's listening on. If not set the default network interface will be used. | -|
--apiserver-advertise-address string | +|
The IP address the API Server will advertise it's listening on. If not set the default network interface will be used. | +|
--apiserver-cert-extra-sans stringSlice | -|
Optional extra Subject Alternative Names (SANs) to use for the API Server serving certificate. Can be both IP addresses and DNS names. | -|
--apiserver-cert-extra-sans stringSlice | +|
Optional extra Subject Alternative Names (SANs) to use for the API Server serving certificate. Can be both IP addresses and DNS names. | +|
--cert-dir string Default: "/etc/kubernetes/pki" | -|
The path where to save and store the certificates. | -|
--cert-dir string Default: "/etc/kubernetes/pki" | +|
The path where to save and store the certificates. | +|
--config string | -|
Path to a kubeadm configuration file. | -|
--config string | +|
Path to a kubeadm configuration file. | +|
--control-plane-endpoint string | -|
Specify a stable IP address or DNS name for the control plane. | -|
--control-plane-endpoint string | +|
Specify a stable IP address or DNS name for the control plane. | +|
-h, --help | -|
help for all | -|
-h, --help | +|
help for all | +|
--kubernetes-version string Default: "stable-1" | -|
Choose a specific Kubernetes version for the control plane. | -|
--kubernetes-version string Default: "stable-1" | +|
Choose a specific Kubernetes version for the control plane. | +|
--service-cidr string Default: "10.96.0.0/12" | -|
Use alternative range of IP address for service VIPs. | -|
--service-cidr string Default: "10.96.0.0/12" | +|
Use alternative range of IP address for service VIPs. | +|
--service-dns-domain string Default: "cluster.local" | -|
Use alternative domain for services, e.g. "myorg.internal". | -|
--service-dns-domain string Default: "cluster.local" | +|
Use alternative domain for services, e.g. "myorg.internal". | +
--rootfs string | -|
[EXPERIMENTAL] The path to the 'real' host root filesystem. | -|
--rootfs string | +|
[EXPERIMENTAL] The path to the 'real' host root filesystem. | +
--cert-dir string Default: "/etc/kubernetes/pki" | -|
The path where to save and store the certificates. | -|
--cert-dir string Default: "/etc/kubernetes/pki" | +|
The path where to save and store the certificates. | +|
--config string | -|
Path to a kubeadm configuration file. | -|
--config string | +|
Path to a kubeadm configuration file. | +|
--csr-dir string | -|
The path to output the CSRs and private keys to | -|
--csr-dir string | +|
The path to output the CSRs and private keys to | +|
--csr-only | -|
Create CSRs instead of generating certificates | -|
--csr-only | +|
Create CSRs instead of generating certificates | +|
-h, --help | -|
help for apiserver-etcd-client | -|
-h, --help | +|
help for apiserver-etcd-client | +|
--kubernetes-version string Default: "stable-1" | -|
Choose a specific Kubernetes version for the control plane. | -|
--kubernetes-version string Default: "stable-1" | +|
Choose a specific Kubernetes version for the control plane. | +
--rootfs string | -|
[EXPERIMENTAL] The path to the 'real' host root filesystem. | -|
--rootfs string | +|
[EXPERIMENTAL] The path to the 'real' host root filesystem. | +
--cert-dir string Default: "/etc/kubernetes/pki" | -|
The path where to save and store the certificates. | -|
--cert-dir string Default: "/etc/kubernetes/pki" | +|
The path where to save and store the certificates. | +|
--config string | -|
Path to a kubeadm configuration file. | -|
--config string | +|
Path to a kubeadm configuration file. | +|
--csr-dir string | -|
The path to output the CSRs and private keys to | -|
--csr-dir string | +|
The path to output the CSRs and private keys to | +|
--csr-only | -|
Create CSRs instead of generating certificates | -|
--csr-only | +|
Create CSRs instead of generating certificates | +|
-h, --help | -|
help for apiserver-kubelet-client | -|
-h, --help | +|
help for apiserver-kubelet-client | +|
--kubernetes-version string Default: "stable-1" | -|
Choose a specific Kubernetes version for the control plane. | -|
--kubernetes-version string Default: "stable-1" | +|
Choose a specific Kubernetes version for the control plane. | +
--rootfs string | -|
[EXPERIMENTAL] The path to the 'real' host root filesystem. | -|
--rootfs string | +|
[EXPERIMENTAL] The path to the 'real' host root filesystem. | +
--apiserver-advertise-address string | -|
The IP address the API Server will advertise it's listening on. If not set the default network interface will be used. | -|
--apiserver-advertise-address string | +|
The IP address the API Server will advertise it's listening on. If not set the default network interface will be used. | +|
--apiserver-cert-extra-sans stringSlice | -|
Optional extra Subject Alternative Names (SANs) to use for the API Server serving certificate. Can be both IP addresses and DNS names. | -|
--apiserver-cert-extra-sans stringSlice | +|
Optional extra Subject Alternative Names (SANs) to use for the API Server serving certificate. Can be both IP addresses and DNS names. | +|
--cert-dir string Default: "/etc/kubernetes/pki" | -|
The path where to save and store the certificates. | -|
--cert-dir string Default: "/etc/kubernetes/pki" | +|
The path where to save and store the certificates. | +|
--config string | -|
Path to a kubeadm configuration file. | -|
--config string | +|
Path to a kubeadm configuration file. | +|
--control-plane-endpoint string | -|
Specify a stable IP address or DNS name for the control plane. | -|
--control-plane-endpoint string | +|
Specify a stable IP address or DNS name for the control plane. | +|
--csr-dir string | -|
The path to output the CSRs and private keys to | -|
--csr-dir string | +|
The path to output the CSRs and private keys to | +|
--csr-only | -|
Create CSRs instead of generating certificates | -|
--csr-only | +|
Create CSRs instead of generating certificates | +|
-h, --help | -|
help for apiserver | -|
-h, --help | +|
help for apiserver | +|
--kubernetes-version string Default: "stable-1" | -|
Choose a specific Kubernetes version for the control plane. | -|
--kubernetes-version string Default: "stable-1" | +|
Choose a specific Kubernetes version for the control plane. | +|
--service-cidr string Default: "10.96.0.0/12" | -|
Use alternative range of IP address for service VIPs. | -|
--service-cidr string Default: "10.96.0.0/12" | +|
Use alternative range of IP address for service VIPs. | +|
--service-dns-domain string Default: "cluster.local" | -|
Use alternative domain for services, e.g. "myorg.internal". | -|
--service-dns-domain string Default: "cluster.local" | +|
Use alternative domain for services, e.g. "myorg.internal". | +
--rootfs string | -|
[EXPERIMENTAL] The path to the 'real' host root filesystem. | -|
--rootfs string | +|
[EXPERIMENTAL] The path to the 'real' host root filesystem. | +
--cert-dir string Default: "/etc/kubernetes/pki" | -|
The path where to save and store the certificates. | -|
--cert-dir string Default: "/etc/kubernetes/pki" | +|
The path where to save and store the certificates. | +|
--config string | -|
Path to a kubeadm configuration file. | -|
--config string | +|
Path to a kubeadm configuration file. | +|
-h, --help | -|
help for ca | -|
-h, --help | +|
help for ca | +|
--kubernetes-version string Default: "stable-1" | -|
Choose a specific Kubernetes version for the control plane. | -|
--kubernetes-version string Default: "stable-1" | +|
Choose a specific Kubernetes version for the control plane. | +
--rootfs string | -|
[EXPERIMENTAL] The path to the 'real' host root filesystem. | -|
--rootfs string | +|
[EXPERIMENTAL] The path to the 'real' host root filesystem. | +
--cert-dir string Default: "/etc/kubernetes/pki" | -|
The path where to save and store the certificates. | -|
--cert-dir string Default: "/etc/kubernetes/pki" | +|
The path where to save and store the certificates. | +|
--config string | -|
Path to a kubeadm configuration file. | -|
--config string | +|
Path to a kubeadm configuration file. | +|
-h, --help | -|
help for etcd-ca | -|
-h, --help | +|
help for etcd-ca | +|
--kubernetes-version string Default: "stable-1" | -|
Choose a specific Kubernetes version for the control plane. | -|
--kubernetes-version string Default: "stable-1" | +|
Choose a specific Kubernetes version for the control plane. | +
--rootfs string | -|
[EXPERIMENTAL] The path to the 'real' host root filesystem. | -|
--rootfs string | +|
[EXPERIMENTAL] The path to the 'real' host root filesystem. | +
--cert-dir string Default: "/etc/kubernetes/pki" | -|
The path where to save and store the certificates. | -|
--cert-dir string Default: "/etc/kubernetes/pki" | +|
The path where to save and store the certificates. | +|
--config string | -|
Path to a kubeadm configuration file. | -|
--config string | +|
Path to a kubeadm configuration file. | +|
--csr-dir string | -|
The path to output the CSRs and private keys to | -|
--csr-dir string | +|
The path to output the CSRs and private keys to | +|
--csr-only | -|
Create CSRs instead of generating certificates | -|
--csr-only | +|
Create CSRs instead of generating certificates | +|
-h, --help | -|
help for etcd-healthcheck-client | -|
-h, --help | +|
help for etcd-healthcheck-client | +|
--kubernetes-version string Default: "stable-1" | -|
Choose a specific Kubernetes version for the control plane. | -|
--kubernetes-version string Default: "stable-1" | +|
Choose a specific Kubernetes version for the control plane. | +
--rootfs string | -|
[EXPERIMENTAL] The path to the 'real' host root filesystem. | -|
--rootfs string | +|
[EXPERIMENTAL] The path to the 'real' host root filesystem. | +
--cert-dir string Default: "/etc/kubernetes/pki" | -|
The path where to save and store the certificates. | -|
--cert-dir string Default: "/etc/kubernetes/pki" | +|
The path where to save and store the certificates. | +|
--config string | -|
Path to a kubeadm configuration file. | -|
--config string | +|
Path to a kubeadm configuration file. | +|
--csr-dir string | -|
The path to output the CSRs and private keys to | -|
--csr-dir string | +|
The path to output the CSRs and private keys to | +|
--csr-only | -|
Create CSRs instead of generating certificates | -|
--csr-only | +|
Create CSRs instead of generating certificates | +|
-h, --help | -|
help for etcd-peer | -|
-h, --help | +|
help for etcd-peer | +|
--kubernetes-version string Default: "stable-1" | -|
Choose a specific Kubernetes version for the control plane. | -|
--kubernetes-version string Default: "stable-1" | +|
Choose a specific Kubernetes version for the control plane. | +
--rootfs string | -|
[EXPERIMENTAL] The path to the 'real' host root filesystem. | -|
--rootfs string | +|
[EXPERIMENTAL] The path to the 'real' host root filesystem. | +
--cert-dir string Default: "/etc/kubernetes/pki" | -|
The path where to save and store the certificates. | -|
--cert-dir string Default: "/etc/kubernetes/pki" | +|
The path where to save and store the certificates. | +|
--config string | -|
Path to a kubeadm configuration file. | -|
--config string | +|
Path to a kubeadm configuration file. | +|
--csr-dir string | -|
The path to output the CSRs and private keys to | -|
--csr-dir string | +|
The path to output the CSRs and private keys to | +|
--csr-only | -|
Create CSRs instead of generating certificates | -|
--csr-only | +|
Create CSRs instead of generating certificates | +|
-h, --help | -|
help for etcd-server | -|
-h, --help | +|
help for etcd-server | +|
--kubernetes-version string Default: "stable-1" | -|
Choose a specific Kubernetes version for the control plane. | -|
--kubernetes-version string Default: "stable-1" | +|
Choose a specific Kubernetes version for the control plane. | +
--rootfs string | -|
[EXPERIMENTAL] The path to the 'real' host root filesystem. | -|
--rootfs string | +|
[EXPERIMENTAL] The path to the 'real' host root filesystem. | +
--cert-dir string Default: "/etc/kubernetes/pki" | -|
The path where to save and store the certificates. | -|
--cert-dir string Default: "/etc/kubernetes/pki" | +|
The path where to save and store the certificates. | +|
--config string | -|
Path to a kubeadm configuration file. | -|
--config string | +|
Path to a kubeadm configuration file. | +|
-h, --help | -|
help for front-proxy-ca | -|
-h, --help | +|
help for front-proxy-ca | +|
--kubernetes-version string Default: "stable-1" | -|
Choose a specific Kubernetes version for the control plane. | -|
--kubernetes-version string Default: "stable-1" | +|
Choose a specific Kubernetes version for the control plane. | +
--rootfs string | -|
[EXPERIMENTAL] The path to the 'real' host root filesystem. | -|
--rootfs string | +|
[EXPERIMENTAL] The path to the 'real' host root filesystem. | +
--cert-dir string Default: "/etc/kubernetes/pki" | -|
The path where to save and store the certificates. | -|
--cert-dir string Default: "/etc/kubernetes/pki" | +|
The path where to save and store the certificates. | +|
--config string | -|
Path to a kubeadm configuration file. | -|
--config string | +|
Path to a kubeadm configuration file. | +|
--csr-dir string | -|
The path to output the CSRs and private keys to | -|
--csr-dir string | +|
The path to output the CSRs and private keys to | +|
--csr-only | -|
Create CSRs instead of generating certificates | -|
--csr-only | +|
Create CSRs instead of generating certificates | +|
-h, --help | -|
help for front-proxy-client | -|
-h, --help | +|
help for front-proxy-client | +|
--kubernetes-version string Default: "stable-1" | -|
Choose a specific Kubernetes version for the control plane. | -|
--kubernetes-version string Default: "stable-1" | +|
Choose a specific Kubernetes version for the control plane. | +
--rootfs string | -|
[EXPERIMENTAL] The path to the 'real' host root filesystem. | -|
--rootfs string | +|
[EXPERIMENTAL] The path to the 'real' host root filesystem. | +
--cert-dir string Default: "/etc/kubernetes/pki" | -|
The path where to save and store the certificates. | -|
--cert-dir string Default: "/etc/kubernetes/pki" | +|
The path where to save and store the certificates. | +|
-h, --help | -|
help for sa | -|
-h, --help | +|
help for sa | +
--rootfs string | -|
[EXPERIMENTAL] The path to the 'real' host root filesystem. | -|
--rootfs string | +|
[EXPERIMENTAL] The path to the 'real' host root filesystem. | +
-h, --help | -|
help for control-plane | -|
-h, --help | +|
help for control-plane | +
--rootfs string | -|
[EXPERIMENTAL] The path to the 'real' host root filesystem. | -|
--rootfs string | +|
[EXPERIMENTAL] The path to the 'real' host root filesystem. | +
--apiserver-advertise-address string | -|
The IP address the API Server will advertise it's listening on. If not set the default network interface will be used. | -|
--apiserver-advertise-address string | +|
The IP address the API Server will advertise it's listening on. If not set the default network interface will be used. | +|
--apiserver-bind-port int32 Default: 6443 | -|
Port for the API Server to bind to. | -|
--apiserver-bind-port int32 Default: 6443 | +|
Port for the API Server to bind to. | +|
--apiserver-extra-args mapStringString | -|
A set of extra flags to pass to the API Server or override default ones in form of <flagname>=<value> | -|
--apiserver-extra-args mapStringString | +|
A set of extra flags to pass to the API Server or override default ones in form of <flagname>=<value> | +|
--cert-dir string Default: "/etc/kubernetes/pki" | -|
The path where to save and store the certificates. | -|
--cert-dir string Default: "/etc/kubernetes/pki" | +|
The path where to save and store the certificates. | +|
--config string | -|
Path to a kubeadm configuration file. | -|
--config string | +|
Path to a kubeadm configuration file. | +|
--control-plane-endpoint string | -|
Specify a stable IP address or DNS name for the control plane. | -|
--control-plane-endpoint string | +|
Specify a stable IP address or DNS name for the control plane. | +|
--controller-manager-extra-args mapStringString | -|
A set of extra flags to pass to the Controller Manager or override default ones in form of <flagname>=<value> | -|
--controller-manager-extra-args mapStringString | +|
A set of extra flags to pass to the Controller Manager or override default ones in form of <flagname>=<value> | +|
-k, --experimental-kustomize string | -|
The path where kustomize patches for static pod manifests are stored. | -|
-k, --experimental-kustomize string | +|
The path where kustomize patches for static pod manifests are stored. | +|
--feature-gates string | -|
A set of key=value pairs that describe feature gates for various features. Options are: IPv6DualStack=true|false (ALPHA - default=false) PublicKeysECDSA=true|false (ALPHA - default=false) |
- |
--feature-gates string | +|
A set of key=value pairs that describe feature gates for various features. Options are: IPv6DualStack=true|false (ALPHA - default=false) PublicKeysECDSA=true|false (ALPHA - default=false) |
+|
-h, --help | -|
help for all | -|
-h, --help | +|
help for all | +|
--image-repository string Default: "k8s.gcr.io" | -|
Choose a container registry to pull control plane images from | -|
--image-repository string Default: "k8s.gcr.io" | +|
Choose a container registry to pull control plane images from | +|
--kubernetes-version string Default: "stable-1" | -|
Choose a specific Kubernetes version for the control plane. | -|
--kubernetes-version string Default: "stable-1" | +|
Choose a specific Kubernetes version for the control plane. | +|
--pod-network-cidr string | -|
Specify range of IP addresses for the pod network. If set, the control plane will automatically allocate CIDRs for every node. | -|
--pod-network-cidr string | +|
Specify range of IP addresses for the pod network. If set, the control plane will automatically allocate CIDRs for every node. | +|
--scheduler-extra-args mapStringString | -|
A set of extra flags to pass to the Scheduler or override default ones in form of <flagname>=<value> | -|
--scheduler-extra-args mapStringString | +|
A set of extra flags to pass to the Scheduler or override default ones in form of <flagname>=<value> | +|
--service-cidr string Default: "10.96.0.0/12" | -|
Use alternative range of IP address for service VIPs. | -|
--service-cidr string Default: "10.96.0.0/12" | +|
Use alternative range of IP address for service VIPs. | +
--rootfs string | -|
[EXPERIMENTAL] The path to the 'real' host root filesystem. | -|
--rootfs string | +|
[EXPERIMENTAL] The path to the 'real' host root filesystem. | +
--apiserver-advertise-address string | -|
The IP address the API Server will advertise it's listening on. If not set the default network interface will be used. | -|
--apiserver-advertise-address string | +|
The IP address the API Server will advertise it's listening on. If not set the default network interface will be used. | +|
--apiserver-bind-port int32 Default: 6443 | -|
Port for the API Server to bind to. | -|
--apiserver-bind-port int32 Default: 6443 | +|
Port for the API Server to bind to. | +|
--apiserver-extra-args mapStringString | -|
A set of extra flags to pass to the API Server or override default ones in form of <flagname>=<value> | -|
--apiserver-extra-args mapStringString | +|
A set of extra flags to pass to the API Server or override default ones in form of <flagname>=<value> | +|
--cert-dir string Default: "/etc/kubernetes/pki" | -|
The path where to save and store the certificates. | -|
--cert-dir string Default: "/etc/kubernetes/pki" | +|
The path where to save and store the certificates. | +|
--config string | -|
Path to a kubeadm configuration file. | -|
--config string | +|
Path to a kubeadm configuration file. | +|
--control-plane-endpoint string | -|
Specify a stable IP address or DNS name for the control plane. | -|
--control-plane-endpoint string | +|
Specify a stable IP address or DNS name for the control plane. | +|
-k, --experimental-kustomize string | -|
The path where kustomize patches for static pod manifests are stored. | -|
-k, --experimental-kustomize string | +|
The path where kustomize patches for static pod manifests are stored. | +|
--feature-gates string | -|
A set of key=value pairs that describe feature gates for various features. Options are: IPv6DualStack=true|false (ALPHA - default=false) PublicKeysECDSA=true|false (ALPHA - default=false) |
- |
--feature-gates string | +|
A set of key=value pairs that describe feature gates for various features. Options are: IPv6DualStack=true|false (ALPHA - default=false) PublicKeysECDSA=true|false (ALPHA - default=false) |
+|
-h, --help | -|
help for apiserver | -|
-h, --help | +|
help for apiserver | +|
--image-repository string Default: "k8s.gcr.io" | -|
Choose a container registry to pull control plane images from | -|
--image-repository string Default: "k8s.gcr.io" | +|
Choose a container registry to pull control plane images from | +|
--kubernetes-version string Default: "stable-1" | -|
Choose a specific Kubernetes version for the control plane. | -|
--kubernetes-version string Default: "stable-1" | +|
Choose a specific Kubernetes version for the control plane. | +|
--service-cidr string Default: "10.96.0.0/12" | -|
Use alternative range of IP address for service VIPs. | -|
--service-cidr string Default: "10.96.0.0/12" | +|
Use alternative range of IP address for service VIPs. | +
--rootfs string | -|
[EXPERIMENTAL] The path to the 'real' host root filesystem. | -|
--rootfs string | +|
[EXPERIMENTAL] The path to the 'real' host root filesystem. | +
--cert-dir string Default: "/etc/kubernetes/pki" | -|
The path where to save and store the certificates. | -|
--cert-dir string Default: "/etc/kubernetes/pki" | +|
The path where to save and store the certificates. | +|
--config string | -|
Path to a kubeadm configuration file. | -|
--config string | +|
Path to a kubeadm configuration file. | +|
--controller-manager-extra-args mapStringString | -|
A set of extra flags to pass to the Controller Manager or override default ones in form of <flagname>=<value> | -|
--controller-manager-extra-args mapStringString | +|
A set of extra flags to pass to the Controller Manager or override default ones in form of <flagname>=<value> | +|
-k, --experimental-kustomize string | -|
The path where kustomize patches for static pod manifests are stored. | -|
-k, --experimental-kustomize string | +|
The path where kustomize patches for static pod manifests are stored. | +|
-h, --help | -|
help for controller-manager | -|
-h, --help | +|
help for controller-manager | +|
--image-repository string Default: "k8s.gcr.io" | -|
Choose a container registry to pull control plane images from | -|
--image-repository string Default: "k8s.gcr.io" | +|
Choose a container registry to pull control plane images from | +|
--kubernetes-version string Default: "stable-1" | -|
Choose a specific Kubernetes version for the control plane. | -|
--kubernetes-version string Default: "stable-1" | +|
Choose a specific Kubernetes version for the control plane. | +|
--pod-network-cidr string | -|
Specify range of IP addresses for the pod network. If set, the control plane will automatically allocate CIDRs for every node. | -|
--pod-network-cidr string | +|
Specify range of IP addresses for the pod network. If set, the control plane will automatically allocate CIDRs for every node. | +
--rootfs string | -|
[EXPERIMENTAL] The path to the 'real' host root filesystem. | -|
--rootfs string | +|
[EXPERIMENTAL] The path to the 'real' host root filesystem. | +
--cert-dir string Default: "/etc/kubernetes/pki" | -|
The path where to save and store the certificates. | -|
--cert-dir string Default: "/etc/kubernetes/pki" | +|
The path where to save and store the certificates. | +|
--config string | -|
Path to a kubeadm configuration file. | -|
--config string | +|
Path to a kubeadm configuration file. | +|
-k, --experimental-kustomize string | -|
The path where kustomize patches for static pod manifests are stored. | -|
-k, --experimental-kustomize string | +|
The path where kustomize patches for static pod manifests are stored. | +|
-h, --help | -|
help for scheduler | -|
-h, --help | +|
help for scheduler | +|
--image-repository string Default: "k8s.gcr.io" | -|
Choose a container registry to pull control plane images from | -|
--image-repository string Default: "k8s.gcr.io" | +|
Choose a container registry to pull control plane images from | +|
--kubernetes-version string Default: "stable-1" | -|
Choose a specific Kubernetes version for the control plane. | -|
--kubernetes-version string Default: "stable-1" | +|
Choose a specific Kubernetes version for the control plane. | +|
--scheduler-extra-args mapStringString | -|
A set of extra flags to pass to the Scheduler or override default ones in form of <flagname>=<value> | -|
--scheduler-extra-args mapStringString | +|
A set of extra flags to pass to the Scheduler or override default ones in form of <flagname>=<value> | +
--rootfs string | -|
[EXPERIMENTAL] The path to the 'real' host root filesystem. | -|
--rootfs string | +|
[EXPERIMENTAL] The path to the 'real' host root filesystem. | +
-h, --help | -|
help for etcd | -|
-h, --help | +|
help for etcd | +
--rootfs string | -|
[EXPERIMENTAL] The path to the 'real' host root filesystem. | -|
--rootfs string | +|
[EXPERIMENTAL] The path to the 'real' host root filesystem. | +
--cert-dir string Default: "/etc/kubernetes/pki" | -|
The path where to save and store the certificates. | -|
--cert-dir string Default: "/etc/kubernetes/pki" | +|
The path where to save and store the certificates. | +|
--config string | -|
Path to a kubeadm configuration file. | -|
--config string | +|
Path to a kubeadm configuration file. | +|
-k, --experimental-kustomize string | -|
The path where kustomize patches for static pod manifests are stored. | -|
-k, --experimental-kustomize string | +|
The path where kustomize patches for static pod manifests are stored. | +|
-h, --help | -|
help for local | -|
-h, --help | +|
help for local | +|
--image-repository string Default: "k8s.gcr.io" | -|
Choose a container registry to pull control plane images from | -|
--image-repository string Default: "k8s.gcr.io" | +|
Choose a container registry to pull control plane images from | +
--rootfs string | -|
[EXPERIMENTAL] The path to the 'real' host root filesystem. | -|
--rootfs string | +|
[EXPERIMENTAL] The path to the 'real' host root filesystem. | +
-h, --help | -|
help for kubeconfig | -|
-h, --help | +|
help for kubeconfig | +