Skip to content

Commit 8038c7b

Browse files
authored
Merge pull request #25900 from oke-py/25875
remove indication of enabling RuntimeClass feature gate since it is a GA feature
2 parents 92a01bc + 9315b85 commit 8038c7b

File tree

1 file changed

+5
-12
lines changed

1 file changed

+5
-12
lines changed

content/en/docs/concepts/containers/runtime-class.md

Lines changed: 5 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,8 @@ but with different settings.
3535

3636
## Setup
3737

38-
Ensure the RuntimeClass feature gate is enabled (it is by default). See [Feature
39-
Gates](/docs/reference/command-line-tools-reference/feature-gates/) for an explanation of enabling
40-
feature gates. The `RuntimeClass` feature gate must be enabled on API server _and_ kubelets.
41-
42-
1. Configure the CRI implementation on nodes (runtime dependent).
43-
2. Create the corresponding RuntimeClass resources.
38+
1. Configure the CRI implementation on nodes (runtime dependent)
39+
2. Create the corresponding RuntimeClass resources
4440

4541
### 1. Configure the CRI implementation on nodes
4642

@@ -144,11 +140,9 @@ See CRI-O's [config documentation](https://raw.githubusercontent.com/cri-o/cri-o
144140
145141
{{< feature-state for_k8s_version="v1.16" state="beta" >}}
146142
147-
As of Kubernetes v1.16, RuntimeClass includes support for heterogeneous clusters through its
148-
`scheduling` fields. Through the use of these fields, you can ensure that pods running with this
149-
RuntimeClass are scheduled to nodes that support it. To use the scheduling support, you must have
150-
the [RuntimeClass admission controller](/docs/reference/access-authn-authz/admission-controllers/#runtimeclass)
151-
enabled (the default, as of 1.16).
143+
By specifying the `scheduling` field for a RuntimeClass, you can set constraints to
144+
ensure that Pods running with this RuntimeClass are scheduled to nodes that support it.
145+
If `scheduling` is not set, this RuntimeClass is assumed to be supported by all nodes.
152146
153147
To ensure pods land on nodes supporting a specific RuntimeClass, that set of nodes should have a
154148
common label which is then selected by the `runtimeclass.scheduling.nodeSelector` field. The
@@ -185,4 +179,3 @@ are accounted for in Kubernetes.
185179
- [RuntimeClass Scheduling Design](https://github.com/kubernetes/enhancements/blob/master/keps/sig-node/585-runtime-class/README.md#runtimeclass-scheduling)
186180
- Read about the [Pod Overhead](/docs/concepts/scheduling-eviction/pod-overhead/) concept
187181
- [PodOverhead Feature Design](https://github.com/kubernetes/enhancements/blob/master/keps/sig-node/20190226-pod-overhead.md)
188-

0 commit comments

Comments
 (0)