How can I troubleshoot/fix an issue interacting with a running Kubernetes pod (timeout error)? How can I troubleshoot/fix an issue interacting with a running Kubernetes pod (timeout error)? kubernetes kubernetes

How can I troubleshoot/fix an issue interacting with a running Kubernetes pod (timeout error)?


Probably, you didn't install any network add-on to your Kubernetes cluster. It's not included in kubeadm installation, but it's required to communicate between pods scheduled on different nodes. The most popular are Calico and Flannel. As you already have a cluster, you may want to chose the network add-on that uses the same subnet as you stated with kubeadm init --pod-network-cidr=xx.xx.xx.xx/xx during cluster initialization.

  • 192.168.0.0/16 is default for Calico network addon
  • 10.244.0.0/16 is default for Flannel network addon

You can change it by downloading corresponded YAML file and by replacing the default subnet with the subnet you want. Then just apply it with kubectl apply -f filename.yaml