Port Requirements

Edit

KubeSphere requires certain ports to communicate among services, so you need to make sure the following ports open for use.

ServiceProtocolActionStart PortEnd PortNotes
sshTCPallow22
etcdTCPallow23792380
apiserverTCPallow6443
calicoTCPallow90999100
bgpTCPallow179
nodeportTCPallow3000032767
masterTCPallow1025010258
dnsTCPallow53
dnsUDPallow53
local-registryTCPallow5000Required for air gapped environment
local-aptTCPallow5080Required for air gapped environment
rpcbindTCPallow111When using NFS as storage server
ipipIPIPallowCalico network requires ipip protocol

Note

Please note when you use Calico network plugin and run your cluster in classic network in cloud environment, you need to open IPIP protocol for souce IP. For instance, the following is the sample on QingCloud showing how to open IPIP protocol.

Port Requirements - 图1