Score:0

New microK8s cluster, dashboard fails when starting out

us flag

Setup a 3 node cluster with microk8s, seems like a snap.

However when I try and access the dashboard, the pod hosting it fails and dies. When I do get there, I don't get the dashboard, but rather just a short webpage stating

Commands run (from https://microk8s.io/docs/addon-dashboard):

token=$(microk8s kubectl -n kube-system get secret | grep default-token | cut -d " " -f1)

Then

microk8s kubectl port-forward -n kube-system service/kubernetes-dashboard 10443:443

Port forward looks to go through:

Forwarding from 127.0.0.1:10443 -> 8443
Forwarding from [::1]:10443 -> 8443

However when I point my browser to 127.0.0.1:10443, it just has plain text of

Client sent an HTTP request to an HTTPS server.

Meanwhile terminal is saying:

Handling connection for 10443
E0125 16:15:45.043397 2738902 portforward.go:406] an error occurred forwarding 10443 -> 8443: error forwarding port 8443 to pod 69268e410d1975746deff3a9a077bcf71493f8a7dbfe4402e30c935410764a36, uid : failed to execute portforward in network namespace "/var/run/netns/cni-0cae42ed-69d7-e3fe-91dd-b064b1c9b3a6": read tcp4 127.0.0.1:60176->127.0.0.1:8443: read: connection reset by peer
E0125 16:15:45.043763 2738902 portforward.go:234] lost connection to pod
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.