Troubleshooting - ComputeCanada/ahep_interactive_analysis_facility GitHub Wiki
Sometimes after you reboot the master node, connecting to the cluster using kubectl
returns a connection refused error:
>kubectl get pods
the connection to the server <host>:6443 was refused - did you specify the right host or port?
This does not happen if the k8 cluster is built with docker
, but became an issue if containerd
is used as the underlying container technology.
The reason is because kubespray did not configure the default containerd config. As the superuser, do
containerd config default> /etc/containerd/config.toml