Skip to content

Commit 96de214

Browse files
committed
Added preferredDuringSchedulingIgnoredDuringExecution node affinity rule into pod yml example
1 parent e7cf31b commit 96de214

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

articles/aks/spot-node-pool.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,8 @@ When you deploy a pod with this toleration and node affinity, Kubernetes success
114114
* The node *must* have a label with the key `kubernetes.azure.com/scalesetpriority`, and the value of that label *must* be `spot`.
115115
* The node *preferably* has a label with the key `another-node-label-key`, and the value of that label *must* be `another-node-label-value`.
116116

117+
For more information, see [Assigning pods to nodes](https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#affinity-and-anti-affinity).
118+
117119
## Upgrade a Spot node pool
118120

119121
When you upgrade a Spot node pool, AKS internally issues a cordon and an eviction notice, but no drain is applied. There are no surge nodes available for Spot node pool upgrades. Outside of these changes, the behavior when upgrading Spot node pools is consistent with that of other node pool types.

0 commit comments

Comments
 (0)