Skip to content

Commit

Permalink
docs: Ensure image not present between incomplete sentence. (argoproj…
Browse files Browse the repository at this point in the history
…#3079)

* Update anti-affinity.md

* Update mkdocs.yml

Signed-off-by: Philip Clark <[email protected]>
  • Loading branch information
PranitRout07 authored and phclark committed Oct 13, 2023
1 parent a1efd96 commit 41b0598
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/features/anti-affinity/anti-affinity.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ You can learn more about anti-affinity [here](https://kubernetes.io/docs/concept

Repeating the above example with anti-affinity enabled, here is what happens when the `.spec.template` of the Rollout changes. Due to anti-affinity, the new pods cannot be scheduled on nodes which run the old ReplicaSet's pods.
As a result, the cluster auto-scaler must create 2 nodes to host the new ReplicaSet's pods. In this case, pods won't be started since the scaled-down nodes are guaranteed to not have the new pods.

![ Original Rollout is running, spread across two nodes](images/solution.png)

## Enabling Anti-Affinity in Rollouts
Expand Down

0 comments on commit 41b0598

Please sign in to comment.