diff --git a/content/en/docs/reference/config-api/apiserver-audit.v1.md b/content/en/docs/reference/config-api/apiserver-audit.v1.md
index f0f36c2344..11df06bd8c 100644
--- a/content/en/docs/reference/config-api/apiserver-audit.v1.md
+++ b/content/en/docs/reference/config-api/apiserver-audit.v1.md
@@ -81,7 +81,7 @@ For non-resource requests, this is the lower-cased HTTP method.
user [Required]
-authentication/v1.UserInfo
+authentication/v1.UserInfo
|
Authenticated user information. |
@@ -89,7 +89,7 @@ For non-resource requests, this is the lower-cased HTTP method.
impersonatedUser
-authentication/v1.UserInfo
+authentication/v1.UserInfo
|
Impersonated user information. |
@@ -123,7 +123,7 @@ Does not apply for List-type requests, or non-resource requests.
responseStatus
-meta/v1.Status
+meta/v1.Status
|
The response status, populated even when the ResponseObject is not a Status type.
@@ -154,7 +154,7 @@ at Response Level. |
requestReceivedTimestamp
-meta/v1.MicroTime
+meta/v1.MicroTime
|
Time the request reached the apiserver. |
@@ -162,7 +162,7 @@ at Response Level.
stageTimestamp
-meta/v1.MicroTime
+meta/v1.MicroTime
|
Time the request reached current audit stage. |
@@ -206,7 +206,7 @@ EventList is a list of audit Events.
metadata
-meta/v1.ListMeta
+meta/v1.ListMeta
|
No description provided.
@@ -252,7 +252,7 @@ categories are logged.
|
metadata
-meta/v1.ObjectMeta
+meta/v1.ObjectMeta
|
ObjectMeta is included for interoperability with API infrastructure.Refer to the Kubernetes API documentation for the fields of the metadata field. |
@@ -303,7 +303,7 @@ PolicyList is a list of audit Policies.
metadata
-meta/v1.ListMeta
+meta/v1.ListMeta
|
No description provided.
diff --git a/content/en/docs/reference/config-api/client-authentication.v1beta1.md b/content/en/docs/reference/config-api/client-authentication.v1beta1.md
index e78edd23f6..d018fb208f 100644
--- a/content/en/docs/reference/config-api/client-authentication.v1beta1.md
+++ b/content/en/docs/reference/config-api/client-authentication.v1beta1.md
@@ -187,6 +187,14 @@ ExecConfig.ProvideClusterInfo). |
+interactive [Required]
+bool
+ |
+
+ Interactive declares whether stdin has been passed to this exec plugin. |
+
+
+
@@ -215,7 +223,7 @@ itself should at least be protected via file permissions.
expirationTimestamp
-meta/v1.Time
+meta/v1.Time
|
ExpirationTimestamp indicates a time when the provided credentials expire. |
diff --git a/content/en/docs/reference/config-api/kube-proxy-config.v1alpha1.md b/content/en/docs/reference/config-api/kube-proxy-config.v1alpha1.md
index 86315856b2..94209488fe 100644
--- a/content/en/docs/reference/config-api/kube-proxy-config.v1alpha1.md
+++ b/content/en/docs/reference/config-api/kube-proxy-config.v1alpha1.md
@@ -546,6 +546,10 @@ this always falls back to the userspace proxy.
- [KubeProxyConfiguration](#kubeproxy-config-k8s-io-v1alpha1-KubeProxyConfiguration)
+- [KubeSchedulerConfiguration](#kubescheduler-config-k8s-io-v1beta2-KubeSchedulerConfiguration)
+
+- [GenericControllerManagerConfiguration](#controllermanager-config-k8s-io-v1alpha1-GenericControllerManagerConfiguration)
+
ClientConnectionConfiguration contains details for constructing a client.
@@ -597,5 +601,180 @@ client.
+
+
+
+## `DebuggingConfiguration` {#DebuggingConfiguration}
+
+
+
+
+**Appears in:**
+
+- [KubeSchedulerConfiguration](#kubescheduler-config-k8s-io-v1beta2-KubeSchedulerConfiguration)
+
+- [GenericControllerManagerConfiguration](#controllermanager-config-k8s-io-v1alpha1-GenericControllerManagerConfiguration)
+
+
+DebuggingConfiguration holds configuration for Debugging related features.
+
+
+| Field | Description |
+
+
+
+
+enableProfiling [Required]
+bool
+ |
+
+ enableProfiling enables profiling via web interface host:port/debug/pprof/ |
+
+
+
+enableContentionProfiling [Required]
+bool
+ |
+
+ enableContentionProfiling enables lock contention profiling, if
+enableProfiling is true. |
+
+
+
+
+
+
+## `LeaderElectionConfiguration` {#LeaderElectionConfiguration}
+
+
+
+
+**Appears in:**
+
+- [KubeSchedulerConfiguration](#kubescheduler-config-k8s-io-v1beta2-KubeSchedulerConfiguration)
+
+- [GenericControllerManagerConfiguration](#controllermanager-config-k8s-io-v1alpha1-GenericControllerManagerConfiguration)
+
+
+LeaderElectionConfiguration defines the configuration of leader election
+clients for components that can run with leader election enabled.
+
+
+| Field | Description |
+
+
+
+
+leaderElect [Required]
+bool
+ |
+
+ leaderElect enables a leader election client to gain leadership
+before executing the main loop. Enable this when running replicated
+components for high availability. |
+
+
+
+leaseDuration [Required]
+meta/v1.Duration
+ |
+
+ leaseDuration is 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. |
+
+
+
+renewDeadline [Required]
+meta/v1.Duration
+ |
+
+ renewDeadline is 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. |
+
+
+
+retryPeriod [Required]
+meta/v1.Duration
+ |
+
+ retryPeriod is the duration the clients should wait between attempting
+acquisition and renewal of a leadership. This is only applicable if
+leader election is enabled. |
+
+
+
+resourceLock [Required]
+string
+ |
+
+ resourceLock indicates the resource object type that will be used to lock
+during leader election cycles. |
+
+
+
+resourceName [Required]
+string
+ |
+
+ resourceName indicates the name of resource object that will be used to lock
+during leader election cycles. |
+
+
+
+resourceNamespace [Required]
+string
+ |
+
+ resourceName indicates the namespace of resource object that will be used to lock
+during leader election cycles. |
+
+
+
+
+
+
+## `LoggingConfiguration` {#LoggingConfiguration}
+
+
+
+
+**Appears in:**
+
+- [KubeletConfiguration](#kubelet-config-k8s-io-v1beta1-KubeletConfiguration)
+
+
+LoggingConfiguration contains logging options
+Refer [Logs Options](https://github.com/kubernetes/component-base/blob/master/logs/options.go) for more information.
+
+
+| Field | Description |
+
+
+
+
+format [Required]
+string
+ |
+
+ Format Flag specifies the structure of log messages.
+default value of format is `text` |
+
+
+
+sanitization [Required]
+bool
+ |
+
+ [Experimental] When enabled prevents logging of fields tagged as sensitive (passwords, keys, tokens).
+Runtime log sanitization may introduce significant computation overhead and therefore should not be enabled in production.`) |
+
+
+
diff --git a/content/en/docs/reference/config-api/kube-scheduler-config.v1beta2.md b/content/en/docs/reference/config-api/kube-scheduler-config.v1beta2.md
index 8121773162..1a28c03c88 100644
--- a/content/en/docs/reference/config-api/kube-scheduler-config.v1beta2.md
+++ b/content/en/docs/reference/config-api/kube-scheduler-config.v1beta2.md
@@ -13,16 +13,250 @@ auto_generated: true
- [InterPodAffinityArgs](#kubescheduler-config-k8s-io-v1beta2-InterPodAffinityArgs)
- [KubeSchedulerConfiguration](#kubescheduler-config-k8s-io-v1beta2-KubeSchedulerConfiguration)
- [NodeAffinityArgs](#kubescheduler-config-k8s-io-v1beta2-NodeAffinityArgs)
+- [NodeResourcesBalancedAllocationArgs](#kubescheduler-config-k8s-io-v1beta2-NodeResourcesBalancedAllocationArgs)
- [NodeResourcesFitArgs](#kubescheduler-config-k8s-io-v1beta2-NodeResourcesFitArgs)
-- [NodeResourcesLeastAllocatedArgs](#kubescheduler-config-k8s-io-v1beta2-NodeResourcesLeastAllocatedArgs)
-- [NodeResourcesMostAllocatedArgs](#kubescheduler-config-k8s-io-v1beta2-NodeResourcesMostAllocatedArgs)
- [PodTopologySpreadArgs](#kubescheduler-config-k8s-io-v1beta2-PodTopologySpreadArgs)
-- [RequestedToCapacityRatioArgs](#kubescheduler-config-k8s-io-v1beta2-RequestedToCapacityRatioArgs)
- [VolumeBindingArgs](#kubescheduler-config-k8s-io-v1beta2-VolumeBindingArgs)
- [Policy](#kubescheduler-config-k8s-io-v1-Policy)
+## `ClientConnectionConfiguration` {#ClientConnectionConfiguration}
+
+
+
+
+**Appears in:**
+
+- [KubeSchedulerConfiguration](#kubescheduler-config-k8s-io-v1beta2-KubeSchedulerConfiguration)
+
+
+ClientConnectionConfiguration contains details for constructing a client.
+
+
+| Field | Description |
+
+
+
+
+kubeconfig [Required]
+string
+ |
+
+ kubeconfig is the path to a KubeConfig file. |
+
+
+
+acceptContentTypes [Required]
+string
+ |
+
+ acceptContentTypes defines the Accept header sent by clients when connecting to a server, overriding the
+default value of 'application/json'. This field will control all connections to the server used by a particular
+client. |
+
+
+
+contentType [Required]
+string
+ |
+
+ contentType is the content type used when sending data to the server from this client. |
+
+
+
+qps [Required]
+float32
+ |
+
+ qps controls the number of queries per second allowed for this connection. |
+
+
+
+burst [Required]
+int32
+ |
+
+ burst allows extra queries to accumulate when a client is exceeding its rate. |
+
+
+
+
+
+
+## `DebuggingConfiguration` {#DebuggingConfiguration}
+
+
+
+
+**Appears in:**
+
+- [KubeSchedulerConfiguration](#kubescheduler-config-k8s-io-v1beta2-KubeSchedulerConfiguration)
+
+
+DebuggingConfiguration holds configuration for Debugging related features.
+
+
+| Field | Description |
+
+
+
+
+enableProfiling [Required]
+bool
+ |
+
+ enableProfiling enables profiling via web interface host:port/debug/pprof/ |
+
+
+
+enableContentionProfiling [Required]
+bool
+ |
+
+ enableContentionProfiling enables lock contention profiling, if
+enableProfiling is true. |
+
+
+
+
+
+
+## `LeaderElectionConfiguration` {#LeaderElectionConfiguration}
+
+
+
+
+**Appears in:**
+
+- [KubeSchedulerConfiguration](#kubescheduler-config-k8s-io-v1beta2-KubeSchedulerConfiguration)
+
+
+LeaderElectionConfiguration defines the configuration of leader election
+clients for components that can run with leader election enabled.
+
+
+| Field | Description |
+
+
+
+
+leaderElect [Required]
+bool
+ |
+
+ leaderElect enables a leader election client to gain leadership
+before executing the main loop. Enable this when running replicated
+components for high availability. |
+
+
+
+leaseDuration [Required]
+meta/v1.Duration
+ |
+
+ leaseDuration is 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. |
+
+
+
+renewDeadline [Required]
+meta/v1.Duration
+ |
+
+ renewDeadline is 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. |
+
+
+
+retryPeriod [Required]
+meta/v1.Duration
+ |
+
+ retryPeriod is the duration the clients should wait between attempting
+acquisition and renewal of a leadership. This is only applicable if
+leader election is enabled. |
+
+
+
+resourceLock [Required]
+string
+ |
+
+ resourceLock indicates the resource object type that will be used to lock
+during leader election cycles. |
+
+
+
+resourceName [Required]
+string
+ |
+
+ resourceName indicates the name of resource object that will be used to lock
+during leader election cycles. |
+
+
+
+resourceNamespace [Required]
+string
+ |
+
+ resourceName indicates the namespace of resource object that will be used to lock
+during leader election cycles. |
+
+
+
+
+
+
+## `LoggingConfiguration` {#LoggingConfiguration}
+
+
+
+
+**Appears in:**
+
+- [KubeletConfiguration](#kubelet-config-k8s-io-v1beta1-KubeletConfiguration)
+
+
+LoggingConfiguration contains logging options
+Refer [Logs Options](https://github.com/kubernetes/component-base/blob/master/logs/options.go) for more information.
+
+
+| Field | Description |
+
+
+
+
+format [Required]
+string
+ |
+
+ Format Flag specifies the structure of log messages.
+default value of format is `text` |
+
+
+
+sanitization [Required]
+bool
+ |
+
+ [Experimental] When enabled prevents logging of fields tagged as sensitive (passwords, keys, tokens).
+Runtime log sanitization may introduce significant computation overhead and therefore should not be enabled in production.`) |
+
+
+
+
+
+
+
+
## `DefaultPreemptionArgs` {#kubescheduler-config-k8s-io-v1beta2-DefaultPreemptionArgs}
@@ -254,7 +488,7 @@ NodeAffinityArgs holds arguments to configure the NodeAffinity plugin.
addedAffinity
-core/v1.NodeAffinity
+core/v1.NodeAffinity
|
AddedAffinity is applied to all Pods additionally to the NodeAffinity
@@ -271,6 +505,37 @@ a specific Node (such as Daemonset Pods) might remain unschedulable. |
+## `NodeResourcesBalancedAllocationArgs` {#kubescheduler-config-k8s-io-v1beta2-NodeResourcesBalancedAllocationArgs}
+
+
+
+
+
+NodeResourcesBalancedAllocationArgs holds arguments used to configure NodeResourcesBalancedAllocation plugin.
+
+
+| Field | Description |
+
+
+apiVersion string | kubescheduler.config.k8s.io/v1beta2 |
+kind string | NodeResourcesBalancedAllocationArgs |
+
+
+
+
+resources [Required]
+[]ResourceSpec
+ |
+
+ Resources to be managed, the default is "cpu" and "memory" if not specified. |
+
+
+
+
+
+
+
+
## `NodeResourcesFitArgs` {#kubescheduler-config-k8s-io-v1beta2-NodeResourcesFitArgs}
@@ -294,7 +559,7 @@ NodeResourcesFitArgs holds arguments used to configure the NodeResourcesFit plug
IgnoredResources is the list of resources that NodeResources fit filter
-should ignore. |
+should ignore. This doesn't apply to scoring.
@@ -305,73 +570,16 @@ should ignore.
IgnoredResourceGroups defines the list of resource groups that NodeResources fit filter should ignore.
e.g. if group is ["example.com"], it will ignore all resource names that begin
with "example.com", such as "example.com/aaa" and "example.com/bbb".
-A resource group name can't contain '/'.
+A resource group name can't contain '/'. This doesn't apply to scoring.
-
-
-
-
-
-## `NodeResourcesLeastAllocatedArgs` {#kubescheduler-config-k8s-io-v1beta2-NodeResourcesLeastAllocatedArgs}
-
-
-
-
-
-NodeResourcesLeastAllocatedArgs holds arguments used to configure NodeResourcesLeastAllocated plugin.
-
-
-| Field | Description |
-
-
-apiVersion string | kubescheduler.config.k8s.io/v1beta2 |
-kind string | NodeResourcesLeastAllocatedArgs |
-
-
-
-
-resources [Required]
-[]ResourceSpec
+ |
scoringStrategy [Required]
+ScoringStrategy
|
- Resources to be managed, if no resource is provided, default resource set with both
-the weight of "cpu" and "memory" set to "1" will be applied.
-Resource with "0" weight will not accountable for the final score. |
-
-
-
-
-
-
-
-
-## `NodeResourcesMostAllocatedArgs` {#kubescheduler-config-k8s-io-v1beta2-NodeResourcesMostAllocatedArgs}
-
-
-
-
-
-NodeResourcesMostAllocatedArgs holds arguments used to configure NodeResourcesMostAllocated plugin.
-
-
-| Field | Description |
-
-
-apiVersion string | kubescheduler.config.k8s.io/v1beta2 |
-kind string | NodeResourcesMostAllocatedArgs |
-
-
-
-
-resources [Required]
-[]ResourceSpec
- |
-
- Resources to be managed, if no resource is provided, default resource set with both
-the weight of "cpu" and "memory" set to "1" will be applied.
-Resource with "0" weight will not accountable for the final score. |
+ ScoringStrategy selects the node resource scoring strategy.
+The default strategy is LeastAllocated with an equal "cpu" and "memory" weight.
@@ -399,7 +607,7 @@ PodTopologySpreadArgs holds arguments used to configure the PodTopologySpread pl
defaultConstraints
-[]core/v1.TopologySpreadConstraint
+[]core/v1.TopologySpreadConstraint
|
DefaultConstraints defines topology spread constraints to be applied to
@@ -432,45 +640,6 @@ and to "System" if enabled. |
-## `RequestedToCapacityRatioArgs` {#kubescheduler-config-k8s-io-v1beta2-RequestedToCapacityRatioArgs}
-
-
-
-
-
-RequestedToCapacityRatioArgs holds arguments used to configure RequestedToCapacityRatio plugin.
-
-
-| Field | Description |
-
-
-apiVersion string | kubescheduler.config.k8s.io/v1beta2 |
-kind string | RequestedToCapacityRatioArgs |
-
-
-
-
-shape [Required]
-[]UtilizationShapePoint
- |
-
- Points defining priority function shape |
-
-
-
-resources [Required]
-[]ResourceSpec
- |
-
- Resources to be managed |
-
-
-
-
-
-
-
-
## `VolumeBindingArgs` {#kubescheduler-config-k8s-io-v1beta2-VolumeBindingArgs}
@@ -499,6 +668,24 @@ If this value is nil, the default value (600) will be used.
+shape
+[]UtilizationShapePoint
+ |
+
+ Shape specifies the points defining the score function shape, which is
+used to score nodes based on the utilization of statically provisioned
+PVs. The utilization is calculated by dividing the total requested
+storage of the pod by the total capacity of feasible PVs on each node.
+Each point contains utilization (ranges from 0 to 100) and its
+associated score (ranges from 0 to 10). You can turn the priority by
+specifying different scores for different utilization numbers.
+The default shape points are:
+1) 0 for 0 utilization
+2) 10 for 100 utilization
+All points must be sorted in increasing order by utilization. |
+
+
+
@@ -800,6 +987,8 @@ If an array is empty, missing, or nil, default plugins at that extension point w
Enabled specifies plugins that should be enabled in addition to default plugins.
+If the default plugin is also configured in the scheduler config file, the weight of plugin will
+be overridden accordingly.
These are called after default plugins and in the same order specified here. |
@@ -952,6 +1141,37 @@ for the PodTopologySpread plugin.
+## `RequestedToCapacityRatioParam` {#kubescheduler-config-k8s-io-v1beta2-RequestedToCapacityRatioParam}
+
+
+
+
+**Appears in:**
+
+- [ScoringStrategy](#kubescheduler-config-k8s-io-v1beta2-ScoringStrategy)
+
+
+RequestedToCapacityRatioParam define RequestedToCapacityRatio parameters
+
+
+| Field | Description |
+
+
+
+
+shape [Required]
+[]UtilizationShapePoint
+ |
+
+ Shape is a list of points defining the scoring function shape. |
+
+
+
+
+
+
+
+
## `ResourceSpec` {#kubescheduler-config-k8s-io-v1beta2-ResourceSpec}
@@ -959,14 +1179,12 @@ for the PodTopologySpread plugin.
**Appears in:**
-- [NodeResourcesLeastAllocatedArgs](#kubescheduler-config-k8s-io-v1beta2-NodeResourcesLeastAllocatedArgs)
+- [NodeResourcesBalancedAllocationArgs](#kubescheduler-config-k8s-io-v1beta2-NodeResourcesBalancedAllocationArgs)
-- [NodeResourcesMostAllocatedArgs](#kubescheduler-config-k8s-io-v1beta2-NodeResourcesMostAllocatedArgs)
-
-- [RequestedToCapacityRatioArgs](#kubescheduler-config-k8s-io-v1beta2-RequestedToCapacityRatioArgs)
+- [ScoringStrategy](#kubescheduler-config-k8s-io-v1beta2-ScoringStrategy)
-ResourceSpec represents single resource and weight for bin packing of priority RequestedToCapacityRatioArguments.
+ResourceSpec represents a single resource.
| Field | Description |
@@ -978,7 +1196,7 @@ ResourceSpec represents single resource and weight for bin packing of priority R
string
- Name of the resource to be managed by RequestedToCapacityRatio function. |
+ Name of the resource.
@@ -995,6 +1213,72 @@ ResourceSpec represents single resource and weight for bin packing of priority R
+## `ScoringStrategy` {#kubescheduler-config-k8s-io-v1beta2-ScoringStrategy}
+
+
+
+
+**Appears in:**
+
+- [NodeResourcesFitArgs](#kubescheduler-config-k8s-io-v1beta2-NodeResourcesFitArgs)
+
+
+ScoringStrategy define ScoringStrategyType for node resource plugin
+
+
+| Field | Description |
+
+
+
+
+type [Required]
+ScoringStrategyType
+ |
+
+ Type selects which strategy to run. |
+
+
+
+resources [Required]
+[]ResourceSpec
+ |
+
+ Resources to consider when scoring.
+The default resource set includes "cpu" and "memory" with an equal weight.
+Allowed weights go from 1 to 100.
+Weight defaults to 1 if not specified or explicitly set to 0. |
+
+
+
+requestedToCapacityRatio [Required]
+RequestedToCapacityRatioParam
+ |
+
+ Arguments specific to RequestedToCapacityRatio strategy. |
+
+
+
+
+
+
+
+
+## `ScoringStrategyType` {#kubescheduler-config-k8s-io-v1beta2-ScoringStrategyType}
+
+(Alias of `string`)
+
+
+**Appears in:**
+
+- [ScoringStrategy](#kubescheduler-config-k8s-io-v1beta2-ScoringStrategy)
+
+
+ScoringStrategyType the type of scoring strategy used in NodeResourcesFit plugin.
+
+
+
+
+
## `UtilizationShapePoint` {#kubescheduler-config-k8s-io-v1beta2-UtilizationShapePoint}
@@ -1002,7 +1286,9 @@ ResourceSpec represents single resource and weight for bin packing of priority R
**Appears in:**
-- [RequestedToCapacityRatioArgs](#kubescheduler-config-k8s-io-v1beta2-RequestedToCapacityRatioArgs)
+- [VolumeBindingArgs](#kubescheduler-config-k8s-io-v1beta2-VolumeBindingArgs)
+
+- [RequestedToCapacityRatioParam](#kubescheduler-config-k8s-io-v1beta2-RequestedToCapacityRatioParam)
UtilizationShapePoint represents single point of priority function shape.
@@ -1820,199 +2106,3 @@ UtilizationShapePoint represents single point of priority function shape.
-
-
-
-## `ClientConnectionConfiguration` {#ClientConnectionConfiguration}
-
-
-
-
-**Appears in:**
-
-- [KubeSchedulerConfiguration](#kubescheduler-config-k8s-io-v1beta2-KubeSchedulerConfiguration)
-
-
-ClientConnectionConfiguration contains details for constructing a client.
-
-
-| Field | Description |
-
-
-
-
-kubeconfig [Required]
-string
- |
-
- kubeconfig is the path to a KubeConfig file. |
-
-
-
-acceptContentTypes [Required]
-string
- |
-
- acceptContentTypes defines the Accept header sent by clients when connecting to a server, overriding the
-default value of 'application/json'. This field will control all connections to the server used by a particular
-client. |
-
-
-
-contentType [Required]
-string
- |
-
- contentType is the content type used when sending data to the server from this client. |
-
-
-
-qps [Required]
-float32
- |
-
- qps controls the number of queries per second allowed for this connection. |
-
-
-
-burst [Required]
-int32
- |
-
- burst allows extra queries to accumulate when a client is exceeding its rate. |
-
-
-
-
-
-
-## `DebuggingConfiguration` {#DebuggingConfiguration}
-
-
-
-
-**Appears in:**
-
-- [KubeSchedulerConfiguration](#kubescheduler-config-k8s-io-v1beta2-KubeSchedulerConfiguration)
-
-
-DebuggingConfiguration holds configuration for Debugging related features.
-
-
-| Field | Description |
-
-
-
-
-enableProfiling [Required]
-bool
- |
-
- enableProfiling enables profiling via web interface host:port/debug/pprof/ |
-
-
-
-enableContentionProfiling [Required]
-bool
- |
-
- enableContentionProfiling enables lock contention profiling, if
-enableProfiling is true. |
-
-
-
-
-
-
-## `LeaderElectionConfiguration` {#LeaderElectionConfiguration}
-
-
-
-
-**Appears in:**
-
-- [KubeSchedulerConfiguration](#kubescheduler-config-k8s-io-v1beta2-KubeSchedulerConfiguration)
-
-
-LeaderElectionConfiguration defines the configuration of leader election
-clients for components that can run with leader election enabled.
-
-
-| Field | Description |
-
-
-
-
-leaderElect [Required]
-bool
- |
-
- leaderElect enables a leader election client to gain leadership
-before executing the main loop. Enable this when running replicated
-components for high availability. |
-
-
-
-leaseDuration [Required]
-meta/v1.Duration
- |
-
- leaseDuration is 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. |
-
-
-
-renewDeadline [Required]
-meta/v1.Duration
- |
-
- renewDeadline is 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. |
-
-
-
-retryPeriod [Required]
-meta/v1.Duration
- |
-
- retryPeriod is the duration the clients should wait between attempting
-acquisition and renewal of a leadership. This is only applicable if
-leader election is enabled. |
-
-
-
-resourceLock [Required]
-string
- |
-
- resourceLock indicates the resource object type that will be used to lock
-during leader election cycles. |
-
-
-
-resourceName [Required]
-string
- |
-
- resourceName indicates the name of resource object that will be used to lock
-during leader election cycles. |
-
-
-
-resourceNamespace [Required]
-string
- |
-
- resourceName indicates the namespace of resource object that will be used to lock
-during leader election cycles. |
-
-
-
-
-
diff --git a/content/en/docs/reference/config-api/kube-scheduler-policy-config.v1.md b/content/en/docs/reference/config-api/kube-scheduler-policy-config.v1.md
index e694f7ecbc..8b6c0a9a24 100644
--- a/content/en/docs/reference/config-api/kube-scheduler-policy-config.v1.md
+++ b/content/en/docs/reference/config-api/kube-scheduler-policy-config.v1.md
@@ -89,7 +89,7 @@ of the predicates after it finds one predicate that failed.
**Appears in:**
-- [Extender](#kubescheduler-config-k8s-io-v1beta1-Extender)
+- [Extender](#kubescheduler-config-k8s-io-v1beta2-Extender)
- [LegacyExtender](#kubescheduler-config-k8s-io-v1-LegacyExtender)
@@ -132,7 +132,7 @@ resource when applying predicates.
**Appears in:**
-- [Extender](#kubescheduler-config-k8s-io-v1beta1-Extender)
+- [Extender](#kubescheduler-config-k8s-io-v1beta2-Extender)
- [LegacyExtender](#kubescheduler-config-k8s-io-v1-LegacyExtender)
diff --git a/content/en/docs/reference/config-api/kubeadm-config.v1beta3.md b/content/en/docs/reference/config-api/kubeadm-config.v1beta3.md
index 0b64912a99..5f73e8b3a8 100644
--- a/content/en/docs/reference/config-api/kubeadm-config.v1beta3.md
+++ b/content/en/docs/reference/config-api/kubeadm-config.v1beta3.md
@@ -1413,9 +1413,15 @@ first alpha-numerically.
+
+
+
## `BootstrapToken` {#BootstrapToken}
+
+
+
**Appears in:**
- [InitConfiguration](#kubeadm-k8s-io-v1beta3-InitConfiguration)
diff --git a/content/en/docs/reference/config-api/kubelet-config.v1beta1.md b/content/en/docs/reference/config-api/kubelet-config.v1beta1.md
index 0df26b64df..261a6dd5f8 100644
--- a/content/en/docs/reference/config-api/kubelet-config.v1beta1.md
+++ b/content/en/docs/reference/config-api/kubelet-config.v1beta1.md
@@ -14,48 +14,6 @@ auto_generated: true
-## `LoggingConfiguration` {#LoggingConfiguration}
-
-
-
-
-**Appears in:**
-
-- [KubeletConfiguration](#kubelet-config-k8s-io-v1beta1-KubeletConfiguration)
-
-
-LoggingConfiguration contains logging options
-Refer [Logs Options](https://github.com/kubernetes/component-base/blob/master/logs/options.go) for more information.
-
-
-| Field | Description |
-
-
-
-
-format [Required]
-string
- |
-
- Format Flag specifies the structure of log messages.
-default value of format is `text` |
-
-
-
-sanitization [Required]
-bool
- |
-
- [Experimental] When enabled prevents logging of fields tagged as sensitive (passwords, keys, tokens).
-Runtime log sanitization may introduce significant computation overhead and therefore should not be enabled in production.`) |
-
-
-
-
-
-
-
-
## `KubeletConfiguration` {#kubelet-config-k8s-io-v1beta1-KubeletConfiguration}
@@ -81,7 +39,8 @@ KubeletConfiguration contains the configuration for the Kubelet
enableServer enables Kubelet's secured server.
Note: Kubelet's insecure port is controlled by the readOnlyPort option.
-Dynamic Kubelet Config (beta): If dynamically updating this field, consider that
+If DynamicKubeletConfig (deprecated; default off) is on, when
+dynamically updating this field, consider that
it may disrupt components that interact with the Kubelet server.
Default: true |
@@ -93,7 +52,8 @@ Default: true
staticPodPath is the path to the directory containing local (static) pods to
run, or the path to a single static pod file.
-Dynamic Kubelet Config (beta): If dynamically updating this field, consider that
+If DynamicKubeletConfig (deprecated; default off) is on, when
+dynamically updating this field, consider that
the set of static pods specified at the new path may be different than the
ones the Kubelet initially started with, and this may disrupt your node.
Default: "" |
@@ -106,7 +66,8 @@ Default: ""
syncFrequency is the max period between synchronizing running
containers and config.
-Dynamic Kubelet Config (beta): If dynamically updating this field, consider that
+If DynamicKubeletConfig (deprecated; default off) is on, when
+dynamically updating this field, consider that
shortening this duration may have a negative performance impact, especially
as the number of Pods on the node increases. Alternatively, increasing this
duration will result in longer refresh times for ConfigMaps and Secrets.
@@ -119,8 +80,9 @@ Default: "1m" |
fileCheckFrequency is the duration between checking config files for
-new data
-Dynamic Kubelet Config (beta): If dynamically updating this field, consider that
+new data.
+If DynamicKubeletConfig (deprecated; default off) is on, when
+dynamically updating this field, consider that
shortening the duration will cause the Kubelet to reload local Static Pod
configurations more frequently, which may have a negative performance impact.
Default: "20s" |
@@ -131,8 +93,9 @@ Default: "20s"
meta/v1.Duration
- httpCheckFrequency is the duration between checking http for new data
-Dynamic Kubelet Config (beta): If dynamically updating this field, consider that
+ httpCheckFrequency is the duration between checking http for new data.
+If DynamicKubeletConfig (deprecated; default off) is on, when
+dynamically updating this field, consider that
shortening the duration will cause the Kubelet to poll staticPodURL more
frequently, which may have a negative performance impact.
Default: "20s" |
@@ -143,8 +106,9 @@ Default: "20s"
string
- staticPodURL is the URL for accessing static pods to run
-Dynamic Kubelet Config (beta): If dynamically updating this field, consider that
+ staticPodURL is the URL for accessing static pods to run.
+If DynamicKubeletConfig (deprecated; default off) is on, when
+dynamically updating this field, consider that
the set of static pods specified at the new URL may be different than the
ones the Kubelet initially started with, and this may disrupt your node.
Default: "" |
@@ -155,8 +119,9 @@ Default: ""
map[string][]string
- staticPodURLHeader is a map of slices with HTTP headers to use when accessing the podURL
-Dynamic Kubelet Config (beta): If dynamically updating this field, consider that
+ staticPodURLHeader is a map of slices with HTTP headers to use when accessing the podURL.
+If DynamicKubeletConfig (deprecated; default off) is on, when
+dynamically updating this field, consider that
it may disrupt the ability to read the latest set of static pods from StaticPodURL.
Default: nil |
@@ -168,7 +133,8 @@ Default: nil
address is the IP address for the Kubelet to serve on (set to 0.0.0.0
for all interfaces).
-Dynamic Kubelet Config (beta): If dynamically updating this field, consider that
+If DynamicKubeletConfig (deprecated; default off) is on, when
+dynamically updating this field, consider that
it may disrupt components that interact with the Kubelet server.
Default: "0.0.0.0" |
@@ -179,7 +145,9 @@ Default: "0.0.0.0"
port is the port for the Kubelet to serve on.
-Dynamic Kubelet Config (beta): If dynamically updating this field, consider that
+The port number must be between 1 and 65535, inclusive.
+If DynamicKubeletConfig (deprecated; default off) is on, when
+dynamically updating this field, consider that
it may disrupt components that interact with the Kubelet server.
Default: 10250 |
@@ -191,7 +159,10 @@ Default: 10250
readOnlyPort is the read-only port for the Kubelet to serve on with
no authentication/authorization.
-Dynamic Kubelet Config (beta): If dynamically updating this field, consider that
+The port number must be between 1 and 65535, inclusive.
+Setting this field to 0 disables the read-only service.
+If DynamicKubeletConfig (deprecated; default off) is on, when
+dynamically updating this field, consider that
it may disrupt components that interact with the Kubelet server.
Default: 0 (disabled) |
@@ -206,7 +177,8 @@ if any, concatenated after server cert). If tlsCertFile and
tlsPrivateKeyFile are not provided, a self-signed certificate
and key are generated for the public address and saved to the directory
passed to the Kubelet's --cert-dir flag.
-Dynamic Kubelet Config (beta): If dynamically updating this field, consider that
+If DynamicKubeletConfig (deprecated; default off) is on, when
+dynamically updating this field, consider that
it may disrupt components that interact with the Kubelet server.
Default: ""
@@ -216,8 +188,9 @@ Default: ""
string
- tlsPrivateKeyFile is the file containing x509 private key matching tlsCertFile
-Dynamic Kubelet Config (beta): If dynamically updating this field, consider that
+ tlsPrivateKeyFile is the file containing x509 private key matching tlsCertFile.
+If DynamicKubeletConfig (deprecated; default off) is on, when
+dynamically updating this field, consider that
it may disrupt components that interact with the Kubelet server.
Default: "" |
@@ -227,9 +200,10 @@ Default: ""
[]string
- TLSCipherSuites is the list of allowed cipher suites for the server.
+ tlsCipherSuites is the list of allowed cipher suites for the server.
Values are from tls package constants (https://golang.org/pkg/crypto/tls/#pkg-constants).
-Dynamic Kubelet Config (beta): If dynamically updating this field, consider that
+If DynamicKubeletConfig (deprecated; default off) is on, when
+dynamically updating this field, consider that
it may disrupt components that interact with the Kubelet server.
Default: nil |
@@ -239,9 +213,10 @@ Default: nil
string
- TLSMinVersion is the minimum TLS version supported.
+ tlsMinVersion is the minimum TLS version supported.
Values are from tls package constants (https://golang.org/pkg/crypto/tls/#pkg-constants).
-Dynamic Kubelet Config (beta): If dynamically updating this field, consider that
+If DynamicKubeletConfig (deprecated; default off) is on, when
+dynamically updating this field, consider that
it may disrupt components that interact with the Kubelet server.
Default: "" |
@@ -254,7 +229,8 @@ Default: ""
rotateCertificates enables client certificate rotation. The Kubelet will request a
new certificate from the certificates.k8s.io API. This requires an approver to approve the
certificate signing requests.
-Dynamic Kubelet Config (beta): If dynamically updating this field, consider that
+If DynamicKubeletConfig (deprecated; default off) is on, when
+dynamically updating this field, consider that
disabling it may disrupt the Kubelet's ability to authenticate with the API server
after the current certificate expires.
Default: false
@@ -267,10 +243,11 @@ Default: false
serverTLSBootstrap enables server certificate bootstrap. Instead of self
signing a serving certificate, the Kubelet will request a certificate from
-the certificates.k8s.io API. This requires an approver to approve the
-certificate signing requests. The RotateKubeletServerCertificate feature
-must be enabled.
-Dynamic Kubelet Config (beta): If dynamically updating this field, consider that
+the 'certificates.k8s.io' API. This requires an approver to approve the
+certificate signing requests (CSR). The RotateKubeletServerCertificate feature
+must be enabled when setting this field.
+If DynamicKubeletConfig (deprecated; default off) is on, when
+dynamically updating this field, consider that
disabling it will stop the renewal of Kubelet server certificates, which can
disrupt components that interact with the Kubelet server in the long term,
due to certificate expiration.
@@ -282,8 +259,9 @@ Default: false |
KubeletAuthentication
- authentication specifies how requests to the Kubelet's server are authenticated
-Dynamic Kubelet Config (beta): If dynamically updating this field, consider that
+ authentication specifies how requests to the Kubelet's server are authenticated.
+If DynamicKubeletConfig (deprecated; default off) is on, when
+dynamically updating this field, consider that
it may disrupt components that interact with the Kubelet server.
Defaults:
anonymous:
@@ -298,8 +276,9 @@ Defaults:
KubeletAuthorization
|
- authorization specifies how requests to the Kubelet's server are authorized
-Dynamic Kubelet Config (beta): If dynamically updating this field, consider that
+ authorization specifies how requests to the Kubelet's server are authorized.
+If DynamicKubeletConfig (deprecated; default off) is on, when
+dynamically updating this field, consider that
it may disrupt components that interact with the Kubelet server.
Defaults:
mode: Webhook
@@ -314,8 +293,10 @@ Defaults:
|
registryPullQPS is the limit of registry pulls per second.
-Set to 0 for no limit.
-Dynamic Kubelet Config (beta): If dynamically updating this field, consider that
+The value must not be a negative number.
+Setting it to 0 means no limit.
+If DynamicKubeletConfig (deprecated; default off) is on, when
+dynamically updating this field, consider that
it may impact scalability by changing the amount of traffic produced
by image pulls.
Default: 5 |
@@ -328,8 +309,10 @@ Default: 5
registryBurst is the maximum size of bursty pulls, temporarily allows
pulls to burst to this number, while still not exceeding registryPullQPS.
-Only used if registryPullQPS > 0.
-Dynamic Kubelet Config (beta): If dynamically updating this field, consider that
+The value must not be a negative number.
+Only used if registryPullQPS is greater than 0.
+If DynamicKubeletConfig (deprecated; default off) is on, when
+dynamically updating this field, consider that
it may impact scalability by changing the amount of traffic produced
by image pulls.
Default: 10 |
@@ -341,8 +324,9 @@ Default: 10
eventRecordQPS is the maximum event creations per second. If 0, there
-is no limit enforced.
-Dynamic Kubelet Config (beta): If dynamically updating this field, consider that
+is no limit enforced. The value cannot be a negative number.
+If DynamicKubeletConfig (deprecated; default off) is on, when
+dynamically updating this field, consider that
it may impact scalability by changing the amount of traffic produced by
event creations.
Default: 5 |
@@ -355,8 +339,10 @@ Default: 5
eventBurst is the maximum size of a burst of event creations, temporarily
allows event creations to burst to this number, while still not exceeding
-eventRecordQPS. Only used if eventRecordQPS > 0.
-Dynamic Kubelet Config (beta): If dynamically updating this field, consider that
+eventRecordQPS. This field canot be a negative number and it is only used
+when eventRecordQPS > 0.
+If DynamicKubeletConfig (deprecated; default off) is on, when
+dynamically updating this field, consider that
it may impact scalability by changing the amount of traffic produced by
event creations.
Default: 10 |
@@ -370,7 +356,8 @@ Default: 10
enableDebuggingHandlers enables server endpoints for log access
and local running of containers and commands, including the exec,
attach, logs, and portforward features.
-Dynamic Kubelet Config (beta): If dynamically updating this field, consider that
+If DynamicKubeletConfig (deprecated; default off) is on, when
+dynamically updating this field, consider that
disabling it may disrupt components that interact with the Kubelet server.
Default: true
@@ -381,7 +368,8 @@ Default: true
enableContentionProfiling enables lock contention profiling, if enableDebuggingHandlers is true.
-Dynamic Kubelet Config (beta): If dynamically updating this field, consider that
+If DynamicKubeletConfig (deprecated; default off) is on, when
+dynamically updating this field, consider that
enabling it may carry a performance impact.
Default: false |
@@ -391,8 +379,10 @@ Default: false
int32
- healthzPort is the port of the localhost healthz endpoint (set to 0 to disable)
-Dynamic Kubelet Config (beta): If dynamically updating this field, consider that
+ healthzPort is the port of the localhost healthz endpoint (set to 0 to disable).
+A valid number is between 1 and 65535.
+If DynamicKubeletConfig (deprecated; default off) is on, when
+dynamically updating this field, consider that
it may disrupt components that monitor Kubelet health.
Default: 10248 |
@@ -402,8 +392,9 @@ Default: 10248
string
- healthzBindAddress is the IP address for the healthz server to serve on
-Dynamic Kubelet Config (beta): If dynamically updating this field, consider that
+ healthzBindAddress is the IP address for the healthz server to serve on.
+If DynamicKubeletConfig (deprecated; default off) is on, when
+dynamically updating this field, consider that
it may disrupt components that monitor Kubelet health.
Default: "127.0.0.1" |
@@ -415,7 +406,8 @@ Default: "127.0.0.1"
oomScoreAdj is The oom-score-adj value for kubelet process. Values
must be within the range [-1000, 1000].
-Dynamic Kubelet Config (beta): If dynamically updating this field, consider that
+If DynamicKubeletConfig (deprecated; default off) is on, when
+dynamically updating this field, consider that
it may impact the stability of nodes under memory pressure.
Default: -999 |
@@ -428,7 +420,7 @@ Default: -999
clusterDomain is the DNS domain for this cluster. If set, kubelet will
configure all containers to search this domain in addition to the
host's search domains.
-Dynamic Kubelet Config (beta): Dynamically updating this field is not recommended,
+Dynamic Kubelet Config (deprecated): Dynamically updating this field is not recommended,
as it should be kept in sync with the rest of the cluster.
Default: ""
@@ -441,7 +433,8 @@ Default: ""
clusterDNS is a list of IP addresses for the cluster DNS server. If set,
kubelet will configure all containers to use this for DNS resolution
instead of the host's DNS servers.
-Dynamic Kubelet Config (beta): If dynamically updating this field, consider that
+If DynamicKubeletConfig (deprecated; default off) is on, when
+dynamically updating this field, consider that
changes will only take effect on Pods created after the update. Draining
the node is recommended before changing this field.
Default: nil
@@ -454,7 +447,8 @@ Default: nil
streamingConnectionIdleTimeout is the maximum time a streaming connection
can be idle before the connection is automatically closed.
-Dynamic Kubelet Config (beta): If dynamically updating this field, consider that
+If DynamicKubeletConfig (deprecated; default off) is on, when
+dynamically updating this field, consider that
it may impact components that rely on infrequent updates over streaming
connections to the Kubelet server.
Default: "4h" |
@@ -470,7 +464,8 @@ status. If node lease feature is not enabled, it is also the frequency that
kubelet posts node status to master.
Note: When node lease feature is not enabled, be cautious when changing the
constant, it must work with nodeMonitorGracePeriod in nodecontroller.
-Dynamic Kubelet Config (beta): If dynamically updating this field, consider that
+If DynamicKubeletConfig (deprecated; default off) is on, when
+dynamically updating this field, consider that
it may impact node scalability, and also that the node controller's
nodeMonitorGracePeriod must be set to N∗NodeStatusUpdateFrequency,
where N is the number of retries before the node controller marks
@@ -504,8 +499,10 @@ health by having the Kubelet create and periodically renew a lease, named after
in the kube-node-lease namespace. If the lease expires, the node can be considered unhealthy.
The lease is currently renewed every 10s, per KEP-0009. In the future, the lease renewal interval
may be set based on the lease duration.
+The field value must be greater than 0.
Requires the NodeLease feature gate to be enabled.
-Dynamic Kubelet Config (beta): If dynamically updating this field, consider that
+If DynamicKubeletConfig (deprecated; default off) is on, when
+dynamically updating this field, consider that
decreasing the duration may reduce tolerance for issues that temporarily prevent
the Kubelet from renewing the lease (e.g. a short-lived network issue).
Default: 40
@@ -518,7 +515,8 @@ Default: 40
imageMinimumGCAge is the minimum age for an unused image before it is
garbage collected.
-Dynamic Kubelet Config (beta): If dynamically updating this field, consider that
+If DynamicKubeletConfig (deprecated; default off) is on, when
+dynamically updating this field, consider that
it may trigger or delay garbage collection, and may change the image overhead
on the node.
Default: "2m" |
@@ -530,9 +528,12 @@ Default: "2m"
imageGCHighThresholdPercent is the percent of disk usage after which
-image garbage collection is always run. The percent is calculated as
-this field value out of 100.
-Dynamic Kubelet Config (beta): If dynamically updating this field, consider that
+image garbage collection is always run. The percent is calculated by
+dividing this field value by 100, so this field must be between 0 and
+100, inclusive. When specified, the value must be greater than
+imageGCLowThresholdPercent.
+If DynamicKubeletConfig (deprecated; default off) is on, when
+dynamically updating this field, consider that
it may trigger or delay garbage collection, and may change the image overhead
on the node.
Default: 85 |
@@ -545,8 +546,11 @@ Default: 85
imageGCLowThresholdPercent is the percent of disk usage before which
image garbage collection is never run. Lowest disk usage to garbage
-collect to. The percent is calculated as this field value out of 100.
-Dynamic Kubelet Config (beta): If dynamically updating this field, consider that
+collect to. The percent is calculated by dividing this field value by 100,
+so the field value must be between 0 and 100, inclusive. When specified, the
+value must be less than imageGCHighThresholdPercent.
+If DynamicKubeletConfig (deprecated; default off) is on, when
+dynamically updating this field, consider that
it may trigger or delay garbage collection, and may change the image overhead
on the node.
Default: 80 |
@@ -557,8 +561,10 @@ Default: 80
meta/v1.Duration
- How frequently to calculate and cache volume disk usage for all pods
-Dynamic Kubelet Config (beta): If dynamically updating this field, consider that
+ volumeStatsAggPeriod is the frequency for calculating and caching volume
+disk usage for all pods.
+If DynamicKubeletConfig (deprecated; default off) is on, when
+dynamically updating this field, consider that
shortening the period may carry a performance impact.
Default: "1m" |
@@ -569,7 +575,7 @@ Default: "1m"
kubeletCgroups is the absolute name of cgroups to isolate the kubelet in
-Dynamic Kubelet Config (beta): This field should not be updated without a full node
+Dynamic Kubelet Config (deprecated): This field should not be updated without a full node
reboot. It is safest to keep this value the same as the local config.
Default: "" |
@@ -582,7 +588,8 @@ Default: ""
systemCgroups is absolute name of cgroups in which to place
all non-kernel processes that are not already in a container. Empty
for no container. Rolling back the flag requires a reboot.
-Dynamic Kubelet Config (beta): This field should not be updated without a full node
+The cgroupRoot must be specified if this field is not empty.
+Dynamic Kubelet Config (deprecated): This field should not be updated without a full node
reboot. It is safest to keep this value the same as the local config.
Default: ""
@@ -594,7 +601,7 @@ Default: ""
cgroupRoot is the root cgroup to use for pods. This is handled by the
container runtime on a best effort basis.
-Dynamic Kubelet Config (beta): This field should not be updated without a full node
+Dynamic Kubelet Config (deprecated): This field should not be updated without a full node
reboot. It is safest to keep this value the same as the local config.
Default: "" |
@@ -604,10 +611,10 @@ Default: ""
bool
- Enable QoS based Cgroup hierarchy: top level cgroups for QoS Classes
-And all Burstable and BestEffort pods are brought up under their
-specific top level QoS cgroup.
-Dynamic Kubelet Config (beta): This field should not be updated without a full node
+ cgroupsPerQOS enable QoS based CGroup hierarchy: top level CGroups for QoS classes
+and all Burstable and BestEffort Pods are brought up under their specific top level
+QoS CGroup.
+Dynamic Kubelet Config (deprecated): This field should not be updated without a full node
reboot. It is safest to keep this value the same as the local config.
Default: true |
@@ -617,8 +624,9 @@ Default: true
string
- driver that the kubelet uses to manipulate cgroups on the host (cgroupfs or systemd)
-Dynamic Kubelet Config (beta): This field should not be updated without a full node
+ cgroupDriver is the driver kubelet uses to manipulate CGroups on the host (cgroupfs
+or systemd).
+Dynamic Kubelet Config (deprecated): This field should not be updated without a full node
reboot. It is safest to keep this value the same as the local config.
Default: "cgroupfs" |
@@ -628,21 +636,35 @@ Default: "cgroupfs"
string
- CPUManagerPolicy is the name of the policy to use.
+ cpuManagerPolicy is the name of the policy to use.
Requires the CPUManager feature gate to be enabled.
-Dynamic Kubelet Config (beta): This field should not be updated without a full node
+Dynamic Kubelet Config (deprecated): This field should not be updated without a full node
reboot. It is safest to keep this value the same as the local config.
Default: "None" |
+cpuManagerPolicyOptions
+map[string]string
+ |
+
+ cpuManagerPolicyOptions is a set of key=value which allows to set extra options
+to fine tune the behaviour of the cpu manager policies.
+Requires both the "CPUManager" and "CPUManagerPolicyOptions" feature gates to be enabled.
+Dynamic Kubelet Config (beta): This field should not be updated without a full node
+reboot. It is safest to keep this value the same as the local config.
+Default: nil |
+
+
+
cpuManagerReconcilePeriod
meta/v1.Duration
|
- CPU Manager reconciliation period.
+ cpuManagerReconcilePeriod is the reconciliation period for the CPU Manager.
Requires the CPUManager feature gate to be enabled.
-Dynamic Kubelet Config (beta): If dynamically updating this field, consider that
+If DynamicKubeletConfig (deprecated; default off) is on, when
+dynamically updating this field, consider that
shortening the period may carry a performance impact.
Default: "10s" |
@@ -652,9 +674,9 @@ Default: "10s"
string
- MemoryManagerPolicy is the name of the policy to use by memory manager.
+ memoryManagerPolicy is the name of the policy to use by memory manager.
Requires the MemoryManager feature gate to be enabled.
-Dynamic Kubelet Config (beta): This field should not be updated without a full node
+Dynamic Kubelet Config (deprecated): This field should not be updated without a full node
reboot. It is safest to keep this value the same as the local config.
Default: "none" |
@@ -664,9 +686,19 @@ Default: "none"
string
- TopologyManagerPolicy is the name of the policy to use.
+ topologyManagerPolicy is the name of the topology manager policy to use.
+Valid values include:
+
+- `restricted`: kubelet only allows pods with optimal NUMA node alignment for
+ requested resources;
+- `best-effort`: kubelet will favor pods with NUMA alignment of CPU and device
+ resources;
+- `none`: kublet has no knowledge of NUMA alignment of a pod's CPU and device resources.
+- `single-numa-node`: kubelet only allows pods with a single NUMA alignment
+ of CPU and device resources.
+
Policies other than "none" require the TopologyManager feature gate to be enabled.
-Dynamic Kubelet Config (beta): This field should not be updated without a full node
+Dynamic Kubelet Config (deprecated): This field should not be updated without a full node
reboot. It is safest to keep this value the same as the local config.
Default: "none" |
@@ -676,8 +708,12 @@ Default: "none"
string
- TopologyManagerScope represents the scope of topology hint generation
-that topology manager requests and hint providers generate.
+ topologyManagerScope represents the scope of topology hint generation
+that topology manager requests and hint providers generate. Valid values include:
+
+- `container`: topology policy is applied on a per-container basis.
+- `pod`: topology policy is applied on a per-pod basis.
+
"pod" scope requires the TopologyManager feature gate to be enabled.
Default: "container" |
@@ -692,7 +728,7 @@ the minimum percentage of a resource reserved for exclusive use by the
guaranteed QoS tier.
Currently supported resources: "memory"
Requires the QOSReserved feature gate to be enabled.
-Dynamic Kubelet Config (beta): This field should not be updated without a full node
+Dynamic Kubelet Config (deprecated): This field should not be updated without a full node
reboot. It is safest to keep this value the same as the local config.
Default: nil
@@ -704,7 +740,8 @@ Default: nil
runtimeRequestTimeout is the timeout for all runtime requests except long running
requests - pull, logs, exec and attach.
-Dynamic Kubelet Config (beta): If dynamically updating this field, consider that
+If DynamicKubeletConfig (deprecated; default off) is on, when
+dynamically updating this field, consider that
it may disrupt components that interact with the Kubelet server.
Default: "2m" |
@@ -718,12 +755,15 @@ Default: "2m"
bridge for hairpin packets.
Setting this flag allows endpoints in a Service to loadbalance back to
themselves if they should try to access their own Service. Values:
- "promiscuous-bridge": make the container bridge promiscuous.
- "hairpin-veth": set the hairpin flag on container veth interfaces.
- "none": do nothing.
-Generally, one must set --hairpin-mode=hairpin-veth to achieve hairpin NAT,
+
+- "promiscuous-bridge": make the container bridge promiscuous.
+- "hairpin-veth": set the hairpin flag on container veth interfaces.
+- "none": do nothing.
+
+Generally, one must set `--hairpin-mode=hairpin-veth to` achieve hairpin NAT,
because promiscuous-bridge assumes the existence of a container bridge named cbr0.
-Dynamic Kubelet Config (beta): If dynamically updating this field, consider that
+If DynamicKubeletConfig (deprecated; default off) is on, when
+dynamically updating this field, consider that
it may require a node reboot, depending on the network plugin.
Default: "promiscuous-bridge"
@@ -733,8 +773,10 @@ Default: "promiscuous-bridge"
int32
- maxPods is the number of pods that can run on this Kubelet.
-Dynamic Kubelet Config (beta): If dynamically updating this field, consider that
+ maxPods is the maximum number of Pods that can run on this Kubelet.
+The value must be a non-negative integer.
+If DynamicKubeletConfig (deprecated; default off) is on, when
+dynamically updating this field, consider that
changes may cause Pods to fail admission on Kubelet restart, and may change
the value reported in Node.Status.Capacity[v1.ResourcePods], thus affecting
future scheduling decisions. Increasing this value may also decrease performance,
@@ -747,9 +789,9 @@ Default: 110 |
string
- The CIDR to use for pod IP addresses, only used in standalone mode.
-In cluster mode, this is obtained from the master.
-Dynamic Kubelet Config (beta): This field should always be set to the empty default.
+ podCIDR is the CIDR to use for pod IP addresses, only used in standalone mode.
+In cluster mode, this is obtained from the control plane.
+Dynamic Kubelet Config (deprecated): This field should always be set to the empty default.
It should only set for standalone Kubelets, which cannot use Dynamic Kubelet Config.
Default: "" |
@@ -759,8 +801,9 @@ Default: ""
int64
- PodPidsLimit is the maximum number of pids in any pod.
-Dynamic Kubelet Config (beta): If dynamically updating this field, consider that
+ podPidsLimit is the maximum number of PIDs in any pod.
+If DynamicKubeletConfig (deprecated; default off) is on, when
+dynamically updating this field, consider that
lowering it may prevent container processes from forking after the change.
Default: -1 |
@@ -770,9 +813,10 @@ Default: -1
string
- ResolverConfig is the resolver configuration file used as the basis
+ resolvConf is the resolver configuration file used as the basis
for the container DNS resolution configuration.
-Dynamic Kubelet Config (beta): If dynamically updating this field, consider that
+If DynamicKubeletConfig (deprecated; default off) is on, when
+dynamically updating this field, consider that
changes will only take effect on Pods created after the update. Draining
the node is recommended before changing this field.
Default: "/etc/resolv.conf" |
@@ -783,7 +827,7 @@ Default: "/etc/resolv.conf"
bool
- RunOnce causes the Kubelet to check the API server once for pods,
+ runOnce causes the Kubelet to check the API server once for pods,
run those in addition to the pods specified by static pod files, and exit.
Default: false |
@@ -795,7 +839,8 @@ Default: false
cpuCFSQuota enables CPU CFS quota enforcement for containers that
specify CPU limits.
-Dynamic Kubelet Config (beta): If dynamically updating this field, consider that
+If DynamicKubeletConfig (deprecated; default off) is on, when
+dynamically updating this field, consider that
disabling it may reduce node stability.
Default: true |
@@ -805,8 +850,11 @@ Default: true
meta/v1.Duration
- CPUCFSQuotaPeriod is the CPU CFS quota period value, cpu.cfs_period_us.
-Dynamic Kubelet Config (beta): If dynamically updating this field, consider that
+ cpuCFSQuotaPeriod is the CPU CFS quota period value, `cpu.cfs_period_us`.
+The value must be between 1 us and 1 second, inclusive.
+Requires the CustomCPUCFSQuotaPeriod feature gate to be enabled.
+If DynamicKubeletConfig (deprecated; default off) is on, when
+dynamically updating this field, consider that
limits set for containers will result in different cpu.cfs_quota settings. This
will trigger container restarts on the node being reconfigured.
Default: "100ms" |
@@ -817,9 +865,11 @@ Default: "100ms"
int32
- nodeStatusMaxImages caps the number of images reported in Node.Status.Images.
+ nodeStatusMaxImages caps the number of images reported in Node.status.images.
+The value must be greater than -2.
Note: If -1 is specified, no cap will be applied. If 0 is specified, no image is returned.
-Dynamic Kubelet Config (beta): If dynamically updating this field, consider that
+If DynamicKubeletConfig (deprecated; default off) is on, when
+dynamically updating this field, consider that
different values can be reported on node status.
Default: 50 |
@@ -830,7 +880,9 @@ Default: 50
maxOpenFiles is Number of files that can be opened by Kubelet process.
-Dynamic Kubelet Config (beta): If dynamically updating this field, consider that
+The value must be a non-negative number.
+If DynamicKubeletConfig (deprecated; default off) is on, when
+dynamically updating this field, consider that
it may impact the ability of the Kubelet to interact with the node's filesystem.
Default: 1000000 |
@@ -841,7 +893,8 @@ Default: 1000000
contentType is contentType of requests sent to apiserver.
-Dynamic Kubelet Config (beta): If dynamically updating this field, consider that
+If DynamicKubeletConfig (deprecated; default off) is on, when
+dynamically updating this field, consider that
it may impact the ability for the Kubelet to communicate with the API server.
If the Kubelet loses contact with the API server due to a change to this field,
the change cannot be reverted via dynamic Kubelet config.
@@ -853,8 +906,9 @@ Default: "application/vnd.kubernetes.protobuf" |
int32
- kubeAPIQPS is the QPS to use while talking with kubernetes apiserver
-Dynamic Kubelet Config (beta): If dynamically updating this field, consider that
+ kubeAPIQPS is the QPS to use while talking with kubernetes apiserver.
+If DynamicKubeletConfig (deprecated; default off) is on, when
+dynamically updating this field, consider that
it may impact scalability by changing the amount of traffic the Kubelet
sends to the API server.
Default: 5 |
@@ -865,8 +919,10 @@ Default: 5
int32
- kubeAPIBurst is the burst to allow while talking with kubernetes apiserver
-Dynamic Kubelet Config (beta): If dynamically updating this field, consider that
+ kubeAPIBurst is the burst to allow while talking with kubernetes API server.
+This field cannot be a negative number.
+If DynamicKubeletConfig (deprecated; default off) is on, when
+dynamically updating this field, consider that
it may impact scalability by changing the amount of traffic the Kubelet
sends to the API server.
Default: 10 |
@@ -881,7 +937,8 @@ Default: 10
at a time. We recommend ∗not∗ changing the default value on nodes that
run docker daemon with version < 1.9 or an Aufs storage backend.
Issue #10959 has more details.
-Dynamic Kubelet Config (beta): If dynamically updating this field, consider that
+If DynamicKubeletConfig (deprecated; default off) is on, when
+dynamically updating this field, consider that
it may impact the performance of image pulls.
Default: true
@@ -891,9 +948,11 @@ Default: true
map[string]string
- Map of signal names to quantities that defines hard eviction thresholds. For example: {"memory.available": "300Mi"}.
+ evictionHard is a map of signal names to quantities that defines hard eviction
+thresholds. For example: `{"memory.available": "300Mi"}`.
To explicitly disable, pass a 0% or 100% threshold on an arbitrary resource.
-Dynamic Kubelet Config (beta): If dynamically updating this field, consider that
+If DynamicKubeletConfig (deprecated; default off) is on, when
+dynamically updating this field, consider that
it may trigger or delay Pod evictions.
Default:
memory.available: "100Mi"
@@ -907,9 +966,10 @@ Default:
map[string]string
|
- Map of signal names to quantities that defines soft eviction thresholds.
-For example: {"memory.available": "300Mi"}.
-Dynamic Kubelet Config (beta): If dynamically updating this field, consider that
+ evictionSoft is a map of signal names to quantities that defines soft eviction thresholds.
+For example: `{"memory.available": "300Mi"}`.
+If DynamicKubeletConfig (deprecated; default off) is on, when
+dynamically updating this field, consider that
it may trigger or delay Pod evictions, and may change the allocatable reported
by the node.
Default: nil |
@@ -920,9 +980,10 @@ Default: nil
map[string]string
- Map of signal names to quantities that defines grace periods for each soft eviction signal.
-For example: {"memory.available": "30s"}.
-Dynamic Kubelet Config (beta): If dynamically updating this field, consider that
+ evictionSoftGracePeriod is a map of signal names to quantities that defines grace
+periods for each soft eviction signal. For example: `{"memory.available": "30s"}`.
+If DynamicKubeletConfig (deprecated; default off) is on, when
+dynamically updating this field, consider that
it may trigger or delay Pod evictions.
Default: nil |
@@ -932,8 +993,10 @@ Default: nil
meta/v1.Duration
- Duration for which the kubelet has to wait before transitioning out of an eviction pressure condition.
-Dynamic Kubelet Config (beta): If dynamically updating this field, consider that
+ evictionPressureTransitionPeriod is the duration for which the kubelet has to wait
+before transitioning out of an eviction pressure condition.
+If DynamicKubeletConfig (deprecated; default off) is on, when
+dynamically updating this field, consider that
lowering it may decrease the stability of the node when the node is overcommitted.
Default: "5m" |
@@ -943,13 +1006,14 @@ Default: "5m"
int32
- Maximum allowed grace period (in seconds) to use when terminating pods in
-response to a soft eviction threshold being met. This value effectively caps
-the Pod's TerminationGracePeriodSeconds value during soft evictions.
+ evictionMaxPodGracePeriod is the maximum allowed grace period (in seconds) to use
+when terminating pods in response to a soft eviction threshold being met. This value
+effectively caps the Pod's terminationGracePeriodSeconds value during soft evictions.
Note: Due to issue #64530, the behavior has a bug where this value currently just
overrides the grace period during soft eviction, which can increase the grace
period from what is set on the Pod. This bug will be fixed in a future release.
-Dynamic Kubelet Config (beta): If dynamically updating this field, consider that
+If DynamicKubeletConfig (deprecated; default off) is on, when
+dynamically updating this field, consider that
lowering it decreases the amount of time Pods will have to gracefully clean
up before being killed during a soft eviction.
Default: 0 |
@@ -960,10 +1024,12 @@ Default: 0
map[string]string
- Map of signal names to quantities that defines minimum reclaims, which describe the minimum
-amount of a given resource the kubelet will reclaim when performing a pod eviction while
-that resource is under pressure. For example: {"imagefs.available": "2Gi"}
-Dynamic Kubelet Config (beta): If dynamically updating this field, consider that
+ evictionMinimumReclaim is a map of signal names to quantities that defines minimum reclaims,
+which describe the minimum amount of a given resource the kubelet will reclaim when
+performing a pod eviction while that resource is under pressure.
+For example: `{"imagefs.available": "2Gi"}`.
+If DynamicKubeletConfig (deprecated; default off) is on, when
+dynamically updating this field, consider that
it may change how well eviction can manage resource pressure.
Default: nil |
@@ -973,11 +1039,13 @@ Default: nil
int32
- podsPerCore is the maximum number of pods per core. Cannot exceed MaxPods.
-If 0, this field is ignored.
-Dynamic Kubelet Config (beta): If dynamically updating this field, consider that
+ podsPerCore is the maximum number of pods per core. Cannot exceed maxPods.
+The value must be a non-negative integer.
+If 0, there is no limit on the number of Pods.
+If DynamicKubeletConfig (deprecated; default off) is on, when
+dynamically updating this field, consider that
changes may cause Pods to fail admission on Kubelet restart, and may change
-the value reported in Node.Status.Capacity[v1.ResourcePods], thus affecting
+the value reported in `Node.status.capacity.pods`, thus affecting
future scheduling decisions. Increasing this value may also decrease performance,
as more Pods can be packed into a single node.
Default: 0 |
@@ -990,8 +1058,9 @@ Default: 0
enableControllerAttachDetach enables the Attach/Detach controller to
manage attachment/detachment of volumes scheduled to this node, and
-disables kubelet from executing any attach/detach operations
-Dynamic Kubelet Config (beta): If dynamically updating this field, consider that
+disables kubelet from executing any attach/detach operations.
+If DynamicKubeletConfig (deprecated; default off) is on, when
+dynamically updating this field, consider that
changing which component is responsible for volume management on a live node
may result in volumes refusing to detach if the node is not drained prior to
the update, and if Pods are scheduled to the node before the
@@ -1008,7 +1077,8 @@ Default: true |
protectKernelDefaults, if true, causes the Kubelet to error if kernel
flags are not as it expects. Otherwise the Kubelet will attempt to modify
kernel flags to match its expectation.
-Dynamic Kubelet Config (beta): If dynamically updating this field, consider that
+If DynamicKubeletConfig (deprecated; default off) is on, when
+dynamically updating this field, consider that
enabling it may cause the Kubelet to crash-loop if the Kernel is not configured as
Kubelet expects.
Default: false
@@ -1019,10 +1089,12 @@ Default: false
bool
- If true, Kubelet ensures a set of iptables rules are present on host.
-These rules will serve as utility rules for various components, e.g. KubeProxy.
-The rules will be created based on IPTablesMasqueradeBit and IPTablesDropBit.
-Dynamic Kubelet Config (beta): If dynamically updating this field, consider that
+ makeIPTablesUtilChains, if true, causes the Kubelet ensures a set of iptables rules
+are present on host.
+These rules will serve as utility rules for various components, e.g. kube-proxy.
+The rules will be created based on iptablesMasqueradeBit and iptablesDropBit.
+If DynamicKubeletConfig (deprecated; default off) is on, when
+dynamically updating this field, consider that
disabling it will prevent the Kubelet from healing locally misconfigured iptables rules.
Default: true |
@@ -1032,11 +1104,12 @@ Default: true
int32
- iptablesMasqueradeBit is the bit of the iptables fwmark space to mark for SNAT
+ iptablesMasqueradeBit is the bit of the iptables fwmark space to mark for SNAT.
Values must be within the range [0, 31]. Must be different from other mark bits.
Warning: Please match the value of the corresponding parameter in kube-proxy.
-TODO: clean up IPTablesMasqueradeBit in kube-proxy
-Dynamic Kubelet Config (beta): If dynamically updating this field, consider that
+TODO: clean up IPTablesMasqueradeBit in kube-proxy.
+If DynamicKubeletConfig (deprecated; default off) is on, when
+dynamically updating this field, consider that
it needs to be coordinated with other components, like kube-proxy, and the update
will only be effective if MakeIPTablesUtilChains is enabled.
Default: 14 |
@@ -1049,7 +1122,8 @@ Default: 14
iptablesDropBit is the bit of the iptables fwmark space to mark for dropping packets.
Values must be within the range [0, 31]. Must be different from other mark bits.
-Dynamic Kubelet Config (beta): If dynamically updating this field, consider that
+If DynamicKubeletConfig (deprecated; default off) is on, when
+dynamically updating this field, consider that
it needs to be coordinated with other components, like kube-proxy, and the update
will only be effective if MakeIPTablesUtilChains is enabled.
Default: 15 |
@@ -1060,10 +1134,11 @@ Default: 15
map[string]bool
- featureGates is a map of feature names to bools that enable or disable alpha/experimental
+ featureGates is a map of feature names to bools that enable or disable experimental
features. This field modifies piecemeal the built-in default values from
"k8s.io/kubernetes/pkg/features/kube_features.go".
-Dynamic Kubelet Config (beta): If dynamically updating this field, consider the
+If DynamicKubeletConfig (deprecated; default off) is on, when
+dynamically updating this field, consider the
documentation for the features you are enabling or disabling. While we
encourage feature developers to make it possible to dynamically enable
and disable features, some changes may require node reboots, and some
@@ -1077,19 +1152,29 @@ Default: nil |
failSwapOn tells the Kubelet to fail to start if swap is enabled on the node.
-Dynamic Kubelet Config (beta): If dynamically updating this field, consider that
+If DynamicKubeletConfig (deprecated; default off) is on, when
+dynamically updating this field, consider that
setting it to true will cause the Kubelet to crash-loop if swap is enabled.
Default: true |
+memorySwap
+MemorySwapConfiguration
+ |
+
+ memorySwap configures swap memory available to container workloads. |
+
+
+
containerLogMaxSize
string
|
- A quantity defines the maximum size of the container log file before it is rotated.
-For example: "5Mi" or "256Ki".
-Dynamic Kubelet Config (beta): If dynamically updating this field, consider that
+ containerLogMaxSize is a quantity defining the maximum size of the container log
+file before it is rotated. For example: "5Mi" or "256Ki".
+If DynamicKubeletConfig (deprecated; default off) is on, when
+dynamically updating this field, consider that
it may trigger log rotation.
Default: "10Mi" |
@@ -1099,8 +1184,10 @@ Default: "10Mi"
int32
- Maximum number of container log files that can be present for a container.
-Dynamic Kubelet Config (beta): If dynamically updating this field, consider that
+ containerLogMaxFiles specifies the maximum number of container log files that can
+be present for a container.
+If DynamicKubeletConfig (deprecated; default off) is on, when
+dynamically updating this field, consider that
lowering it may cause log files to be deleted.
Default: 5 |
@@ -1110,8 +1197,13 @@ Default: 5
ResourceChangeDetectionStrategy
- ConfigMapAndSecretChangeDetectionStrategy is a mode in which
-config map and secret managers are running.
+ configMapAndSecretChangeDetectionStrategy is a mode in which ConfigMap and Secret
+managers are running. Valid values include:
+
+- `Get`: kubelet fetches necessary objects directly from the API server;
+- `Cache`: kubelet uses TTL cache for object fetched from the API server;
+- `Watch`: kubelet uses watches to observe changes to objects that are in its interest.
+
Default: "Watch" |
@@ -1124,7 +1216,8 @@ Default: "Watch"
pairs that describe resources reserved for non-kubernetes components.
Currently only cpu and memory are supported.
See http://kubernetes.io/docs/user-guide/compute-resources for more detail.
-Dynamic Kubelet Config (beta): If dynamically updating this field, consider that
+If DynamicKubeletConfig (deprecated; default off) is on, when
+dynamically updating this field, consider that
it may not be possible to increase the reserved resources, because this
requires resizing cgroups. Always look for a NodeAllocatableEnforced event
after updating this field to ensure that the update was successful.
@@ -1136,11 +1229,13 @@ Default: nil
map[string]string
- A set of ResourceName=ResourceQuantity (e.g. cpu=200m,memory=150G) pairs
+ kubeReserved is a set of ResourceName=ResourceQuantity (e.g. cpu=200m,memory=150G) pairs
that describe resources reserved for kubernetes system components.
Currently cpu, memory and local storage for root file system are supported.
-See http://kubernetes.io/docs/user-guide/compute-resources for more detail.
-Dynamic Kubelet Config (beta): If dynamically updating this field, consider that
+See https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
+for more details.
+If DynamicKubeletConfig (deprecated; default off) is on, when
+dynamically updating this field, consider that
it may not be possible to increase the reserved resources, because this
requires resizing cgroups. Always look for a NodeAllocatableEnforced event
after updating this field to ensure that the update was successful.
@@ -1152,9 +1247,10 @@ Default: nil |
string
- This ReservedSystemCPUs option specifies the cpu list reserved for the host level system threads and kubernetes related threads.
-This provide a "static" CPU list rather than the "dynamic" list by system-reserved and kube-reserved.
-This option overwrites CPUs provided by system-reserved and kube-reserved. |
+ The reservedSystemCPUs option specifies the CPU list reserved for the host
+level system threads and kubernetes related threads. This provide a "static"
+CPU list rather than the "dynamic" list by systemReserved and kubeReserved.
+This option does not support systemReservedCgroup or kubeReservedCgroup.
@@ -1162,11 +1258,13 @@ This option overwrites CPUs provided by system-reserved and kube-reserved.
string
- The previous version for which you want to show hidden metrics.
+ showHiddenMetricsForVersion is 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 ., 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.
+The format is `.`, 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.
Default: "" |
@@ -1175,9 +1273,11 @@ Default: ""
string
- This flag helps kubelet identify absolute name of top level cgroup used to enforce `SystemReserved` compute resource reservation for OS system daemons.
-Refer to [Node Allocatable](https://git.k8s.io/community/contributors/design-proposals/node/node-allocatable.md) doc for more information.
-Dynamic Kubelet Config (beta): This field should not be updated without a full node
+ systemReservedCgroup helps the kubelet identify absolute name of top level CGroup used
+to enforce `systemReserved` compute resource reservation for OS system daemons.
+Refer to [Node Allocatable](https://git.k8s.io/community/contributors/design-proposals/node/node-allocatable.md)
+doc for more information.
+Dynamic Kubelet Config (deprecated): This field should not be updated without a full node
reboot. It is safest to keep this value the same as the local config.
Default: "" |
@@ -1187,9 +1287,11 @@ Default: ""
string
- This flag helps kubelet identify absolute name of top level cgroup used to enforce `KubeReserved` compute resource reservation for Kubernetes node system daemons.
-Refer to [Node Allocatable](https://git.k8s.io/community/contributors/design-proposals/node/node-allocatable.md) doc for more information.
-Dynamic Kubelet Config (beta): This field should not be updated without a full node
+ kubeReservedCgroup helps the kubelet identify absolute name of top level CGroup used
+to enforce `KubeReserved` compute resource reservation for Kubernetes node system daemons.
+Refer to [Node Allocatable](https://git.k8s.io/community/contributors/design-proposals/node/node-allocatable.md)
+doc for more information.
+Dynamic Kubelet Config (deprecated): This field should not be updated without a full node
reboot. It is safest to keep this value the same as the local config.
Default: "" |
@@ -1200,10 +1302,16 @@ Default: ""
This flag specifies the various Node Allocatable enforcements that Kubelet needs to perform.
-This flag accepts a list of options. Acceptable options are `none`, `pods`, `system-reserved` & `kube-reserved`.
+This flag accepts a list of options. Acceptable options are `none`, `pods`,
+`system-reserved` and `kube-reserved`.
If `none` is specified, no other options may be specified.
-Refer to [Node Allocatable](https://git.k8s.io/community/contributors/design-proposals/node/node-allocatable.md) doc for more information.
-Dynamic Kubelet Config (beta): If dynamically updating this field, consider that
+When `system-reserved` is in the list, systemReservedCgroup must be specified.
+When `kube-reserved` is in the list, kubeReservedCgroup must be specified.
+This field is supported only when `cgroupsPerQOS` is set to true.
+Refer to [Node Allocatable](https://git.k8s.io/community/contributors/design-proposals/node/node-allocatable.md)
+for more information.
+If DynamicKubeletConfig (deprecated; default off) is on, when
+dynamically updating this field, consider that
removing enforcements may reduce the stability of the node. Alternatively, adding
enforcements may reduce the stability of components which were using more than
the reserved amount of resources; for example, enforcing kube-reserved may cause
@@ -1217,9 +1325,9 @@ Default: ["pods"] |
[]string
- A comma separated whitelist of unsafe sysctls or sysctl patterns (ending in ∗).
-Unsafe sysctl groups are kernel.shm∗, kernel.msg∗, kernel.sem, fs.mqueue.∗, and net.∗.
-These sysctls are namespaced but not allowed by default. For example: "kernel.msg∗,net.ipv4.route.min_pmtu"
+ A comma separated whitelist of unsafe sysctls or sysctl patterns (ending in `∗`).
+Unsafe sysctl groups are `kernel.shm∗`, `kernel.msg∗`, `kernel.sem`, `fs.mqueue.∗`,
+and `net.∗`. For example: "`kernel.msg∗,net.ipv4.route.min_pmtu`"
Default: [] |
@@ -1230,7 +1338,8 @@ Default: []
volumePluginDir is the full path of the directory in which to search
for additional third party volume plugins.
-Dynamic Kubelet Config (beta): If dynamically updating this field, consider that changing
+If DynamicKubeletConfig (deprecated; default off) is on, when
+dynamically updating this field, consider that changing
the volumePluginDir may disrupt workloads relying on third party volume plugins.
Default: "/usr/libexec/kubernetes/kubelet-plugins/volume/exec/" |
@@ -1240,9 +1349,10 @@ Default: "/usr/libexec/kubernetes/kubelet-plugins/volume/exec/"
string
- providerID, if set, sets the unique id of the instance that an external provider (i.e. cloudprovider)
-can use to identify a specific node.
-Dynamic Kubelet Config (beta): If dynamically updating this field, consider that
+ providerID, if set, sets the unique ID of the instance that an external
+provider (i.e. cloudprovider) can use to identify a specific node.
+If DynamicKubeletConfig (deprecated; default off) is on, when
+dynamically updating this field, consider that
it may impact the ability of the Kubelet to interact with cloud providers.
Default: "" |
@@ -1252,9 +1362,11 @@ Default: ""
bool
- kernelMemcgNotification, if set, the kubelet will integrate with the kernel memcg notification
-to determine if memory eviction thresholds are crossed rather than polling.
-Dynamic Kubelet Config (beta): If dynamically updating this field, consider that
+ kernelMemcgNotification, if set, instructs the the kubelet to integrate with the
+kernel memcg notification for determining if memory eviction thresholds are
+exceeded rather than polling.
+If DynamicKubeletConfig (deprecated; default off) is on, when
+dynamically updating this field, consider that
it may impact the way Kubelet interacts with the kernel.
Default: false |
@@ -1264,9 +1376,10 @@ Default: false
LoggingConfiguration
- Logging specifies the options of logging.
-Refer [Logs Options](https://github.com/kubernetes/component-base/blob/master/logs/options.go) for more information.
-Defaults:
+ logging specifies the options of logging.
+Refer to [Logs Options](https://github.com/kubernetes/component-base/blob/master/logs/options.go)
+for more information.
+Default:
Format: text |
@@ -1284,7 +1397,8 @@ Default: true
meta/v1.Duration
- ShutdownGracePeriod specifies the total duration that the node should delay the shutdown and total grace period for pod termination during a node shutdown.
+ shutdownGracePeriod specifies the total duration that the node should delay the
+shutdown and total grace period for pod termination during a node shutdown.
Default: "0s" |
@@ -1293,8 +1407,12 @@ Default: "0s"
meta/v1.Duration
- ShutdownGracePeriodCriticalPods specifies the duration used to terminate critical pods during a node shutdown. This should be less than ShutdownGracePeriod.
-For example, if ShutdownGracePeriod=30s, and ShutdownGracePeriodCriticalPods=10s, during a node shutdown the first 20 seconds would be reserved for gracefully terminating normal pods, and the last 10 seconds would be reserved for terminating critical pods.
+ shutdownGracePeriodCriticalPods specifies the duration used to terminate critical
+pods during a node shutdown. This should be less than shutdownGracePeriod.
+For example, if shutdownGracePeriod=30s, and shutdownGracePeriodCriticalPods=10s,
+during a node shutdown the first 20 seconds would be reserved for gracefully
+terminating normal pods, and the last 10 seconds would be reserved for terminating
+critical pods.
Default: "0s" |
@@ -1303,19 +1421,25 @@ Default: "0s"
[]MemoryReservation
- ReservedMemory specifies a comma-separated list of memory reservations for NUMA nodes.
-The parameter makes sense only in the context of the memory manager feature. The memory manager will not allocate reserved memory for container workloads.
-For example, if you have a NUMA0 with 10Gi of memory and the ReservedMemory was specified to reserve 1Gi of memory at NUMA0,
-the memory manager will assume that only 9Gi is available for allocation.
+ reservedMemory specifies a comma-separated list of memory reservations for NUMA nodes.
+The parameter makes sense only in the context of the memory manager feature.
+The memory manager will not allocate reserved memory for container workloads.
+For example, if you have a NUMA0 with 10Gi of memory and the reservedMemory was
+specified to reserve 1Gi of memory at NUMA0, the memory manager will assume that
+only 9Gi is available for allocation.
You can specify a different amount of NUMA node and memory types.
-You can omit this parameter at all, but you should be aware that the amount of reserved memory from all NUMA nodes
-should be equal to the amount of memory specified by the node allocatable features(https://kubernetes.io/docs/tasks/administer-cluster/reserve-compute-resources/#node-allocatable).
-If at least one node allocatable parameter has a non-zero value, you will need to specify at least one NUMA node.
+You can omit this parameter at all, but you should be aware that the amount of
+reserved memory from all NUMA nodes should be equal to the amount of memory specified
+by the [node allocatable](https://kubernetes.io/docs/tasks/administer-cluster/reserve-compute-resources/#node-allocatable).
+If at least one node allocatable parameter has a non-zero value, you will need
+to specify at least one NUMA node.
Also, avoid specifying:
+
1. Duplicates, the same NUMA node, and memory type, but with a different value.
2. zero limits for any memory type.
3. NUMAs nodes IDs that do not exist under the machine.
4. memory types except for memory and hugepages-
+
Default: nil |
@@ -1338,6 +1462,29 @@ Default: true
+seccompDefault
+bool
+ |
+
+ SeccompDefault enables the use of `RuntimeDefault` as the default seccomp profile for all workloads.
+This requires the corresponding SeccompDefault feature gate to be enabled as well.
+Default: false |
+
+
+
+memoryThrottlingFactor
+float64
+ |
+
+ MemoryThrottlingFactor specifies the factor multiplied by the memory limit or node allocatable memory
+when setting the cgroupv2 memory.high value to enforce MemoryQoS.
+Decreasing this factor will set lower high limit for container cgroups and put heavier reclaim pressure
+while increasing will put less reclaim pressure.
+See http://kep.k8s.io/2570 for more details.
+Default: 0.8 |
+
+
+
@@ -1364,10 +1511,10 @@ It exists in the kubeletconfig API group because it is classified as a versioned
source
-core/v1.NodeConfigSource
+core/v1.NodeConfigSource
|
- Source is the source that we are serializing |
+ source is the source that we are serializing.
@@ -1412,8 +1559,10 @@ hairpin packets.
enabled allows anonymous requests to the kubelet server.
-Requests that are not rejected by another authentication method are treated as anonymous requests.
-Anonymous requests have a username of system:anonymous, and a group name of system:unauthenticated. |
+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`.
@@ -1444,7 +1593,7 @@ Anonymous requests have a username of system:anonymous, and a group name of syst
KubeletX509Authentication
- x509 contains settings related to x509 client certificate authentication |
+ x509 contains settings related to x509 client certificate authentication.
@@ -1452,7 +1601,7 @@ Anonymous requests have a username of system:anonymous, and a group name of syst
KubeletWebhookAuthentication
- webhook contains settings related to webhook bearer token authentication |
+ webhook contains settings related to webhook bearer token authentication.
@@ -1460,7 +1609,7 @@ Anonymous requests have a username of system:anonymous, and a group name of syst
KubeletAnonymousAuthentication
- anonymous contains settings related to anonymous authentication |
+ anonymous contains settings related to anonymous authentication.
@@ -1492,7 +1641,7 @@ Anonymous requests have a username of system:anonymous, and a group name of syst
mode is the authorization mode to apply to requests to the kubelet server.
-Valid values are AlwaysAllow and Webhook.
+Valid values are `AlwaysAllow` and `Webhook`.
Webhook mode uses the SubjectAccessReview API to determine authorization. |
@@ -1548,7 +1697,8 @@ Webhook mode uses the SubjectAccessReview API to determine authorization.
bool
- enabled allows bearer token authentication backed by the tokenreviews.authentication.k8s.io API |
+ enabled allows bearer token authentication backed by the
+tokenreviews.authentication.k8s.io API.
@@ -1587,7 +1737,8 @@ Webhook mode uses the SubjectAccessReview API to determine authorization.
meta/v1.Duration
- cacheAuthorizedTTL is the duration to cache 'authorized' responses from the webhook authorizer. |
+ cacheAuthorizedTTL is the duration to cache 'authorized' responses from the
+webhook authorizer.
@@ -1595,7 +1746,8 @@ Webhook mode uses the SubjectAccessReview API to determine authorization.
meta/v1.Duration
- cacheUnauthorizedTTL is the duration to cache 'unauthorized' responses from the webhook authorizer. |
+ cacheUnauthorizedTTL is the duration to cache 'unauthorized' responses from
+the webhook authorizer.
@@ -1626,8 +1778,9 @@ Webhook mode uses the SubjectAccessReview API to determine authorization.
string
- clientCAFile is the path to a PEM-encoded certificate bundle. If set, any request presenting a client certificate
-signed by one of the authorities in the bundle is authenticated with a username corresponding to the CommonName,
+ clientCAFile is the path to a PEM-encoded certificate bundle. If set, any request
+presenting a client certificate signed by one of the authorities in the bundle
+is authenticated with a username corresponding to the CommonName,
and groups corresponding to the Organization in the client certificate. |
@@ -1665,7 +1818,7 @@ MemoryReservation specifies the memory reservation of different types for each N
limits [Required]
-core/v1.ResourceList
+core/v1.ResourceList
|
No description provided.
@@ -1678,6 +1831,39 @@ MemoryReservation specifies the memory reservation of different types for each N
+## `MemorySwapConfiguration` {#kubelet-config-k8s-io-v1beta1-MemorySwapConfiguration}
+
+
+
+
+**Appears in:**
+
+- [KubeletConfiguration](#kubelet-config-k8s-io-v1beta1-KubeletConfiguration)
+
+
+
+
+
+| Field | Description |
+
+
+
+
+swapBehavior
+string
+ |
+
+ swapBehavior configures swap memory available to container workloads. May be one of
+"", "LimitedSwap": workload combined memory and swap usage cannot exceed pod memory limit
+"UnlimitedSwap": workloads can use unlimited swap, up to the allocatable limit. |
+
+
+
+
+
+
+
+
## `ResourceChangeDetectionStrategy` {#kubelet-config-k8s-io-v1beta1-ResourceChangeDetectionStrategy}
(Alias of `string`)
@@ -1694,3 +1880,45 @@ managers (secret, configmap) are discovering object changes.
+
+
+
+## `LoggingConfiguration` {#LoggingConfiguration}
+
+
+
+
+**Appears in:**
+
+- [KubeletConfiguration](#kubelet-config-k8s-io-v1beta1-KubeletConfiguration)
+
+
+LoggingConfiguration contains logging options
+Refer [Logs Options](https://github.com/kubernetes/component-base/blob/master/logs/options.go) for more information.
+
+
+| Field | Description |
+
+
+
+
+format [Required]
+string
+ |
+
+ Format Flag specifies the structure of log messages.
+default value of format is `text` |
+
+
+
+sanitization [Required]
+bool
+ |
+
+ [Experimental] When enabled prevents logging of fields tagged as sensitive (passwords, keys, tokens).
+Runtime log sanitization may introduce significant computation overhead and therefore should not be enabled in production.`) |
+
+
+
+
+
|