Skip to content

Commit

Permalink
Add Label Selector to pod anti affinity (#407)
Browse files Browse the repository at this point in the history
* pod anti affinity

* update

* update 2
  • Loading branch information
shubham-cmyk authored Jan 16, 2023
1 parent 0e975e1 commit 4e37f66
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions example/affinity/clusterd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ spec:
operator: In
values:
- redis-cluster-leader
- redis-cluster-follower
topologyKey: "kubernetes.io/hostname"
redisFollower:
affinity:
Expand All @@ -37,6 +38,7 @@ spec:
operator: In
values:
- redis-cluster-follower
- redis-cluster-leader
topologyKey: "kubernetes.io/hostname"
storage:
volumeClaimTemplate:
Expand Down

0 comments on commit 4e37f66

Please sign in to comment.