Skip to content

Commit 8295802

Browse files
committed
Updated array with - key for pods nodes 51826
Added affinity rules to pod limitation
1 parent 99f7cb9 commit 8295802

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/nw-metallb-operator-limit-speaker-to-nodes.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ spec:
2626
nodeSelector: <.>
2727
node-role.kubernetes.io/worker: ""
2828
speakerTolerations: <.>
29-
key: "Example"
29+
- key: "Example"
3030
operator: "Exists"
3131
effect: "NoExecute"
3232
----
@@ -36,4 +36,4 @@ spec:
3636
After you apply a manifest with the `spec.nodeSelector` field, you can check the number of pods that the Operator deployed with the `oc get daemonset -n metallb-system speaker` command.
3737
Similarly, you can display the nodes that match your labels with a command like `oc get nodes -l node-role.kubernetes.io/worker=`.
3838

39-
You can optionally allow the node to control which speaker pods should, or should not, be scheduled on them by applying a list of tolerations. For more information about taints and tolerations, see the additional resources.
39+
You can optionally allow the node to control which speaker pods should, or should not, be scheduled on them by using affinity rules. You can also limit these pods by applying a list of tolerations. For more information about affinity rules, taints, and tolerations, see the additional resources.

0 commit comments

Comments
 (0)