0

I have a ubuntu-based master machine where I have a microk8s cluster running.

I wanted to add an rpi as a worker node. microk8s join worked and replied with

Waiting for this node to finish joining the cluster. .. .. .. .. .. .. .. .. .. ..
Successfully joined the cluster.

But running microk8s kubectl get nodes on the worker node shows problems with the TLS handshake:

E0906 17:40:05.487052 89509 memcache.go:265] couldn't get current server API group list: Get "https://127.0.0.1:16443/api?timeout=32s": net/http: TLS handshake timeout

Also, on the master, when listing nodes only the master is shown. When trying to hit the ports from the worker on the master, everything seems fine (nc gives Connection to 10.0.0.101 16443 port [tcp/*] succeeded!).

Any ideas whats wrong here?

isherwood
61.4k16 gold badges122 silver badges173 bronze badges
asked Sep 6, 2024 at 15:44
1
  • Refer to the similar issue on Github link and also go through this Stack link which might be helpful for you. Commented Sep 6, 2024 at 19:24

1 Answer 1

1

Ok, got if working, completely my fault. I simply forgot the --worker-flag when doing the join-command on the worker node.

answered Sep 7, 2024 at 4:26
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.