Skip to content

Commit 9315b85

Browse files
committed
restore not-outdated contents
1 parent 3b40977 commit 9315b85

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

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

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -140,9 +140,9 @@ See CRI-O's [config documentation](https://raw.githubusercontent.com/cri-o/cri-o
140140
141141
{{< feature-state for_k8s_version="v1.16" state="beta" >}}
142142
143-
If the nodes in your cluster support different sets of features, you can set the `scheduling`
144-
field for a RuntimeClass, then use that hint to ensure that pods running with that particular
145-
RuntimeClass are scheduled to nodes that support it.
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.
146146
147147
To ensure pods land on nodes supporting a specific RuntimeClass, that set of nodes should have a
148148
common label which is then selected by the `runtimeclass.scheduling.nodeSelector` field. The
@@ -164,6 +164,8 @@ Nodes](/docs/concepts/scheduling-eviction/assign-pod-node/).
164164
165165
You can specify _overhead_ resources that are associated with running a Pod. Declaring overhead allows
166166
the cluster (including the scheduler) to account for it when making decisions about Pods and resources.
167+
To use Pod overhead, you must have the PodOverhead [feature gate](/docs/reference/command-line-tools-reference/feature-gates/)
168+
enabled (it is on by default).
167169
168170
Pod overhead is defined in RuntimeClass through the `overhead` fields. Through the use of these fields,
169171
you can specify the overhead of running pods utilizing this RuntimeClass and ensure these overheads

0 commit comments

Comments
 (0)