Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Labels match but Cluster Autoscaler says "are not similar, labels do not match" when trying to balance similar node groups. #6954

Open
nicksecurity opened this issue Jun 21, 2024 · 1 comment
Labels
area/cluster-autoscaler kind/bug Categorizes issue or PR as related to a bug.

Comments

@nicksecurity
Copy link

Which component are you using?:
cluster-autoscaler

What version of the component are you using?:
Component version: 1.28.5

What k8s version are you using (kubectl version)?:

kubectl version Output
$ kubectl version
Client Version: v1.28.3
Kustomize Version: v5.0.4-0.20230601165947-6ce0bf390ce3
Server Version: v1.28.9-eks-036c24b

What environment is this in?:
AWS, EKS using EC2

What did you expect to happen?:
When new nodes are added I expect them to be balanced on to 3 similar node groups, which have the same labels.

What happened instead?:
I have 3 node groups, one per AZ, the new nodes are only added to 1 node group.

The error says the labels are different, but I've checked them all, and except for a couple I've excluded, they are similar.

I0621 14:19:48.338960 1 compare_nodegroups.go:157] nodes template-node-for-eks-nodegroup-4-128-1ec80b90 and template-node-for-eks-nodegroup-3-128-f0c80b8d are not similar, labels do not match

How to reproduce it (as minimally and precisely as possible):
I scale up the pods so it will add several new nodes and then check to see which nodegroup it added them to.

Anything else we need to know?:
No

@nicksecurity nicksecurity added the kind/bug Categorizes issue or PR as related to a bug. label Jun 21, 2024
@adrianmoisey
Copy link
Contributor

/area cluster-autoscaler

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/cluster-autoscaler kind/bug Categorizes issue or PR as related to a bug.
Projects
None yet
Development

No branches or pull requests

3 participants