If local firewall instances are running on Kubernetes control-plane and worker nodes, add the following policies.
In this step we will cover common Kubernetes ports that need to be opened for cross server communications. For an exhaustive and constantly updated reference, please use the following list published by the Kubernetes developers.
Ensure the following ports are open in between all Kubernetes etcd instances:
- 2379/tcp for client requests; (Kubernetes control plane to etcd)
- 2380/tcp for peer communication; (etcd to etcd communication)
Ensure the following ports are open in between all Kubernetes API server instances:
- 6443/tcp - Kubernetes API server
Ensure the following ports are open in between all Kubernetes worker nodes:
- 10250/tcp - Kubelet API server; (Kubernetes control plane to kubelet)