Skip to content

Commit

Permalink
Use new feature_gate_name option
Browse files Browse the repository at this point in the history
  • Loading branch information
dipesh-rawat committed Feb 12, 2024
1 parent a936505 commit a3f297b
Show file tree
Hide file tree
Showing 9 changed files with 15 additions and 15 deletions.
Expand Up @@ -139,7 +139,7 @@ until disk usage reaches the `LowThresholdPercent` value.

#### Garbage collection for unused container images {#image-maximum-age-gc}

{{< feature-state for_k8s_version="v1.29" state="alpha" >}}
{{< feature-state feature_gate_name="ImageMaximumGCAge" >}}

As an alpha feature, you can specify the maximum time a local image can be unused for,
regardless of disk usage. This is a kubelet setting that you configure for each node.
Expand Down
2 changes: 1 addition & 1 deletion content/en/docs/concepts/architecture/leases.md
Expand Up @@ -33,7 +33,7 @@ instances are on stand-by.

## API server identity

{{< feature-state for_k8s_version="v1.26" state="beta" >}}
{{< feature-state feature_gate_name="APIServerIdentity" >}}

Starting in Kubernetes v1.26, each `kube-apiserver` uses the Lease API to publish its identity to the
rest of the system. While not particularly useful on its own, this provides a mechanism for clients to
Expand Down
Expand Up @@ -8,7 +8,7 @@ weight: 220

<!-- overview -->

{{< feature-state state="alpha" for_k8s_version="v1.28" >}}
{{< feature-state feature_gate_name="UnknownVersionInteroperabilityProxy" >}}

Kubernetes {{< skew currentVersion >}} includes an alpha feature that lets an
{{< glossary_tooltip text="API Server" term_id="kube-apiserver" >}}
Expand Down
10 changes: 5 additions & 5 deletions content/en/docs/concepts/architecture/nodes.md
Expand Up @@ -280,7 +280,7 @@ If you want to explicitly reserve resources for non-Pod processes, see

## Node topology

{{< feature-state state="stable" for_k8s_version="v1.27" >}}
{{< feature-state feature_gate_name="TopologyManager" >}}

If you have enabled the `TopologyManager`
[feature gate](/docs/reference/command-line-tools-reference/feature-gates/), then
Expand All @@ -290,7 +290,7 @@ for more information.

## Graceful node shutdown {#graceful-node-shutdown}

{{< feature-state state="beta" for_k8s_version="v1.21" >}}
{{< feature-state feature_gate_name="GracefulNodeShutdown" >}}

The kubelet attempts to detect node system shutdown and terminates pods running on the node.

Expand Down Expand Up @@ -374,7 +374,7 @@ Message: Pod was terminated in response to imminent node shutdown.

### Pod Priority based graceful node shutdown {#pod-priority-graceful-node-shutdown}

{{< feature-state state="beta" for_k8s_version="v1.24" >}}
{{< feature-state feature_gate_name="GracefulNodeShutdownBasedOnPodPriority" >}}

To provide more flexibility during graceful node shutdown around the ordering
of pods during shutdown, graceful node shutdown honors the PriorityClass for
Expand Down Expand Up @@ -471,7 +471,7 @@ are emitted under the kubelet subsystem to monitor node shutdowns.

## Non-graceful node shutdown handling {#non-graceful-node-shutdown}

{{< feature-state state="stable" for_k8s_version="v1.28" >}}
{{< feature-state feature_gate_name="NodeOutOfServiceVolumeDetach" >}}

A node shutdown action may not be detected by kubelet's Node Shutdown Manager,
either because the command does not trigger the inhibitor locks mechanism used by
Expand Down Expand Up @@ -515,7 +515,7 @@ During a non-graceful shutdown, Pods are terminated in the two phases:

## Swap memory management {#swap-memory}

{{< feature-state state="beta" for_k8s_version="v1.28" >}}
{{< feature-state feature_gate_name="NodeSwap" >}}

To enable swap on a node, the `NodeSwap` feature gate must be enabled on
the kubelet, and the `--fail-swap-on` command line flag or `failSwapOn`
Expand Down
Expand Up @@ -238,7 +238,7 @@ The `logrotate` tool rotates logs daily, or once the log size is greater than 10

## Log query

{{< feature-state for_k8s_version="v1.27" state="alpha" >}}
{{< feature-state feature_gate_name="NodeLogQuery" >}}

To help with debugging issues on nodes, Kubernetes v1.27 introduced a feature that allows viewing logs of services
running on the node. To use the feature, ensure that the `NodeLogQuery`
Expand Down
Expand Up @@ -76,7 +76,7 @@ For more information about the `TracingConfiguration` struct, see

### kubelet traces

{{< feature-state for_k8s_version="v1.27" state="beta" >}}
{{< feature-state feature_gate_name="KubeletTracing" >}}

The kubelet CRI interface and authenticated http servers are instrumented to generate
trace spans. As with the apiserver, the endpoint and sampling rate are configurable.
Expand Down
2 changes: 1 addition & 1 deletion content/en/docs/concepts/containers/images.md
Expand Up @@ -161,7 +161,7 @@ which is 300 seconds (5 minutes).

### Image pull per runtime class

{{< feature-state for_k8s_version="v1.29" state="alpha" >}}
{{< feature-state feature_gate_name="RuntimeClassInImageCriApi" >}}
Kubernetes includes alpha support for performing image pulls based on the RuntimeClass of a Pod.

If you enable the `RuntimeClassInImageCriApi` [feature gate](/docs/reference/command-line-tools-reference/feature-gates/),
Expand Down
Expand Up @@ -360,7 +360,7 @@ null `namespaceSelector` matches the namespace of the Pod where the rule is defi

#### matchLabelKeys

{{< feature-state for_k8s_version="v1.29" state="alpha" >}}
{{< feature-state feature_gate_name="MatchLabelKeysInPodAffinity" >}}

{{< note >}}
<!-- UPDATE THIS WHEN PROMOTING TO BETA -->
Expand Down Expand Up @@ -410,7 +410,7 @@ spec:

#### mismatchLabelKeys

{{< feature-state for_k8s_version="v1.29" state="alpha" >}}
{{< feature-state feature_gate_name="MatchLabelKeysInPodAffinity" >}}

{{< note >}}
<!-- UPDATE THIS WHEN PROMOTING TO BETA -->
Expand Down
4 changes: 2 additions & 2 deletions content/en/docs/concepts/services-networking/service.md
Expand Up @@ -621,7 +621,7 @@ can define your own (provider specific) annotations on the Service that specify

#### Load balancers with mixed protocol types

{{< feature-state for_k8s_version="v1.26" state="stable" >}}
{{< feature-state feature_gate_name="MixedProtocolLBService" >}}

By default, for LoadBalancer type of Services, when there is more than one port defined, all
ports must have the same protocol, and the protocol must be one which is supported
Expand Down Expand Up @@ -670,7 +670,7 @@ Unprefixed names are reserved for end-users.

#### Specifying IPMode of load balancer status {#load-balancer-ip-mode}

{{< feature-state for_k8s_version="v1.29" state="alpha" >}}
{{< feature-state feature_gate_name="LoadBalancerIPMode" >}}

Starting as Alpha in Kubernetes 1.29,
a [feature gate](/docs/reference/command-line-tools-reference/feature-gates/)
Expand Down

0 comments on commit a3f297b

Please sign in to comment.