Skip to content

Commit

Permalink
feat: support topologySpreadConstraints in replication & sentinel
Browse files Browse the repository at this point in the history
Signed-off-by: Husni Alhamdani <[email protected]>
  • Loading branch information
husnialhamdani committed Dec 23, 2024
1 parent 251a2ce commit 7e176df
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions pkg/k8sutils/redis-replication_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,6 @@ import (
"k8s.io/utils/ptr"
)

// topologySpreadConstraints:
// - maxSkew: 1
// topologyKey: kubernetes.io/hostname
// whenUnsatisfiable: ScheduleAnyway
// labelSelector:
// matchLabels:
// role: replication
// app: redis-replication
func Test_generateRedisReplicationParams(t *testing.T) {
path := filepath.Join("..", "..", "tests", "testdata", "redis-replication.yaml")
expected := statefulSetParameters{
Expand Down

0 comments on commit 7e176df

Please sign in to comment.