Calico Pods Fails to Start Resulting in Failure to Establish Communication Between ETCD Pods on Master Nodes

Problem

  • ETCD pods on Master Nodes fails to establish communication as the network is not configured due to failure to download the Images for Calico from docker registry. Below messages are observed in /var/log/pf9/kubelet/kubelet.INFO.
kubelet.INFO
Copy

Environment

  • Platform9 Managed Kubernetes - All Version
  • HTTP_Proxy

Cause

  • The HTTP Proxy defined by the customer infrastructure is blocking communication with docker registry. This can be confirmed by running the below command.
Sample Output
Copy

Resolution

  1. Whitelist the docker registry in the http_proxy configuration in to enable communication.
Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard