You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was trying to create a cluster using a config file. See the config file below.
What happened?
Cluster got created but creation of managed node groups failed. I see the following error message in cloudformation. Resource handler returned message: "'alpha.eksctl.io/nodegroup-type' is not a valid tag key. Tag keys must match pattern ([0-9a-zA-Z\\-_+=,.@:]{1,255}), and must not be a reserved name ('.', '..', '_index') (Service: Eks, Status Code: 400, Request ID: 'some id')" (RequestToken: 'some id', HandlerErrorCode: InvalidRequest)
How to reproduce it?
Copy the following config to a file. Run the command eksctl create cluster -f config.yaml.
See the cloudformation logs.
What OS are you using? Ubuntu 22.04.4 LTS
Are you using a downloaded binary or did you compile eksctl? Downloaded binary
What type of AWS credentials are you using (i.e. default/named profile, MFA)? - Named profile
Versions
eksctl version: 0.189.0
kubectl version: v1.30.0
OS: linux
The text was updated successfully, but these errors were encountered:
Hello Ankitwasnik 👋 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
Ankitwasnik
changed the title
[Bug] Creation of managed node groups failed - "'alpha.eksctl.io/nodegroup-type' is not a valid tag key
[Bug] Creation of managed node groups failed - alpha.eksctl.io/nodegroup-type is not a valid tag key
Aug 27, 2024
Ankitwasnik
changed the title
[Bug] Creation of managed node groups failed - alpha.eksctl.io/nodegroup-type is not a valid tag key
[Bug] Creation of managed node groups failed: alpha.eksctl.io/nodegroup-type is not a valid tag key
Aug 27, 2024
The config file you've used looks like a standard cluster that should work and is covered by our integration tests as well. I was unable to reproduce this issue. Are you using the exact ClusterConfig file you've shared here? Can you share the CloudFormation template for the nodegroup?
I've sanitized a few fields, including volumeKmsKeyID and the cluster name, before sharing the config file. As requested, I've created a gist of the CloudFormation template for the node group.
What were you trying to accomplish?
I was trying to create a cluster using a config file. See the config file below.
What happened?
Cluster got created but creation of managed node groups failed. I see the following error message in cloudformation.
Resource handler returned message: "'alpha.eksctl.io/nodegroup-type' is not a valid tag key. Tag keys must match pattern ([0-9a-zA-Z\\-_+=,.@:]{1,255}), and must not be a reserved name ('.', '..', '_index') (Service: Eks, Status Code: 400, Request ID: 'some id')" (RequestToken: 'some id', HandlerErrorCode: InvalidRequest)
How to reproduce it?
Copy the following config to a file. Run the command
eksctl create cluster -f config.yaml
.See the cloudformation logs.
Logs
https://gist.github.com/Ankitwasnik/eb56f9bedab1d223ec6b601908d17fc4
Anything else we need to know?
What OS are you using? Ubuntu 22.04.4 LTS
Are you using a downloaded binary or did you compile eksctl? Downloaded binary
What type of AWS credentials are you using (i.e. default/named profile, MFA)? - Named profile
Versions
The text was updated successfully, but these errors were encountered: