Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
mitalipaygude opened this issue May 20, 2024 · 0 comments

Comments

@mitalipaygude
Copy link
Member

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:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant