I’m using microk8s on Windows with Multipass. The VM is a latest Ubuntu 20.04 running microk8s 1.19. After I start microk8s and try to access the API server (on port 16443), I get a 401 error back. I’m pretty sure it used to work before but I can’t figure out how to get it working again. I’m not using any proxy yet as I believe the API server should be accessible directly. Here is the command and output. Please let me know if I’m missing any steps or making any mistakes.
ubuntu@powerful-lionfish:~$ curl --insecure https://172.18.250.3:16443/
{
“kind”: “Status”,
“apiVersion”: “v1”,
“metadata”: {
},
“status”: “Failure”,
“message”: “Unauthorized”,
“reason”: “Unauthorized”,
“code”: 401