1
0
mirror of https://github.com/openshift/openshift-docs.git synced 2026-02-05 12:46:18 +01:00

HCP proper node selector for infra nodes

Just a few lines above, the docs say:
`node-role.kubernetes.io/infra`: Use this label to avoid having the
control-plane workload count toward your subscription

The nodeSelector should match the label.
This commit is contained in:
Martin Gencur
2025-01-29 16:15:24 +01:00
committed by openshift-cherrypick-robot
parent 747ba32cf7
commit 5f76351f9e

View File

@@ -40,7 +40,7 @@ To enable a hosted cluster to require its pods to be scheduled into infrastructu
----
spec:
nodeSelector:
role.kubernetes.io/infra: ""
node-role.kubernetes.io/infra: ""
----
This way, {hcp} for each hosted cluster are eligible infrastructure node workloads, and you do not need to entitle the underlying {product-title} nodes.