본문 바로가기

분류 전체보기

(345)
WeaveWorks (CNI) Deploy Weave kubectl apply -f "https://cloud.weave.works/k8s/net?k8s-version=${kubectl version | base64 | tr -d '\n')" Weave Peers kubectl get pods -n kube-system kubectl logs weave-net-5gcmb weave -n kube-system
CNI in Kubernetes Pre-Requisites - Network Namespaces in Linux - Networking in Docker - Why and what is Container Network Interface (CNI)? - CNI Plugins Container Network Interface - Container Runtime must create network namespace - Identify network the container must attach to - Container Runtime to invoke Network Plugin (bridge) when container is ADDed - Container Runtime to invoke Network Plugin (bridge) when ..
Pod Networking
Practice Test - Explore Kubernetes Environments ㅁ How many nodes are part of this cluster? kubectl get nodes ㅁ What is the network interface configured for cluster connectivity on the master node? notde-to-node communication $ cat /etc/network/interfaces [ens3] Hint - Run the ip link command and identify the interface ip link 1: lo: mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000 link/loopback 00:00:00:00:00:00 brd ..
Cluster Networking Check required ports Master Node(s) 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 10251 kube-scheduler Self TCP Inbound 10252 kube-controller-manager Self Worker Node Protocol Direction Port Range Purpose Used By TCP Inbound 10..
CNI (Container Network Interface)
Docker Networking
Network Namespace FAQ While testing the Network Namespaces, if you come across issues where you can't ping one namespace from the other, make sure you set the NETMASK while setting IP Address. ie: 192.168.1.10/24 ip -n red addr add 192.168.1.10/24 dev veth-red Another thing to check is FirewallD/IP Table rules. Either add rules to IP Tables to allow traffic from one namespace to another. Or disable IP Tables all ..