kubernetes / kubeadm

Aggregator for issues filed against kubeadm
Apache License 2.0
3.76k stars 716 forks source link

kubectl connection refused #3122

Closed iamantil closed 2 weeks ago

iamantil commented 2 weeks ago
Not sure if this a bug ## What keywords did you search in kubeadm issues before filing this one? "Unhandled Error" err="couldn't get current server API group list: Get \"http://localhost:8080/api?timeout=32s\": dial tcp 127.0.0.1:8080: connect: connection refused" If you have found any duplicates, you should instead reply there and close this page. If you have not found any duplicates, delete this section and continue on. ## Is this a BUG REPORT or FEATURE REQUEST? Choose one: BUG REPORT or FEATURE REQUEST

Versions

kubeadm version (use kubeadm version):

clientVersion: buildDate: "2024-09-11T21:26:49Z" compiler: gc gitCommit: 948afe5ca072329a73c8e79ed5938717a5cb3d21 gitTreeState: clean gitVersion: v1.31.1 goVersion: go1.22.6 major: "1" minor: "31" platform: linux/amd64

Environment:

What happened?

Unable to use the kubectl CLU

What you expected to happen?

At least the pods should be displayed after the initialization of the cluster.

How to reproduce it (as minimally and precisely as possible)?

I guess initializing the kubedm cluster in External CA mode can do it.

Anything else we need to know?

neolit123 commented 2 weeks ago

/support

github-actions[bot] commented 2 weeks ago

Hello, @iamantil :robot: :wave:

You seem to have troubles using Kubernetes and kubeadm. Note that our issue trackers should not be used for providing support to users. There are special channels for that purpose.

Please see: