eksctl icon indicating copy to clipboard operation
eksctl copied to clipboard

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

Open oluranticode opened this issue 1 year ago • 2 comments

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

oluranticode avatar Aug 05 '24 20:08 oluranticode

Hello oluranticode :wave: 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

github-actions[bot] avatar Aug 05 '24 20:08 github-actions[bot]

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 avatar Aug 06 '24 13:08 cPu1

hi,

did u fix it?

ebidrey avatar Oct 24 '24 23:10 ebidrey

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.

github-actions[bot] avatar Dec 04 '24 02:12 github-actions[bot]

This issue was closed because it has been stalled for 5 days with no activity.

github-actions[bot] avatar Dec 09 '24 02:12 github-actions[bot]