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:
Peter Wilcsinszky 2018-04-01 17:08:02 +02:00 committed by k8s-ci-robot
parent 6879610621
commit 3b544f49dc
1 changed files with 1 additions and 1 deletions

View File

@ -63,7 +63,7 @@ spec:
- key: "app"
operator: In
values:
- zk-hs
- zk
topologyKey: "kubernetes.io/hostname"
containers:
- name: kubernetes-zookeeper