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

Failed to install the optional EKS-A Curated Package Controller with env kubeconfig is set

Open mitalipaygude opened this issue 9 months ago • 0 comments

What happened:

When the env on the admin machine has a KUBECONFIG set curated package controller uses that kubeconfig instead of the cluster('s kubeconfig) it should be installing the packages on.

Throws an error like this

2024-05-20T00:53:43.170-0700	V0	⚠️  Failed to install the optional EKS-A Curated Package Controller. Please try installation again through eksctl after the cluster creation succeeds	{"warning": "Error: Kubernetes cluster unreachable: stat old-cluster/old-cluster-eks-a-cluster.kubeconfig: no such file or directory\n"}

What you expected to happen: The controller should use/set the kube context to the cluster the CLI is creating.

How to reproduce it (as minimally and precisely as possible): Set the env var KUBECONFIG to a value before kicking off a cluster create.

Anything else we need to know?:

Environment:

  • EKS Anywhere Release:
  • EKS Distro Release:

mitalipaygude avatar May 20 '24 07:05 mitalipaygude