Skip to content

Commit ed5c4da

Browse files
(Azure CXP) resolves MicrosoftDocs/azure-docs#33019
Fixed Indentation in Node Affinity sample
1 parent 3263b4a commit ed5c4da

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

articles/aks/operator-best-practices-advanced-scheduler.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -153,11 +153,11 @@ spec:
153153
affinity:
154154
nodeAffinity:
155155
requiredDuringSchedulingIgnoredDuringExecution:
156-
nodeSelectorTerms:
157-
- matchExpressions:
158-
- key: hardware
159-
operator: In
160-
values: highmem
156+
nodeSelectorTerms:
157+
- matchExpressions:
158+
- key: hardware
159+
operator: In
160+
values: highmem
161161
```
162162

163163
The *IgnoredDuringExecution* part of the setting indicates that if the node labels change, the pod shouldn't be evicted from the node. The Kubernetes scheduler only uses the updated node labels for new pods being scheduled, not pods already scheduled on the nodes.

0 commit comments

Comments
 (0)