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

Note able to scale node group due to naming convention of nodegroup #7137

Closed
togunsanya opened this issue Oct 4, 2023 · 4 comments
Closed
Labels
kind/help Request for help stale

Comments

@togunsanya
Copy link

What were you trying to accomplish?

I am trying to scale nodegroup with the help of eksctl (latest version)

What happened?

While running

eksctl scale nodegroup --cluster=abc-sandbox-eks-devops-0 --name=abc-sandbox-eks-ng-high_0 --nodes=0 --nodes-max=1 --nodes-min=0

I am getting below error:

Error: validation for abc-sandbox-eks-ng-high_0 failed, name must satisfy regular expression pattern: [a-zA-Z][-a-zA-Z0-9]*

I have checked AWS official documentation and as per the documentation underscore underscore (_) is allowed in nodegroup names

https://docs.aws.amazon.com/eks/latest/userguide/create-managed-node-group.html

@github-actions
Copy link
Contributor

github-actions bot commented Oct 4, 2023

Hello togunsanya 👋 Thank you for opening an issue in eksctl project. The team will review the issue and aim to respond within 1-5 business days. Meanwhile, please read about the Contribution and Code of Conduct guidelines here. You can find out more information about eksctl on our website

@TiberiuGC TiberiuGC added kind/help Request for help and removed kind/bug labels Oct 25, 2023
@TiberiuGC
Copy link
Collaborator

TiberiuGC commented Oct 25, 2023

Hi @togunsanya , for a wide range of commands eksctl operates on top of CloudFormation API. Thus, for UX consistency, we want to have the supported nodegroup names aligned to CFN rules. For this case, it means we won't accept _ as part of the ng name, even if it's supported in EKS.

For further reference, see #2943 (comment)

Copy link
Contributor

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.

@github-actions github-actions bot added the stale label Nov 25, 2023
Copy link
Contributor

This issue was closed because it has been stalled for 5 days with no activity.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Nov 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/help Request for help stale
Projects
None yet
Development

No branches or pull requests

2 participants