Kubernetes Note
  • Kubernetes Note
  • Getting Started with Kubernetes
  • Kubernetes Installation Step By Step
  • Ports and Protocols
Powered by GitBook
On this page
  • Control plane
  • Worker node(s)

Ports and Protocols

When running Kubernetes in an environment with strict network boundaries, such as on-premises datacenter with physical network firewalls or Virtual Networks in Public Cloud, it is useful to be aware of the ports and protocols used by Kubernetes components.

Control plane

Protocol
Direction
Port Range
Purpose
Used By

TCP

Inbound

6443

Kubernetes API server

All

TCP

Inbound

2379-2380

etcd server client API

kube-apiserver, etcd

TCP

Inbound

10250

Kubelet API

Self, Control plane

TCP

Inbound

10259

kube-scheduler

Self

TCP

Inbound

10257

kube-controller-manager

Self

Although etcd ports are included in control plane section, you can also host your own etcd cluster externally or on custom ports.

Worker node(s)

Protocol
Direction
Port Range
Purpose
Used By

TCP

Inbound

10250

Kubelet API

Self, Control plane

TCP

Inbound

10256

kube-proxy

Self, Load balancers

TCP

Inbound

30000-32767

NodePort Services†

All

PreviousKubernetes Installation Step By Step

Last updated 1 year ago