Skip to content

Commit c855774

Browse files
authored
Update the correct indentation for tolerations.
The indentation in section "2. Edit the ingresscontroller resource and change the nodeSelector to use the infra label:" for "tolerations" is wrong. The "tolerations" must be an attribute of "nodePlacement:" and not of "spec:".
1 parent 5a41103 commit c855774

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

modules/infrastructure-moving-router.adoc

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -64,13 +64,13 @@ $ oc edit ingresscontroller default -n openshift-ingress-operator
6464
nodeSelector: <1>
6565
matchLabels:
6666
node-role.kubernetes.io/infra: ""
67-
tolerations:
68-
- effect: NoSchedule
69-
key: node-role.kubernetes.io/infra
70-
value: reserved
71-
- effect: NoExecute
72-
key: node-role.kubernetes.io/infra
73-
value: reserved
67+
tolerations:
68+
- effect: NoSchedule
69+
key: node-role.kubernetes.io/infra
70+
value: reserved
71+
- effect: NoExecute
72+
key: node-role.kubernetes.io/infra
73+
value: reserved
7474
----
7575
<1> Add a `nodeSelector` parameter with the appropriate value to the component you want to move. You can use a `nodeSelector` in the format shown or use `<key>: <value>` pairs, based on the value specified for the node. If you added a taint to the infrastructure node, also add a matching toleration.
7676

0 commit comments

Comments
 (0)