What were you trying to accomplish?
Trying to scale up a nodegroup, where both it and the EKS cluster were not deployed using eksctl.
The command i ran is:
eksctl scale nodegroup --cluster eks-cluster --nodes=3 --name on_demand-20250709145022911400000011
What happened?
Error: validation for on_demand-20250709145022911400000011 failed, name must satisfy regular expression pattern: [a-zA-Z][-a-zA-Z0-9]*
which is due to the _ in the nodegroup's name.
How to reproduce it?
`eksctl scale nodegroup .... --nodegroup-name_containing_underscores
Logs
error message : Error: validation for on_demand-20250709145022911400000011 failed, name must satisfy regular expression pattern: [a-zA-Z][-a-zA-Z0-9]*
Anything else we need to know?
Versions
eksctl version: 0.220.0
kubectl version: v1.33.1
OS: linux