Networking Flashcards
What linux command will show you the ports that a service is listening on?
netstat -nplt
What linux command shows the connections to a port?
netstat -anp | grep etcd
What is the default port for the kube-api service?
6443
What is the default port for the kube-scheduler?
10259
What is the default port for the kube-controller-manager?
10257
What is the default port for the etcd server?
2379
What is the default port for the etcd server communications on multiple master nodes?
2380
What port does the kubelet listen to on each node?
10250
What port do the workder nodes listen to for services?
30000-32767
What service configures the CNI?
kubelet
What is the linux command to check the kubelet config?
ps -aux | grep kubelet
How would you check for CNI plugins?
ps -aux | grep kubelet
ls <path></path>
How would you check the CNI config?
ls /etc/cni/net.d
What path does CNI store it’s plugins?
/opt/cni/bin
What is the directory where CoreDNS stores it’s config file?
/etc/coredns/Corefile