From 5f76351f9ee2df88936198490b3ecc1dc0d201db Mon Sep 17 00:00:00 2001 From: Martin Gencur Date: Wed, 29 Jan 2025 16:15:24 +0100 Subject: [PATCH] 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. --- modules/hcp-labels-taints.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/hcp-labels-taints.adoc b/modules/hcp-labels-taints.adoc index a61120918b..63bc99cde1 100644 --- a/modules/hcp-labels-taints.adoc +++ b/modules/hcp-labels-taints.adoc @@ -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.