New Kubernetes cluster setup Calico: "Failed to stat() nodename file: stat /var/lib/calico/nodename: no such file or directory"
It might be because you Calico's default POD CIDR conflicting with Host CIDR. Just got that impression from your --apiserver-advertise-address=192.168.178.33
. If that is the case, worth trying out with a different POD CIDR --pod-network-cidr=20.96.0.0/12
with kubeadm init
For a clean installation again, better do a kubeadm reset
before the above changes. Please be aware of the kubeadm reset
command impacts, before executing (Read here)
Reference - https://stackoverflow.com/questions/60742165/kubernetes-calico-replicaset