KUBERNETES(1)(kubernetes)
π KUBERNETES(1)(kubernetes) π
okay bestie, welcome to the kubernetes manual β yes, that one. this page was written by Eric Paris back in Jan 2015, and it's still out here doing the absolute most. today's episode: the API server. grab a snack, this one's a long read. π
β¨ NAME β¨
kube-apiserver β that's it, that's the name, no further notes, iconic behaviour honestly π
β¨ SYNOPSIS β¨
kube-apiserver [OPTIONS]
that's the whole vibe. one binary, a frankly unhinged number of options. π
β¨ DESCRIPTION β¨
so the Kubernetes API server is the one that validates and configures data for the api objects β and when we say api objects we mean pods, services, replicationcontrollers, and others. yes, "and others", the manpage said it first, not me. π
it also services REST operations and serves as the frontend to the cluster's shared state β the shared state that literally every other component interacts through. it's giving main character energy because it is the main character. the whole cluster is basically orbiting this thing. π
β¨ OPTIONS β¨
okay. deep breath. this is the big one. every single flag, no skipping, because we don't gatekeep here. π«Ά
--admission-control=[]β admission happens in two phases, and the order is the drama. in phase one, only mutating admission plugins run. in phase two, only validating admission plugins run. the names in the list below might be a validating plugin, a mutating plugin, or honestly both. the order you pass them to this flag? doesn't matter, the universe sorts it out. comma-delimited list of:AlwaysAdmit,AlwaysDeny,AlwaysPullImages,CertificateApproval,CertificateSigning,CertificateSubjectRestriction,ClusterTrustBundleAttest,DefaultIngressClass,DefaultStorageClass,DefaultTolerationSeconds,DenyServiceExternalIPs,EventRateLimit,ExtendedResourceToleration,ImagePolicyWebhook,LimitPodHardAntiAffinityTopology,LimitRanger,MutatingAdmissionPolicy,MutatingAdmissionWebhook,NamespaceAutoProvision,NamespaceExists,NamespaceLifecycle,NodeDeclaredFeatureValidator,NodeRestriction,OwnerReferencesPermissionEnforcement,PersistentVolumeClaimResize,PodGroupProtection,PodNodeSelector,PodResizeValidator,PodSecurity,PodTolerationRestriction,PodTopologyLabels,Priority,ResourceQuota,RuntimeClass,ServiceAccount,StorageObjectInUseProtection,TaintNodesByCondition,ValidatingAdmissionPolicy,ValidatingAdmissionWebhook.--admission-control-config-file=""β the file with admission control configuration. simple as that. π--advertise-address=β 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, no pressure. if blank, the--bind-addresswill be used. if--bind-addressis unspecified, the host's default interface will be used.--aggregator-reject-forwarding-redirect=trueβ aggregator reject forwarding redirect response back to client. π«--allow-metric-labels=[]β the map from metric-label to value allow-list of this label. the key's format is,. the value's format is,...e.g.metric1,label1='v1,v2,v3',metric1,label2='v1,v2,v3'metric2,label1='v1,v2,v3'.--allow-metric-labels-manifest=""β the path to the manifest file that contains the allow-list mapping. the format of the file is the same as the flag--allow-metric-labels, i.e.
allowListMapping:
"metric1,label1": "value11,value12"
"metric2,label2": ""
note that the flag --allow-metric-labels will override the manifest file. β οΈ
--allow-privileged=falseβ if true, allow privileged containers. [default=false]--anonymous-auth=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 ofsystem:anonymous, and a group name ofsystem:unauthenticated.--api-audiences=[]β 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-issuerflag is configured and this flag is not, this field defaults to a single element list containing the issuer URL.--apiserver-count=1β the number of apiservers running in the cluster, must be a positive number. (in use when--endpoint-reconciler-type=master-countis enabled.)--audit-log-batch-buffer-size=10000β the size of the buffer to store events before batching and writing. only used in batch mode.--audit-log-batch-max-size=1β the maximum size of a batch. only used in batch mode.--audit-log-batch-max-wait=0sβ 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=0β 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=falseβ whether batching throttling is enabled. only used in batch mode.--audit-log-batch-throttle-qps=0β maximum average number of batches per second. only used in batch mode.--audit-log-compress=falseβ if set, the rotated log files will be compressed using gzip. ποΈ--audit-log-format="json"β format of saved audits."legacy"indicates 1-line text format for each event."json"indicates structured json format. known formats arelegacy,json.--audit-log-maxage=366β the maximum number of days to retain old audit log files based on the timestamp encoded in their filename. setting a value of0means old audit log files are not removed based on age.--audit-log-maxbackup=100β the maximum number of old audit log files to retain. setting a value of0will mean there's no restriction on the number of files.--audit-log-maxsize=100β the maximum size in megabytes of the audit log file before it gets rotated. setting to0disables rotation (not recommended). π--audit-log-mode="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 arebatch,blocking,blocking-strict.--audit-log-path=""β if set, all requests coming to the apiserver will be logged to this file.'-'means standard out.--audit-log-truncate-enabled=falseβ whether event and batch truncating is enabled.--audit-log-truncate-max-batch-size=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=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="audit.k8s.io/v1"β API group and version used for serializing audit events written to log.--audit-policy-file=""β path to the file that defines the audit policy configuration.--audit-webhook-batch-buffer-size=10000β the size of the buffer to store events before batching and writing. only used in batch mode.--audit-webhook-batch-initial-backoff=10sβ the amount of time to wait before retrying the first failed request.--audit-webhook-batch-max-size=400β the maximum size of a batch. only used in batch mode.--audit-webhook-batch-max-wait=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=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=trueβ whether batching throttling is enabled. only used in batch mode.--audit-webhook-batch-throttle-qps=10β maximum average number of batches per second. only used in batch mode.--audit-webhook-config-file=""β path to a kubeconfig formatted file that defines the audit webhook configuration.--audit-webhook-initial-backoff=10sβ the amount of time to wait before retrying the first failed request.--audit-webhook-mode="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 arebatch,blocking,blocking-strict.--audit-webhook-truncate-enabled=falseβ whether event and batch truncating is enabled.--audit-webhook-truncate-max-batch-size=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=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="audit.k8s.io/v1"β API group and version used for serializing audit events written to webhook.--authentication-config=""β file with Authentication Configuration to configure the JWT Token authenticator or the anonymous authenticator. this flag is mutually exclusive with the--oidc-*flags if the file configures the JWT Token authenticator. this flag is also mutually exclusive with--anonymous-authif the file configures the Anonymous authenticator. π¨--authentication-token-webhook-cache-ttl=2m0sβ the duration to cache responses from the webhook token authenticator.--authentication-token-webhook-config-file=""β 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="v1beta1"β the API version of theauthentication.k8s.ioTokenReview to send to and expect from the webhook.--authorization-config=""β file with Authorization Configuration to configure the authorizer chain. this flag is mutually exclusive with the other--authorization-modeand--authorization-webhook-*flags. π βοΈ--authorization-mode=[]β ordered list of plug-ins to do authorization on secure port. defaults toAlwaysAllowif--authorization-configis not used. comma-delimited list of:AlwaysAllow,AlwaysDeny,ABAC,Webhook,RBAC,Node.--authorization-policy-file=""β file with authorization policy in json line by line format, used with--authorization-mode=ABAC, on the secure port.--authorization-webhook-cache-authorized-ttl=5m0sβ the duration to cache'authorized'responses from the webhook authorizer.--authorization-webhook-cache-unauthorized-ttl=30sβ the duration to cache'unauthorized'responses from the webhook authorizer.--authorization-webhook-config-file=""β 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="v1beta1"β the API version of theauthorization.k8s.ioSubjectAccessReview to send to and expect from the webhook.
and bestieβ¦ that's literally only the first chunk of the flags. the alphabet is long and this server has opinions about all of it. more coming. π¦
--bind-address=0.0.0.0β the IP address your apiserver listens on for the--secure-portport π. Whatever interface(s) you hook up here gotta be reachable by the rest of the cluster and by your CLI/web clients, no cap. If it's blank, or you hand it an unspecified address (0.0.0.0or::), then literally all interfaces and IP address families get used. All of them. Periodt.--cert-dir="/var/run/kubernetes"β where the TLS certs live π. But heads up bestie: if you already gave it--tls-cert-fileand--tls-private-key-file, this flag gets straight-up ignored. It's giving backup plan energy. π--client-ca-file=""β set this and any request rocking a client certificate signed by one of the authorities insideclient-ca-filegets authenticated with an identity matching the CommonName of that client certificate. That's the whole vibe. πͺͺ--contention-profiling=falseβ enables block profiling, if profiling is already enabled. Conditional queen. π--coordinated-leadership-lease-duration=15sβ how long the lease lasts for Coordinated Leader Election. β³--coordinated-leadership-renew-deadline=10sβ the deadline for renewing a coordinated leader election lease. Don't be late bestie. π--coordinated-leadership-retry-period=2sβ how often it retries renewing that coordinated leader election lease. π--cors-allowed-origins=[]β a comma-separated list of allowed origins for CORS β¨. An allowed origin can be a regular expression so you can do subdomain matching. If this list is empty, CORS simply will not be enabled. Also pls pls pls make sure each expression matches the entire hostname β anchor the start with'^'or include the'//'prefix, and anchor the end with'$'or include the':'port separator suffix. Examples of valid expressions are'//example.com(:|$)'and'^https://example.com(:|$)'. Slay responsibly. π¦--debug-socket-path=""β use an unprotected (no authn/authz π³) unix-domain socket for profiling, at whatever path you give it. It's giving "no security, we die like men."--default-not-ready-toleration-seconds=300β thetolerationSecondsof the toleration fornotReady:NoExecutethat gets added by default to every pod that doesn't already have a toleration like that. β--default-unreachable-toleration-seconds=300β same deal but forunreachable:NoExecute: thetolerationSecondsof the toleration added by default to every pod that doesn't already have one. π--default-watch-cache-size=100β the default watch cache size π¦. If it's zero, the watch cache gets disabled for resources that don't have a default watch size set.--delete-collection-workers=1β how many workers get spawned for the DeleteCollection call π§Ή. These exist to speed up namespace cleanup, so like, more workers = faster sweeping.--disable-admission-plugins=[]β the admission plugins you wanna turn off, even though they're in the default enabled plugins list. Those defaults are:NamespaceLifecycle,LimitRanger,ServiceAccount,TaintNodesByCondition,PodSecurity,Priority,DefaultTolerationSeconds,DefaultStorageClass,StorageObjectInUseProtection,PodGroupProtection,PersistentVolumeClaimResize,RuntimeClass,CertificateApproval,CertificateSigning,ClusterTrustBundleAttest,CertificateSubjectRestriction,DefaultIngressClass,PodTopologyLabels,NodeDeclaredFeatureValidator,PodResizeValidator,MutatingAdmissionPolicy,MutatingAdmissionWebhook,ValidatingAdmissionPolicy,ValidatingAdmissionWebhook,ResourceQuota
And the full comma-delimited list of admission plugins you can name is:
AlwaysAdmit,AlwaysDeny,AlwaysPullImages,CertificateApproval,CertificateSigning,CertificateSubjectRestriction,ClusterTrustBundleAttest,DefaultIngressClass,DefaultStorageClass,DefaultTolerationSeconds,DenyServiceExternalIPs,EventRateLimit,ExtendedResourceToleration,ImagePolicyWebhook,LimitPodHardAntiAffinityTopology,LimitRanger,MutatingAdmissionPolicy,MutatingAdmissionWebhook,NamespaceAutoProvision,NamespaceExists,NamespaceLifecycle,NodeDeclaredFeatureValidator,NodeRestriction,OwnerReferencesPermissionEnforcement,PersistentVolumeClaimResize,PodGroupProtection,PodNodeSelector,PodResizeValidator,PodSecurity,PodTolerationRestriction,PodTopologyLabels,Priority,ResourceQuota,RuntimeClass,ServiceAccount,StorageObjectInUseProtection,TaintNodesByCondition,ValidatingAdmissionPolicy,ValidatingAdmissionWebhook
The order of plugins in this flag does not matter β it's not that serious. π
--disable-http2-serving=falseβ if true, HTTP2 serving gets disabled[default=false]. Simple as. π--disabled-metrics=[]β the escape hatch for misbehaving metrics π€. You must hand over the fully qualified metric name to disable it. Disclaimer, read it twice: disabling metrics is higher in precedence than showing hidden metrics. So if you disable it, it's gone gone. π--egress-selector-config-file=""β file with apiserver egress selector configuration. πͺ--emulated-version=[]β the versions that different components emulate their capabilities (APIs, features, ...) of. If you set it, the component emulates the behavior of this version instead of the underlying binary version β¨. Version format can only bemajor.minor, for example:'--emulated-version=wardle=1.2,kube=1.31'. Options are:kube=1.34..1.37(default:1.37). If the component isn't specified, it defaults to"kube". π--emulation-forward-compatible=falseβ if true, then for any beta+ APIs enabled by default or by--runtime-configat the emulation version, their future versions with higher priority/stability get auto enabled even if they were introduced after the emulation version π. It can only be set to true if the emulation version is lower than the binary version. No shortcuts bestie.--enable-admission-plugins=[]β the admission plugins you wanna turn on in addition to the default enabled ones. Those defaults are:NamespaceLifecycle,LimitRanger,ServiceAccount,TaintNodesByCondition,PodSecurity,Priority,DefaultTolerationSeconds,DefaultStorageClass,StorageObjectInUseProtection,PodGroupProtection,PersistentVolumeClaimResize,RuntimeClass,CertificateApproval,CertificateSigning,ClusterTrustBundleAttest,CertificateSubjectRestriction,DefaultIngressClass,PodTopologyLabels,NodeDeclaredFeatureValidator,PodResizeValidator,MutatingAdmissionPolicy,MutatingAdmissionWebhook,ValidatingAdmissionPolicy,ValidatingAdmissionWebhook,ResourceQuota
And the full comma-delimited list of admission plugins you can name is:
AlwaysAdmit,AlwaysDeny,AlwaysPullImages,CertificateApproval,CertificateSigning,CertificateSubjectRestriction,ClusterTrustBundleAttest,DefaultIngressClass,DefaultStorageClass,DefaultTolerationSeconds,DenyServiceExternalIPs,EventRateLimit,ExtendedResourceToleration,ImagePolicyWebhook,LimitPodHardAntiAffinityTopology,LimitRanger,MutatingAdmissionPolicy,MutatingAdmissionWebhook,NamespaceAutoProvision,NamespaceExists,NamespaceLifecycle,NodeDeclaredFeatureValidator,NodeRestriction,OwnerReferencesPermissionEnforcement,PersistentVolumeClaimResize,PodGroupProtection,PodNodeSelector,PodResizeValidator,PodSecurity,PodTolerationRestriction,PodTopologyLabels,Priority,ResourceQuota,RuntimeClass,ServiceAccount,StorageObjectInUseProtection,TaintNodesByCondition,ValidatingAdmissionPolicy,ValidatingAdmissionWebhook
The order of plugins in this flag does not matter. Zero stress. πΈ
--enable-aggregator-routing=falseβ turns on aggregator routing requests to endpoints IP rather than cluster IP. π--enable-bootstrap-token-auth=falseβ enable this to allow secrets of type'bootstrap.kubernetes.io/token'in the'kube-system'namespace to be used for TLS bootstrapping authentication. π«--enable-garbage-collector=trueβ enables the generic garbage collector ποΈ. It MUST be synced with the corresponding flag of thekube-controller-manager. Not optional, not a suggestion, they have to match.--enable-logs-handler=falseβ if true, install a/logshandler for the apiserver logs. π--enable-priority-and-fairness=trueβ if true, replace the max-in-flight handler with an enhanced one that queues and dispatches with priority and fairness. VIP treatment for your requests. π--encryption-provider-config=""β the file containing configuration for encryption providers to be used for storing secrets in etcd. π--encryption-provider-config-automatic-reload=falseβ determines if the file set by--encryption-provider-configshould automatically reload if the disk contents change. β οΈ But setting this to true disables the ability to uniquely identify distinct KMS plugins via the API server healthz endpoints. Trade-offs, bestie.--endpoint-reconciler-type="lease"β pick an endpoint reconciler:master-count,lease, ornone. Andmaster-countis deprecated and will be removed in a future version, so like, don't get attached. π--etcd-cafile=""β SSL Certificate Authority file used to secure etcd communication. π--etcd-certfile=""β SSL certification file used to secure etcd communication. π--etcd-compaction-interval=5m0sβ the interval of compaction requests. If it's0, the compaction request from apiserver is disabled. π§Ό--etcd-count-metric-poll-period=1m0sβ how often it polls etcd for the number of resources per type.0disables the metric collection. π--etcd-db-metric-poll-interval=30sβ the interval of requests to poll etcd and update the metric.0disables the metric collection. β±οΈ--etcd-healthcheck-timeout=2sβ the timeout to use when checking etcd health. π©Ί--etcd-keyfile=""β SSL key file used to secure etcd communication. ποΈ--etcd-prefix="/registry"β the prefix to prepend to all resource paths in etcd. π·οΈ--etcd-readycheck-timeout=2sβ the timeout to use when checking etcd readiness. β--etcd-servers=[]β list of etcd servers to connect with (scheme://ip:port), comma separated. π--etcd-servers-overrides=[]β per-resource etcd servers overrides, comma separated. The individual override format is:group/resource#servers, where servers are URLs, semicolon separated. Note that this applies only to resources compiled into this server binary. e.g."/pods#http://etcd4:2379;http://etcd5:2379,/events#http://etcd6:2379". Custom routing, we love to see it. π--event-ttl=1h0m0sβ how long events get retained. ποΈ--external-hostname=""β the hostname to use when generating externalized URLs for this master (e.g. Swagger API Docs or OpenID Discovery). π--feature-gates=β bestie. okay. this is the big one π it's a comma-separated list ofcomponent:key=valuepairs that describe feature gates for alpha/experimental features across different components. If you don't name a component, it just defaults to"kube". You can invoke this flag over and over (it stacks!), and here's the vibe:
--feature-gates 'wardle:featureA=true,wardle:featureB=false' --feature-gates 'kube:featureC=true'
Options are: π
kube:APIResponseCompression=true|falseβ BETA, defaulttrueβ¨kube:APIServerIdentity=true|falseβ BETA, defaulttruekube:APIServerWebhookAuthenticationToken=true|falseβ ALPHA, defaultfalsekube:APIServingWithRoutine=true|falseβ ALPHA, defaultfalsekube:AllAlpha=true|falseβ ALPHA, defaultfalsekube:AllBeta=true|falseβ BETA, defaultfalsekube:AllowParsingUserUIDFromCertAuth=true|falseβ BETA, defaulttruekube:AllowUnsafeMalformedObjectDeletion=true|falseβ BETA, defaulttruekube:AtomicFIFO=true|falseβ BETA, defaulttruekube:AtomicWriteVolumeUserFields=true|falseβ ALPHA, defaultfalsekube:AuthorizePodWebsocketUpgradeCreatePermission=true|falseβ BETA, defaulttruekube:CBORServingAndStorage=true|falseβ ALPHA, defaultfalsekube:CPUManagerPolicyAlphaOptions=true|falseβ ALPHA, defaultfalsekube:CPUManagerPolicyBetaOptions=true|falseβ BETA, defaulttruekube:CRDObservedGenerationTracking=true|falseβ BETA, defaulttruekube:CRIListStreaming=true|falseβ ALPHA, defaultfalsekube:CSIVolumeHealth=true|falseβ ALPHA, defaultfalsekube:ClearingNominatedNodeNameAfterBinding=true|falseβ BETA, defaulttruekube:ClientsAllowCARotation=true|falseβ BETA, defaulttruekube:ClientsAllowCBOR=true|falseβ ALPHA, defaultfalsekube:ClientsAllowTLSCacheGC=true|falseβ BETA, defaulttruekube:ClientsPreferCBOR=true|falseβ ALPHA, defaultfalsekube:CloudControllerManagerWatchBasedRoutesReconciliation=true|falseβ ALPHA, defaultfalsekube:CloudControllerManagerWebhook=true|falseβ ALPHA, defaultfalsekube:ComponentFlagz=true|falseβ BETA, defaulttruekube:ComponentStatusz=true|falseβ BETA, defaulttruekube:CompositePodGroup=true|falseβ ALPHA, defaultfalsekube:ConcurrentWatchObjectDecode=true|falseβ BETA, defaulttruekube:ConsistentListFromCacheSkipTimeoutFallback=true|falseβ ALPHA, defaultfalsekube:ConstrainedImpersonation=true|falseβ BETA, defaulttruekube:ContainerCheckpoint=true|falseβ BETA, defaulttruekube:ContainerRestartRules=true|falseβ BETA, defaulttruekube:ContainerStopSignals=true|falseβ ALPHA, defaultfalsekube:ContextualLogging=true|falseβ BETA, defaulttruekube:ControllerManagerReleaseLeaderElectionLockOnExit=true|falseβ ALPHA, defaultfalsekube:CoordinatedLeaderElection=true|falseβ BETA, defaultfalsekube:CrossNamespaceVolumeDataSource=true|falseβ ALPHA, defaultfalsekube:DRAConsumableCapacity=true|falseβ BETA, defaulttruekube:DRADerivedAttributes=true|falseβ ALPHA, defaultfalsekube:DRADeviceBindingConditions=true|falseβ BETA, defaulttruekube:DRADeviceCompatibilityGroups=true|falseβ ALPHA, defaultfalsekube:DRAFractionalCapacityRange=true|falseβ BETA, defaultfalse, orDRAFractionalCapacityRange=true|falseBETA, defaulttrueif--min-compatibility-version>=1.37π¦kube:DRAListTypeAttributes=true|falseβ ALPHA, defaultfalsekube:DRANodeAllocatableResources=true|falseβ ALPHA, defaultfalsekube:DRAOptionalNodeOperations=true|falseβ ALPHA, defaultfalsekube:DRAPartitionableDevices=true|falseβ BETA, defaulttruekube:DRAPartitionableDevicesType=true|falseβ ALPHA, defaultfalsekube:DRAResourceClaimGranularStatusAuthorization=true|falseβ BETA, defaulttruekube:DRAResourcePoolStatus=true|falseβ ALPHA, defaultfalsekube:DRASchedulerFilterTimeout=true|falseβ BETA, defaulttruekube:DRAWorkloadResourceClaims=true|falseβ BETA, defaultfalsekube:DeclarativeValidationBeta=true|falseβ BETA, defaulttruekube:DefaultPodSysctls=true|falseβ ALPHA, defaultfalsekube:DeploymentReplicaSetTerminatingReplicas=true|falseβ BETA, defaulttruekube:DetectCacheInconsistency=true|falseβ BETA, defaulttruekube:EmptyDirVolumeMode=true|falseβ ALPHA, defaultfalsekube:EnvFiles=true|falseβ BETA, defaulttruekube:EtcdRangeStream=true|falseβ BETA, defaulttruekube:EventedPLEG=true|falseβ ALPHA, defaultfalsekube:EvictionRequestAPI=true|falseβ ALPHA, defaultfalsekube:ExcludeAdmissionWebhookVirtualResources=true|falseβ BETA, defaulttruekube:ExtendWebSocketsToKubelet=true|falseβ BETA, defaulttruekube:GRPCContainerProbeTLS=true|falseβ ALPHA, defaultfalsekube:GenericWorkload=true|falseβ BETA, defaultfalsekube:GracefulNodeShutdown=true|falseβ BETA, defaulttruekube:GracefulNodeShutdownBasedOnPodPriority=true|falseβ BETA, defaulttruekube:H2CContainerProbe=true|falseβ ALPHA, defaultfalsekube:HPAGeneration=true|falseβ BETA, defaulttruekube:HPAOptimizedSelectorStore=true|falseβ BETA, defaulttruekube:HPAScaleToZero=true|falseβ BETA, defaulttruekube:HugepageAwareEviction=true|falseβ BETA, defaulttruekube:ImageVolumeWithDigest=true|falseβ ALPHA, defaultfalsekube:InOrderInformersBatchProcess=true|falseβ BETA, defaulttruekube:InPlacePodLevelResourcesVerticalScaling=true|falseβ BETA, defaulttruekube:InPlacePodVerticalScalingExclusiveCPUs=true|falseβ ALPHA, defaultfalsekube:InPlacePodVerticalScalingExclusiveMemory=true|falseβ ALPHA, defaultfalsekube:InPlacePodVerticalScalingMemoryBackedVolumes=true|falseβ ALPHA, defaultfalsekube:InPlacePodVerticalScalingSchedulerPreemption=true|falseβ ALPHA, defaultfalsekube:InterPodAffinityHostnameFastPath=true|falseβ ALPHA, defaultfalsekube:KubeProxyNFTablesLocalhostNodePorts=true|falseβ ALPHA, defaultfalsekube:KubeletAllocatedPodsEndpoint=true|falseβ ALPHA, defaultfalsekube:KubeletCrashLoopBackOffMax=true|falseβ BETA, defaulttruekube:KubeletEnsureSecretPulledImages=true|falseβ BETA, defaulttruekube:KubeletInUserNamespace=true|falseβ BETA, defaulttruekube:KubeletSeparateDiskGC=true|falseβ BETA, defaulttruekube:KubeletServiceAccountTokenForCredentialProviders=true|falseβ BETA, defaulttruekube:ListFromCacheSnapshot=true|falseβ BETA, defaulttruekube:LocalStorageCapacityIsolationFSQuotaMonitoring=true|falseβ BETA, defaultfalsekube:LoggingAlphaOptions=true|falseβ ALPHA, defaultfalsekube:LoggingBetaOptions=true|falseβ BETA, defaulttruekube:ManifestBasedAdmissionControlConfig=true|falseβ BETA, defaulttruekube:MatchLabelKeysInPodTopologySpread=true|falseβ BETA, defaulttruekube:MatchLabelKeysInPodTopologySpreadSelectorMerge=true|falseβ BETA, defaulttruekube:MaxUnavailableStatefulSet=true|falseβ BETA, defaulttruekube:MemoryQoS=true|falseβ BETA, defaulttruekube:MutablePVNodeAffinity=true|falseβ ALPHA, defaultfalsekube:MutablePodResourcesForSuspendedJobs=true|falseβ BETA, defaulttruekube:MutableSchedulingDirectivesForSuspendedJobs=true|falseβ BETA, defaulttruekube:NFTablesNetlink=true|falseβ BETA, defaulttruekube:NativeHistograms=true|falseβ BETA, defaulttruekube:NodeControllerLeaseCircuitBreaker=true|falseβ BETA, defaulttruekube:NodeLifecycleConditions=true|falseβ ALPHA, defaultfalsekube:NominatedNodeNameForExpectation=true|falseβ BETA, defaulttruekube:OpenAPIEnums=true|falseβ BETA, defaulttruekube:OpportunisticBatching=true|falseβ BETA, defaulttruekube:PersistentVolumeClaimUnusedSinceTime=true|falseβ BETA, defaulttruekube:PodAndContainerStatsFromCRI=true|falseβ BETA, defaultfalsekube:PodDeletionCost=true|falseβ BETA, defaulttruekube:PodGroupPreemptionPolicy=true|falseβ ALPHA, defaultfalsekube:PodLevelResourceManagers=true|falseβ BETA, defaultfalsekube:PodLevelResources=true|falseβ BETA, defaulttruekube:PodLevelResourcesFixDefaulting=true|falseβ BETA, defaulttruekube:PodLevelResourcesFixKubeletQOSClass=true|falseβ BETA, defaulttruekube:PodLogsQuerySplitStreams=true|falseβ ALPHA, defaultfalsekube:PodTopologyLabelsAdmission=true|falseβ BETA, defaulttruekube:PodsAPI=true|falseβ BETA, defaulttruekube:PortForwardWebsockets=true|falseβ BETA, defaulttruekube:QOSReserved=true|falseβ ALPHA, defaultfalsekube:ReduceDefaultCrashLoopBackOffDecay=true|falseβ ALPHA, defaultfalsekube:ReloadKubeletClientCAFile=true|falseβ BETA, defaulttruekube:ReloadKubeletServerCertificateFile=true|falseβ BETA, defaulttruekube:RemoteRequestHeaderUID=true|falseβ BETA, defaulttruekube:ResourceHealthStatus=true|falseβ BETA, defaulttruekube:ResourceHealthStatusMessage=true|falseβ BETA, defaulttruekube:RestartAllContainersOnContainerExits=true|falseβ BETA, defaulttruekube:RotateKubeletServerCertificate=true|falseβ BETA, defaulttruekube:RuntimeClassInImageCriApi=true|falseβ ALPHA, defaultfalsekube:SchedulerAsyncAPICalls=true|falseβ BETA, defaultfalsekube:SchedulerAsyncPreemption=true|falseβ BETA, defaulttruekube:SchedulerPopFromBackoffQ=true|falseβ BETA, defaulttruekube:SchedulerPreQueueingHints=true|falseβ ALPHA, defaultfalsekube:ServiceAccountNodeAudienceRestriction=true|falseβ BETA, defaulttruekube:ShardedListAndWatch=true|falseβ ALPHA, defaultfalsekube:SizeBasedListCostEstimate=true|falseβ BETA, defaulttruekube:StaleControllerConsistencyDaemonSet=true|falseβ BETA, defaulttruekube:StaleControllerConsistencyHPA=true|falseβ BETA, defaulttruekube:StaleControllerConsistencyJob=true|falseβ BETA, defaulttruekube:StaleControllerConsistencyReplicaSet=true|falseβ BETA, defaulttruekube:StaleControllerConsistencyStatefulSet=true|falseβ BETA, defaulttruekube:StatefulSetRecreateStrategy=true|falseβ ALPHA, defaultfalsekube:StatefulSetSemanticRevisionComparison=true|falseβ BETA, defaulttruekube:StorageCapacityScoring=true|falseβ BETA, defaulttruekube:StorageVersionAPI=true|falseβ ALPHA, defaultfalsekube:StorageVersionHash=true|falseβ BETA, defaulttruekube:StrictIPCIDRValidation=true|falseβ BETA, defaulttruekube:StructuredAuthenticationConfigurationEgressSelector=true|falseβ BETA, defaulttruekube:StructuredAuthenticationConfigurationJWKSMetrics=true|falseβ BETA, defaulttruekube:TaintTolerationComparisonOperators=true|falseβ ALPHA, defaultfalsekube:TokenRequestServiceAccountUIDValidation=true|falseβ BETA, defaulttruekube:TopologyAwareWorkloadScheduling=true|falseβ ALPHA, defaultfalsekube:TopologyManagerPolicyAlphaOptions=true|falseβ ALPHA, defaultfalsekube:TopologyManagerPolicyBetaOptions=true|falseβ BETA, defaulttruekube:TranslateStreamCloseWebsocketRequests=true|falseβ BETA, defaulttruekube:UnauthenticatedHTTP2DOSMitigation=true|falseβ BETA, defaulttruekube:UnknownVersionInteroperabilityProxy=true|falseβ BETA, defaulttruekube:UnlockWhileProcessingFIFO=true|falseβ BETA, π
ngl bestie the page literally cuts off right there mid-line β (BETA - and then nothing. The vibe check failed, the list justβ¦ ends. Not me crying over a truncated manpage π keep reading tho, there's more coming β¨
β¦and the last gate's line wrapped over, so default=true) β anyway, bestie, the feature-gate parade does NOT stop, it just keeps serving:
kube:UserNamespacesHostNetworkSupport=true|falseβ ALPHA, defaultfalseπkube:VolumeBindMountOptions=true|falseβ ALPHA, defaultfalseπ«Άkube:VolumeLimitScaling=true|falseβ BETA, defaulttrueβ¨kube:WatchList=true|falseβ BETA, defaulttrueπkube:WatchListClient=true|falseβ BETA, defaulttrueπ¦kube:WatchListCompression=true|falseβ BETA, defaulttrueποΈkube:WebhookRoundTripLoadBalancing=true|falseβ BETA, defaulttrueβοΈkube:WindowsCPUAndMemoryAffinity=true|falseβ ALPHA, defaultfalseπͺkube:WindowsGracefulNodeShutdown=true|falseβ BETA, defaulttrueπkube:WorkloadWithJob=true|falseβ ALPHA, defaultfalseπ§
--goaway-chance=0β okay so HTTP/2 clients can lowkey get stuck on one single apiserver, and that's the vibe we're fixing. This randomly closes a connection (GOAWAY). The client's other in-flight requests are totally unaffected, and the client reconnects β probably landing on a different apiserver after it goes through the load balancer again. This argument sets the fraction of requests that get sent aGOAWAY. Clusters with single apiservers, or which don't use a load balancer, should NOT enable this. Min is0(off), Max is.02(1/50 requests);.001(1/1000) is a recommended starting point. πͺ-h,--help=falseβ help forkube-apiserverπ₯Ί--http2-max-streams-per-connection=0β the limit 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=""β path to a cert file for the certificate authority. π--kubelet-client-certificate=""β path to a client cert file for TLS. πͺͺ--kubelet-client-key=""β path to a client key file for TLS. π--kubelet-port=10250β DEPRECATED: kubelet port. π--kubelet-preferred-address-types=[Hostname,InternalDNS,InternalIP,ExternalDNS,ExternalIP]β list of the preferredNodeAddressTypesto use for kubelet connections. π--kubelet-read-only-port=10255β DEPRECATED: kubelet read only port. π--kubelet-timeout=5sβ timeout for kubelet operations. β³--kubernetes-service-node-port=0β if non-zero, the Kubernetes master service (which apiserver creates/maintains) will be of typeNodePort, using this as the value of the port. If zero, the Kubernetes master service will be of typeClusterIP. π―--lease-reuse-duration-seconds=60β the time in seconds that each lease is reused. A lower value could avoid a large number of objects reusing the same lease. Notice that a too small value may cause performance problems at storage layer. π«--livez-grace-period=0sβ 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,/livezwill assume that unfinished post-start hooks will complete successfully and therefore returntrue. π--log-flush-frequency=5sβ maximum number of seconds between log flushes. π½--log-text-info-buffer-size=0β [Alpha] in text format with split output streams, the info messages can be buffered for a while to increase performance. The default value of zero bytes disables buffering. The size can be specified as number of bytes (512), multiples of 1000 (1K), multiples of 1024 (2Ki), or powers of those (3M,4G,5Mi,6Gi). Enable theLoggingAlphaOptionsfeature gate to use this. π§Ί--log-text-split-stream=falseβ [Alpha] in text format, write error messages to stderr and info messages to stdout. The default is to write a single stream to stdout. Enable theLoggingAlphaOptionsfeature gate to use this. π--logging-format="text"β sets the log format. Permitted formats:"text". π--max-connection-bytes-per-sec=0β if non-zero, throttle each user connection to this number of bytes/sec. Currently only applies to long-running requests. π--max-mutating-requests-inflight=200β this and--max-requests-inflightare summed to determine the server's total concurrency limit (which must be positive) if--enable-priority-and-fairnessis true. Otherwise, this flag limits the maximum number of mutating requests in flight, or a zero value disables the limit completely. π¦--max-requests-inflight=400β this and--max-mutating-requests-inflightare summed to determine the server's total concurrency limit (which must be positive) if--enable-priority-and-fairnessis true. Otherwise, this flag limits the maximum number of non-mutating requests in flight, or a zero value disables the limit completely. π₯--min-compatibility-version=[]β the min version of control plane components the server should be compatible with. Must be less or equal to the emulated-version. Version format could only bemajor.minor, for example:'--min-compatibility-version=wardle=1.2,kube=1.31'. Options are:kube=1.34..1.37(default:1.36)If the component is not specified, defaults to"kube". π€--min-request-timeout=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=""β if set, the OpenID server's certificate will be verified by one of the authorities in theoidc-ca-file, otherwise the host's root CA set will be used. ποΈ--oidc-client-id=""β the client ID for the OpenID Connect client, must be set ifoidc-issuer-urlis set. π--oidc-groups-claim=""β 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=""β if provided, all groups will be prefixed with this value to prevent conflicts with other authentication strategies. π·οΈ--oidc-issuer-url=""β 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=β akey=valuepair 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=[RS256]β comma-separated list of allowed JOSE asymmetric signing algorithms. JWTs with a supported'alg'header values are:RS256,RS384,RS512,ES256,ES384,ES512,PS256,PS384,PS512. Values are defined by RFC 7518https://tools.ietf.org/html/rfc7518#section-3.1. βοΈ--oidc-username-claim="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=""β 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'-'. βοΈ--peer-advertise-ip=""β if set and theUnknownVersionInteroperabilityProxyfeature gate is enabled, this IP will be used by peer kube-apiservers to proxy requests to this kube-apiserver when the request cannot be handled by the peer due to version skew between the kube-apiservers. This flag is only used in clusters configured with multiple kube-apiservers for high availability. π°οΈ--peer-advertise-port=""β if set and theUnknownVersionInteroperabilityProxyfeature gate is enabled, this port will be used by peer kube-apiservers to proxy requests to this kube-apiserver when the request cannot be handled by the peer due to version skew between the kube-apiservers. This flag is only used in clusters configured with multiple kube-apiservers for high availability. π--peer-ca-file=""β if set and theUnknownVersionInteroperabilityProxyfeature gate is enabled, this file will be used to verify serving certificates of peer kube-apiservers. This flag is only used in clusters configured with multiple kube-apiservers for high availability. π§Ύ--permit-address-sharing=falseβ if true,SO_REUSEADDRwill be used when binding the port. This allows binding to wildcard IPs like0.0.0.0and specific IPs in parallel, and it avoids waiting for the kernel to release sockets inTIME_WAITstate.[default=false]π«--permit-port-sharing=falseβ if true,SO_REUSEPORTwill be used when binding the port, which allows more than one instance to bind on the same address and port.[default=false]π―--profiling=trueβ enable profiling via web interfacehost:port/debug/pprof/. π--proxy-client-cert-file=""β 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-fileflag. That CA is published in the'extension-apiserver-authentication'configmap in thekube-systemnamespace. Components receiving calls from kube-aggregator should use that CA to perform their half of the mutual TLS verification. π--proxy-client-key-file=""β 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=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-timeoutfor specific types of requests. β--requestheader-allowed-names=[]β 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-fileis allowed. π--requestheader-client-ca-file=""β 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=[]β list of request header prefixes to inspect.X-Remote-Extra-is suggested. π--requestheader-group-headers=[]β list of request headers to inspect for groups.X-Remote-Groupis suggested. π¨π©π§--requestheader-uid-headers=[]β list of request headers to inspect for UIDs.X-Remote-Uidis suggested. Requires theRemoteRequestHeaderUIDfeature to be enabled. πͺͺ--requestheader-username-headers=[]β bestie, this is the list of request headers the apiserver goes digging through to find usernames.X-Remote-Useris the common one, iykyk π--runtime-config=β a whole set ofkey=valuepairs that turn built-in APIs on or off, like a vibe check for your API surface. The supported options are:v1=true|falsefor the core API group/=true|falsefor a specific API group and version (e.g.apps/v1=true)api/all=true|falsecontrols all API versionsapi/ga=true|falsecontrols all API versions of the formv[0-9]+api/beta=true|falsecontrols all API versions of the formv[0-9]+beta[0-9]+api/alpha=true|falsecontrols all API versions of the formv[0-9]+alpha[0-9]+api/legacyis deprecated, and will be removed in a future version π
--runtime-config-emulation-forward-compatible=falseβ iftrue, APIs identified by group/version that are enabled in the--runtime-configflag get installed even if they were introduced after the emulation version. Iffalse, the server would fail to start if any APIs identified by group/version enabled in--runtime-configwere introduced after the emulation version. Can only be set totrueif the emulation version is lower than the binary version. Rules are rules, bestie β¨--secure-port=6443β the port serving HTTPS with authentication and authorization π it cannot be switched off with0. Like, don't even try.--service-account-extend-token-expiration=trueβ turns on projected service account expiration extension during token generation, which helps with the safe transition from legacy token to the bound service account token feature. If this flag is enabled, admission injected tokens would be extended up to 1 year to prevent unexpected failure during transition, ignoring the value ofservice-account-max-token-expiration. π«Ά--service-account-issuer=[]β the identifier of the service account token issuer. The issuer will assert this identifier in the"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 totrue. 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 thatservice-account-issuermust be anhttpsURL. It is also highly recommended that this URL be capable of serving OpenID discovery documents at{service-account-issuer}/.well-known/openid-configuration. When this flag is specified multiple times, the first is used to generate tokens and all are used to determine which issuers are accepted. π--service-account-jwks-uri=""β 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 doc and key set are served to relying parties from a URL other than the API server's external (as auto-detected or overridden withexternal-hostname). πΈ--service-account-key-file=[]β 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-fileis used. Must be specified when--service-account-signing-key-fileis provided β οΈ--service-account-lookup=trueβ iftrue, validate that ServiceAccount tokens exist in etcd as part of authentication. π--service-account-max-token-expiration=0sβ 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-endpoint=""β path to socket where an external JWT signer is listening. This flag is mutually exclusive with--service-account-signing-key-fileand--service-account-key-file. Requires enabling feature gate (ExternalServiceAccountTokenSigner). π¦--service-account-signing-key-file=""β 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. π₯--service-cluster-ip-range=""β a CIDR notation IP range from which to assign service cluster IPs. This must not overlap with any IP ranges assigned to nodes or pods. Max of two dual-stack CIDRs is allowed. π--service-node-port-range=30000-32767β a port range to reserve for services with NodePort visibility. This must not overlap with the ephemeral port range on nodes. Example:'30000-32767'. Inclusive at both ends of the range. π--show-hidden-metrics-for-version=""β 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.<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=0sβ time to delay the termination. During that time the server keeps serving requests normally. The endpoints/healthzand/livezwill return success, but/readyzimmediately returns failure. Graceful termination starts after this delay has elapsed. This can be used to allow a load balancer to stop sending traffic to this server. π--shutdown-send-retry-after=falseβ iftruethe HTTP Server will continue listening until all non long running request(s) in flight have been drained. During this window all incoming requests will be rejected with a status code429and a'Retry-After'response header, and in addition a'Connection: close'response header is set in order to tear down the TCP connection when idle. π--shutdown-watch-termination-grace-period=0sβ this option, if set, represents the maximum amount of grace period the apiserver will wait for active watch request(s) to drain during the graceful server shutdown window. π«Ά--storage-backend=""β the storage backend for persistence. Options:'etcd3'(default). π--storage-initialization-timeout=1m0sβ maximum amount of time to wait for storage initialization before declaring apiserver ready. Defaults to1m. β³--storage-media-type="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. Supported media types:[application/json, application/yaml, application/vnd.kubernetes.protobuf]. π--strict-transport-security-directives=[]β list of directives for HSTS, comma separated. If this list is empty, then HSTS directives will not be added. Example:'max-age=31536000,includeSubDomains,preload'. π--tls-cert-file=""β file containing the default x509 Certificate for HTTPS. (CA cert, if any, concatenated after server cert). If HTTPS serving is enabled, and--tls-cert-fileand--tls-private-key-fileare 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=[]β comma-separated list of cipher suites for the server. If omitted, the default Go cipher suites will be used. Preferred values:TLS_AES_128_GCM_SHA256,TLS_AES_256_GCM_SHA384,TLS_CHACHA20_POLY1305_SHA256,TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA,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_CHACHA20_POLY1305_SHA256,TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA,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_CHACHA20_POLY1305_SHA256. Insecure values:TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256,TLS_ECDHE_ECDSA_WITH_RC4_128_SHA,TLS_ECDHE_RSA_WITH_3DES_EDE_CBC_SHA,TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256,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. π
bestie the insecure list is called insecure for a REASON, do not pick those, I'm begging π
--tls-curve-preferences=[]β comma-separated list of numeric Gocrypto/tlsCurveID values, as the allowed key exchange mechanisms for the server. The supported values depend on the Go version used. Seehttps://pkg.go.dev/crypto/tls#CurveIDfor values supported for each Go version. The order of the list is ignored, and key exchange mechanisms are chosen by Go from this list using an internal preference order. If omitted, the default Go curves will be used. π--tls-min-version=""β minimum TLS version supported. Possible values:VersionTLS10,VersionTLS11,VersionTLS12,VersionTLS13. π--tls-private-key-file=""β file containing the default x509 private key matching--tls-cert-file. ποΈ--tls-sni-cert-key=[]β 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-keymultiple times. Examples:"example.crt,example.key"or"foo.crt,foo.key:*.foo.com,foo.com". π--token-auth-file=""β if set, the file that will be used to secure the secure port of the API server via token authentication. π--tracing-config-file=""β file with apiserver tracing configuration. π¦-v,--v=0β number for the log level verbosity. β¨--version=falseβ--version,--version=rawprints version information and quits;--version=vX.Y.Z...sets the reported version. π--vmodule=β comma-separated list ofpattern=Nsettings for file-filtered logging (only works for text log format). π--watch-cache=trueβ enable watch caching in the apiserver. π«Ά--watch-cache-sizes=[]β okay so this one is the watch cache size settings for some resources (pods, nodes, etc.), and you give them as a comma separated list, bestie. The individual setting format isresource[.group]#size, where:resourceis the lowercase plural (no version, periodt),groupis omitted for resources of apiVersion v1 (aka the legacy core API π) and included for the others,- and
sizeis a number.
Lowkey important: this option is only meaningful for resources built into the apiserver, not ones defined by CRDs or aggregated from external servers, and it's only consulted if the watch-cache is enabled. And here's the tea β the only meaningful size setting to supply here is zero, which means to disable watch caching for the associated resource. All non-zero values are equivalent and mean to not disable watch caching for that resource. So like, zero or nothing, there is no in-between. π«Ά
β¨ HISTORY β¨
January 2015, originally compiled by Eric Paris (eparis at redhat dot com) based on the kubernetes source material β but hopefully they have been automatically generated since! ππ
and that's the whole page, bestie!! π you made it to the end, iconic behavior fr fr.
this little masterpiece lives in the Kubernetes manual set, filed under User, and goes by the very official name KUBERNETES(1)(kubernetes) β that's your source, your version, your whole vibe check. β¨
go forth and kubectl responsibly, mwah ππ¦
π¦ where this page comes from
- arch rolling: kube-apiserver 1.37.2-1 Β· Apache-2.0
- fedora 43: kubernetes1.37-systemd 1.37.0-3.fc43
- fedora 43: kubernetes1.37-systemd 1.37.1-1.fc43 Β· Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND BSD-3-Clause-HP AND CC-BY-4.0 AND ISC AND MIT AND MPL-2.0
- fedora 44: kubernetes1.37-systemd 1.37.0-3.fc44
- fedora 44: kubernetes1.37-systemd 1.37.1-1.fc44 Β· Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND BSD-3-Clause-HP AND CC-BY-4.0 AND ISC AND MIT AND MPL-2.0
- nixpkgs unstable: kubernetes 1.37.2
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms