From 09b2b8613786bdcfc3bf074246db70cd9803c405 Mon Sep 17 00:00:00 2001 From: Jamie Hannaford Date: Fri, 16 Jun 2017 13:22:51 +0200 Subject: [PATCH] Document kubeadm ports --- docs/setup/independent/install-kubeadm.md | 33 +++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/docs/setup/independent/install-kubeadm.md b/docs/setup/independent/install-kubeadm.md index 9b38cc7b75..3ccec19cb0 100644 --- a/docs/setup/independent/install-kubeadm.md +++ b/docs/setup/independent/install-kubeadm.md @@ -14,11 +14,44 @@ This page shows how to use install kubeadm. * 1GB or more of RAM per machine (any less will leave little room for your apps) * Full network connectivity between all machines in the cluster (public or private network is fine) * Unique MAC address and product_uuid for every node +* Certain ports are open on your machines. See the section below for more details {% endcapture %} {% capture steps %} +## Check required ports + +### Master node(s) + +| Port Range | Purpose | +|------------|---------------------------------| +| 6443* | Kubernetes API server | +| 2379-2380 | etcd server client API | +| 10250 | Kubelet API | +| 10251 | kube-scheduler | +| 10252 | kube-controller-manager | +| 10255 | Read-only Kubelet API (Heapster)| + +### Worker node(s) + +| Port Range | Purpose | +|-------------|---------------------------------| +| 10250 | Kubelet API | +| 10255 | Read-only Kubelet API (Heapster)| +| 30000-32767 | Default port range for [NodePort Services](/docs/concepts/services-networking/service). Typically, these ports would need to be exposed to external load-balancers, or other external consumers of the application itself. | + +Any port numbers marked with * are overridable, so you will need to ensure any +custom ports you provide are also open. + +Although etcd ports are included in master nodes, you can also host your own +etcd cluster externally on custom ports. + +The pod network plugin you use (see below) may also require certain ports to be +open. Since this differs with each pod network plugin, please see the +documentation for the plugins about what port(s) those need. + + ## Installing Docker On each of your machines, install Docker.