13:23:03.315167 91668 portforward.go:413] an error occurred forwarding 10443 → 8443: error forwarding port 8443 to pod e440efc1dadc28263f62954aa27ddb9521afdd7ccaeda81aa1562a5f1993b01a, uid : failed to execute portforward in network namespace “/var/run/netns/cni-908e1ef2-b369-a28d-d1ef-73ac60b1a793”: failed to connect to localhost:8443 inside namespace “e440efc1dadc28263f62954aa27ddb9521afdd7ccaeda81aa1562a5f1993b01a”, IPv4: dial tcp4 127.0.0.1:8443: connect: connection refused IPv6 dial tcp6: address localhost: no suitable address found
error: lost connection to pod
Traceback (most recent call last):
File “/snap/microk8s/7180/scripts/wrappers/dashboard_proxy.py”, line 111, in
dashboard_proxy()
File “/snap/microk8s/7180/usr/lib/python3/dist-packages/click/core.py”, line 764, in call
return self.main(*args, **kwargs)
File “/snap/microk8s/7180/usr/lib/python3/dist-packages/click/core.py”, line 717, in main
rv = self.invoke(ctx)
File “/snap/microk8s/7180/usr/lib/python3/dist-packages/click/core.py”, line 956, in invoke
return ctx.invoke(self.callback, **ctx.params)
File “/snap/microk8s/7180/usr/lib/python3/dist-packages/click/core.py”, line 555, in invoke
return callback(*args, **kwargs)
File “/snap/microk8s/7180/scripts/wrappers/dashboard_proxy.py”, line 105, in dashboard_proxy
check_output(command)
File “/snap/microk8s/7180/usr/lib/python3.8/subprocess.py”, line 415, in check_output
return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
File “/snap/microk8s/7180/usr/lib/python3.8/subprocess.py”, line 516, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command ‘[’/snap/microk8s/7180/microk8s-kubectl.wrapper’, ‘port-forward’, ‘-n’, ‘kube-system’, ‘service/kubernetes-dashboard’, ‘10443:443’, ‘–address’, ‘0.0.0.0’]’ returned non-zero exit status 1