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

panic: "" not a valid CLUSTER_ENDPOINT URL; CLUSTER_NAME is required -- Karpenter #7926

Open
oluranticode opened this issue Aug 5, 2024 · 2 comments
Labels
kind/help Request for help

Comments

@oluranticode
Copy link

I'm getting this error while trying to install karpenter in my kubernetes. see configuration below

apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: karpenter
namespace: argocd
spec:
project: system
source:
repoURL: 'https://charts.karpenter.sh'
chart: karpenter
targetRevision: {{ index .Values "targetRevision" "karpenter" }}
helm:
values: |
aws:
clusterName: ""
clusterEndpoint: ""
defaultInstanceProfile: "KarpenterInstanceProfile"
destination:
server: 'https://kubernetes.default.svc'
namespace: kube-system
syncPolicy:
automated: {}
syncOptions:
- ApplyOutOfSyncOnly=true

  Error i'm getting is:
  panic: "" not a valid CLUSTER_ENDPOINT URL; CLUSTER_NAME is required

goroutine 1 [running]:
github.com/aws/karpenter/pkg/utils/options.(*Options).MustParse(0x4000711680)
github.com/aws/karpenter/pkg/utils/options/options.go:97 +0x110
github.com/aws/karpenter/pkg/controllers.Initialize(0x20cd038)
github.com/aws/karpenter/pkg/controllers/controllers.go:89 +0x2c
main.main()
github.com/aws/karpenter/cmd/controller/main.go:26 +0x24

please can anyone help me
Copy link
Contributor

github-actions bot commented Aug 5, 2024

Hello oluranticode 👋 Thank you for opening an issue in eksctl project. The team will review the issue and aim to respond within 1-5 business days. Meanwhile, please read about the Contribution and Code of Conduct guidelines here. You can find out more information about eksctl on our website

@cPu1
Copy link
Collaborator

cPu1 commented Aug 6, 2024

Did you install Karpenter via eksctl? As the error indicates, you'll need to set a valid CLUSTER_ENDPOINT_URL and CLUSTER_NAME. This does not seem related to eksctl.

@cPu1 cPu1 added kind/help Request for help and removed kind/bug labels Aug 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/help Request for help
Projects
None yet
Development

No branches or pull requests

2 participants