If the infrastructure where Deckhouse Kubernetes Platform (DKP) is running has requirements to limit host-to-host network communications, the following conditions must be met:
- Tunneling mode for traffic between pods is enabled (configuration for CNI Cilium, configuration for CNI Flannel).
- Traffic between podSubnetCIDR encapsulated within a VXLAN is allowed (if inspection and filtering of traffic within a VXLAN tunnel is performed).
- If there is integration with external systems (e.g. LDAP, SMTP or other external APIs), it is required to allow network communication with them.
- Local network communication is fully allowed within each individual cluster node.
- Inter-node communication is allowed on the ports shown in the tables on the current page. Note that most ports are in the 4200-4299 range. When new platform components are added, they will be assigned ports from this range (if it is possible).
Changes related to the addition, removal, or reassignment of ports in the tables are listed in the “Network” section of a respective DKP version on the Release notes page.
Traffic between master nodes
Port | Protocol | Purpose |
---|---|---|
2379, 2380 |
TCP | etcd replication |
4200 |
TCP | Cluster API webhook handler |
4201 |
TCP | Webhook handler for VMware Cloud Director cloud provider |
4223 |
TCP | Deckhouse controller webhook handler |
Traffic from master nodes to regular nodes
Port | Protocol | Purpose |
---|---|---|
22 |
TCP | SSH for static node bootstrapping by the static provider |
10250 |
TCP | kubelet |
4221 |
TCP |
|
4227 |
TCP |
|
Traffic from nodes to master nodes
Port | Protocol | Purpose |
---|---|---|
4234 |
UDP | NTP for time synchronization between nodes |
6443 |
TCP |
|
4203 |
TCP |
|
4219 |
TCP | Proxy for registry packages |
4222 |
TCP | Deckhouse controller metrics |
Traffic between nodes
Port | Protocol | Purpose |
---|---|---|
— | ICMP | ICMP for node-to-node connectivity monitoring |
4202 |
TCP |
|
4204 |
TCP | Deckhouse controller debug |
4205 |
TCP |
|
4206 |
TCP |
|
4207 |
TCP |
|
4208 |
TCP |
|
4209 |
TCP | Kubernetes control plane metrics |
4210 |
TCP |
|
4211 |
TCP | Cluster API metrics |
4212 |
TCP |
|
4213 |
TCP |
|
4214 |
TCP | API of the |
4215 |
TCP |
|
4218 |
TCP/UDP | Synchronization of the |
4220 |
TCP | Metrics of the |
4224 |
TCP |
|
4225 |
TCP/UDP | Synchronization of the |
4226 |
TCP | Metrics of the |
4229 |
TCP |
|
4230 |
TCP |
|
4231 |
TCP |
|
4232 |
TCP |
|
4235 |
TCP |
|
4236 |
TCP |
|
4237 |
TCP |
|
4238 |
TCP |
|
4240 |
TCP | CNI Cilium node-to-node healthcheck |
4241 |
TCP | CNI Cilium agent metrics |
4242 |
TCP | CNI Cilium operator metrics |
4244 |
TCP |
|
4245 |
TCP |
|
4246 |
TCP |
|
4247 |
TCP |
|
4248 |
TCP |
|
4249 |
TCP |
|
4250 |
TCP |
|
4251 |
TCP |
|
4252 |
TCP |
|
4253 |
TCP |
|
4254 |
TCP |
|
4255 |
TCP |
|
4256 |
TCP |
|
4257 |
TCP |
|
4258 |
TCP |
|
4259 |
TCP |
|
4260 |
TCP |
|
4261 |
TCP |
|
4262 |
TCP |
|
4263 |
TCP |
|
4269 |
TCP |
|
4270 |
TCP |
|
4286 |
TCP | Istio CNI metrics |
4287 |
UDP | WireGuard port for traffic encryption in CNI Cilium |
4288 |
TCP |
|
4289 |
TCP |
|
4295‑4297 |
UDP | Used by the |
4298 |
UDP | Used by the |
4299 |
UDP | For clusters deployed on DKP versions 1.64–1.70. Used by the Note that in such clusters, enabling the |
7000‑7999 |
TCP |
|
8469 |
UDP | For clusters deployed on DKP version 1.63 and below with the |
8472 |
UDP | For clusters deployed on DKP version 1.63 and below. Used by the Note that in such clusters, enabling the
|
External traffic to master nodes
Port | Protocol | Purpose |
---|---|---|
22 |
TCP | SSH for initializing Deckhouse Kubernetes Platform |
6443 |
TCP | Direct access to the apiserver |
External traffic to frontend nodes
Port | Protocol | Purpose |
---|---|---|
80, 443 |
TCP | Application ports for requests to Ingress controllers over HTTP and HTTPS. Note that these ports are configurable in the IngressNginxController resource and may vary across installations |
5416 |
UDP | OpenVPN |
5416 |
TCP | OpenVPN |
10256 |
TCP | Healthcheck port for external balancers |
30000-32767 |
TCP | NodePort range |
External traffic for all nodes
Port | Protocol | Purpose |
---|---|---|
53 |
UDP | DNS |
53 |
TCP | DNS |
123 |
UDP | NTP for synchronization with external time servers |
443 |
TCP | Container registry |