antiaffinity selector never matches (#7700)
Tested in minikube by replacing the zookeeper image with the pause container and the scheduler was able to schedule all 3 pods on the minikube node. Changing it to zk, made the pods zk-1 and zk-2 pending with scheduling failure as expected.
This commit is contained in:
parent
6879610621
commit
3b544f49dc
|
@ -63,7 +63,7 @@ spec:
|
||||||
- key: "app"
|
- key: "app"
|
||||||
operator: In
|
operator: In
|
||||||
values:
|
values:
|
||||||
- zk-hs
|
- zk
|
||||||
topologyKey: "kubernetes.io/hostname"
|
topologyKey: "kubernetes.io/hostname"
|
||||||
containers:
|
containers:
|
||||||
- name: kubernetes-zookeeper
|
- name: kubernetes-zookeeper
|
||||||
|
|
Loading…
Reference in New Issue