Kubernetes dashboard: Get https://10.96.0.1:443/version: dial tcp 10.96.0.1:443: i/o timeout
you should define your hostname in /etc/hosts
#hostnameYOUR_HOSTNAME#nano /etc/hostsYOUR_IP HOSTNAME
if you set your hostname in your master but it did not work try
# systemctl stop kubelet# systemctl stop docker# iptables --flush# iptables -tnat --flush# systemctl start kubelet# systemctl start docker
and you should install dashboard before join worker node
and disable your firewall
and you can check your free ram.
Exclude -- node-name parameter from kubeadm init command
try this command
kubeadm init --apiserver-advertise-address=$(hostname -i) --apiserver-cert-extra-sans="192.168.50.10" --pod-network-cidr=192.168.0.0/16
For me the issue was I needed to create a NetworkPolicy that allowed Egress traffic to the kubernetes API