[Bug]: Unable to schedule Zookeeper cluster using node-selector plugin #9069
michal0000000
started this conversation in
General
Replies: 1 comment 12 replies
-
Not sure if any of this helps, but ...
|
Beta Was this translation helpful? Give feedback.
12 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Bug Description
I'm trying to create a HA Kafka cluster across multiple availability domains. I have 5 worker nodes, 3 of which I have labeled
nodepool=test
After applying
scheduler.alpha.kubernetes.io/node-selector: nodepool=test
to the kafka namespace and deploying the cluster I get an error during Zookeeper's pod scheduling saying:
3 node(s) didn't satisfy existing pods anti-affinity rules
(there are no anti-affinity rules)The thing is:
I also checked for antiAffinity rules of other pods but found nothing.
Kubernetes cluster info:
Full error message:
Steps to reproduce
scheduler.alpha.kubernetes.io/node-selector: nodepool=test
Expected behavior
Two zookeeper instances should have been scheduled somewhere on the three nodes labeled with
nodepool=test
Strimzi version
latest
Kubernetes version
Kubernetes 1.26.1
Installation method
Downloaded YAMLs from https://strimzi.io/install/latest?namespace=kafka
Infrastructure
Bare-metal
Configuration files and logs
Kafka config
namespace config
kubectl get nodes --show-labels
kubectl describe node worker1 (node belongs to
test
nodepool)kubectl describe node worker4 (node does not belong to
test
nodepool)Additional context
Any help would be greatly appreciated. Thank you!
Beta Was this translation helpful? Give feedback.
All reactions