From 3b544f49dc4d5435e9a53db3b51a17f047a55a6a Mon Sep 17 00:00:00 2001 From: Peter Wilcsinszky Date: Sun, 1 Apr 2018 17:08:02 +0200 Subject: [PATCH] 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. --- docs/tutorials/stateful-application/zookeeper.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/tutorials/stateful-application/zookeeper.yaml b/docs/tutorials/stateful-application/zookeeper.yaml index 65f32bf0db..4afa806a54 100644 --- a/docs/tutorials/stateful-application/zookeeper.yaml +++ b/docs/tutorials/stateful-application/zookeeper.yaml @@ -63,7 +63,7 @@ spec: - key: "app" operator: In values: - - zk-hs + - zk topologyKey: "kubernetes.io/hostname" containers: - name: kubernetes-zookeeper