eks-anywhere icon indicating copy to clipboard operation
eks-anywhere copied to clipboard

Upgrade of EKSA Cluster with Prior VM template expects a wrong tag on the VM Template

Open elamaran11 opened this issue 3 years ago • 2 comments

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:

elamaran11 avatar Jun 24 '22 17:06 elamaran11

Good question, is there anyway to scale a cluster with the CLI?

TerryHowe avatar Jun 24 '22 17:06 TerryHowe

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:

Screen Shot 2022-06-27 at 09 48 46

This will scale the number of workers in the cluster.

TerryHowe avatar Jun 27 '22 15:06 TerryHowe