Flannel CNI Failing to Set-Up Pods With Etcd Unreachable
Problem
- Pods are failing to be scheduled with a warning similar to the following.
- The Flannel container log reveals that the network configuration cannot be fetched as the etcd cluster endpoint is unavailable.
Environment
- Platform9 Managed Kubernetes - All Versions
- Flannel
- Etcd
Cause
TCP Port 4001 is not reachable on the API/etcd endpoint. Flannel will be unable to retrieve its network configuration from etcd.
Resolution
1. Ensure that TCP/4001 is listening and reachable from the workers to the masters.
2. Check for any security group or firewall limitations which may be limiting the connection otherwise.
Additional Information
BareOS – Networking Prerequisites - Network Port Configurations
Was this page helpful?