ouldn't get current server API group list: Get \"http://localhost:8080/api?timeout=32s\": dial tcp 127.0.0.1:8080: connect: connection refused #11499
Replies: 1 comment 1 reply
-
Only servers have a copy of the admin kubeconfig. To access the apiserver from other nodes, follow the documentation: https://docs.k3s.io/cluster-access#accessing-the-cluster-from-outside-with-kubectl |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I installed 3 masters successfully and they're HA. such as:
debian is first master, master2 is second master and master3 is third master.
Then I installed an agent with agent1 name.
When I run
kubectl get nodes
in agent1 machine, I get the following messages:My
/root/.kube/config
isMy agent installation:
curl -sfL https://get.k3s.io | K3S_TOKEN=mohsenjoojoo sh -s - agent --server https://192.168.1.106:6443
My k3s-agent is up:
How can I solve my problem?
Beta Was this translation helpful? Give feedback.
All reactions