Skip to content
This repository was archived by the owner on Jul 30, 2021. It is now read-only.

Commit 10bfea5

Browse files
authored
Update flannel vxlan port to 4789 (#982)
* Update flannel vxlan port to 4789 The IANA port assignment for flannel is 4789, so change from the Linux default of 8472 so that it works nicely with tools like Wireshark. https://www.iana.org/assignments/service-names-port-numbers/service-names-port-numbers.xhtml?search=4789 * fix indentation and add comma
1 parent 8eca799 commit 10bfea5

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

Documentation/network-requirements.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ The information below describes a minimum set of port allocations used by Kubern
88

99
| Protocol | Port Range | Source | Purpose |
1010
-----------|------------|-------------------------------------------|------------------------|
11-
| TCP | 6443 | Worker Nodes, API Requests, and End-Users | Kubernetes API server. |
12-
| UDP | 8472 | Master & Worker Nodes | flannel overlay network - *vxlan backend* |
11+
| TCP | 443 | Worker Nodes, API Requests, and End-Users | Kubernetes API server. |
12+
| UDP | 4789 | Master & Worker Nodes | flannel overlay network - *vxlan backend* |
1313

1414
### etcd node(s) ingress
1515

@@ -22,7 +22,7 @@ The information below describes a minimum set of port allocations used by Kubern
2222
| Protocol | Port Range | Source | Purpose |
2323
-----------|-------------|--------------------------------|------------------------------------------------------------------------|
2424
| TCP | 4194 | Master & Worker Nodes | The port of the localhost cAdvisor endpoint |
25-
| UDP | 8472 | Master & Worker Nodes | flannel overlay network - *vxlan backend* |
25+
| UDP | 4789 | Master & Worker Nodes | flannel overlay network - *vxlan backend* |
2626
| TCP | 10250 | Master Nodes | Worker node Kubelet API for exec and logs. |
2727
| TCP | 10255 | Master & Worker Nodes | Worker node read-only Kubelet API (Heapster). |
2828
| TCP | 30000-32767 | External Application Consumers | Default port range for [external service][https://kubernetes.io/docs/concepts/services-networking/service] ports. Typically, these ports would need to be exposed to external load-balancers, or other external consumers of the application itself. |

pkg/asset/internal/templates.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1011,7 +1011,8 @@ data:
10111011
{
10121012
"Network": "{{ .PodCIDR }}",
10131013
"Backend": {
1014-
"Type": "vxlan"
1014+
"Type": "vxlan",
1015+
"Port": 4789
10151016
}
10161017
}
10171018
`)

0 commit comments

Comments
 (0)