Hi,
I installed microk8s as advertized at Install a local Kubernetes with MicroK8s | Ubuntu.
Steps:
sudo snap install microk8s --classic
microk8s enable dashboard dns registry istio
microk8s kubectl port-forward -n kube-system service/kubernetes-dashboard 10443:443
results in
error: error upgrading connection: error dialing backend: dial tcp 172.10.16.12:10250: i/o timeout
(172.10.16.12 is the IP address from my host)
Using
microk8s dashboard-proxy
gives similar results.
Any ideas how to solve this?
Details:
cat /etc/os-release:
NAME=“Ubuntu”
VERSION=“20.04 LTS (Focal Fossa)”
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME=“Ubuntu 20.04 LTS”
VERSION_ID=“20.04”
HOME_URL=“https://www.ubuntu.com/”
SUPPORT_URL=“https://help.ubuntu.com/”
BUG_REPORT_URL=“Bugs : Ubuntu”
PRIVACY_POLICY_URL=“Data privacy | Ubuntu”
VERSION_CODENAME=focal
UBUNTU_CODENAME=focal
uname -a
Linux ubuntu 5.4.0-91-generic #102-Ubuntu SMP Fri Nov 5 16:31:28 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
snap list
Name Version Rev Tracking Publisher Notes
core18 20211028 2253 latest/stable canonical✓ base
microk8s v1.22.4 2695 1.22/stable canonical✓ classic
snapd 2.53.4 14295 latest/stable canonical✓ snapd
microk8s status
microk8s is running
high-availability: no
datastore master nodes: 127.0.0.1:19001
datastore standby nodes: none
addons:
enabled:
dashboard # The Kubernetes dashboard
dns # CoreDNS
ha-cluster # Configure high availability on the current node
istio # Core Istio service mesh services
metrics-server # K8s Metrics Server for API access to service metrics
registry # Private image registry exposed on localhost:32000
storage # Storage class; allocates storage from host directory
disabled: