Knowing the unknown reason the server refused to connect

Hello, I am setting up a Microk8s cluster on a few Raspberry Pi 4s running 64-bit Ubuntu 20.10. I got off to a good start. I can see all my nodes are happy when I run microk8s.kubectl on the master node.

When I run kubectl from my Mac. It says:

Error from server (BadRequest): the server rejected our request for an unknown reason

My guest is that the reason is failed authentificationing. But I’d like to know for sure.

My question is thus two parts:

  1. where does one look to know the unknowable? or at least why the server refuses to connect.
  2. where does one look to set up and trouble-shoot users/contexts/tokens/certs and the like?

Thanks in advance,

steve

Did you ever figure this out?