Open DanniRiggin opened 4 months ago
Is there are reason for using the deprecated label?
We don't have to use the deprecated label and our issue is fixed by using topology.kubernetes.io/zone. Reported this in case others run into the same issue because it was a pain point in debugging this issue since the docs say that the deprecated label works but it does not.
Description
Observed Behavior: When I deploy a simple StatefulSet with podAntiAffinity using the label failure-domain.beta.kubernetes.io/zone as the topologyKey, if one of the pods in my StatefulSet needs a new node, it does not get provisioned. Looking in the karpenter logs, it seems to have an issue with this key as it prints out:
Expected Behavior: According to the docs under well known labels - failure-domain.beta.kubernetes.io/zone should be mapped to the stable equivalent (topology.kubernetes.io/zone), so nodes should continue to be provisioned when necessary for these pods in the StatefulSet.
Reproduction Steps (Please include YAML):
Versions:
Chart Version: 0.36.2
Kubernetes Version (
kubectl version
): 1.27Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
If you are interested in working on this issue or have submitted a pull request, please leave a comment