eks-anywhere
eks-anywhere copied to clipboard
Upgrade of EKSA Cluster with Prior VM template expects a wrong tag on the VM Template
What happened:
I was trying to scale my EKSA Cluster in VMC which was created a while ago. I was trying to update the worker nodes size to 3 and was trying run the eksctl anywhere upgrade cluster -f eksa-cluster.yaml and im getting the below error which is not making any sense to me.
❯ eksctl anywhere upgrade cluster -f eksa-cluster.yaml ─╯
Performing setup and validations
✅ Connected to server
✅ Authenticated to vSphere
✅ Datacenter validated
✅ Network validated
✅ Datastore validated
✅ Folder validated
✅ Resource pool validated
✅ Datastore validated
✅ Folder validated
✅ Resource pool validated
✅ Datastore validated
✅ Folder validated
✅ Resource pool validated
❌ Validation failed {"validation": "vsphere Provider setup is valid", "error": "template /SDDC-Datacenter/vm/Templates/eks-a-templates/ubuntu-v1.21.5-eks-d-1-21-8-eks-a-6-amd64 is missing tag eksdRelease:kubernetes-1-21-eks-13", "remediation": ""}
What you expected to happen: The tag expectation of the image wasnt correct, it should have passed through the error.
How to reproduce it (as minimally and precisely as possible): Try to upgrade your older cluster increasing the size of the worker nodes
Anything else we need to know?:
Environment:
- EKS Anywhere Release:
- EKS Distro Release:
Good question, is there anyway to scale a cluster with the CLI?
The work around for scaling with no change to the cluster would be to kubectl edit cluster $CLUSTER_NAME and chang count on the wokerNodeGroupConfigurations for example:

This will scale the number of workers in the cluster.