분류 전체보기 (345) 썸네일형 리스트형 How kubernetes implement DNS Cluster DNS Pre-Requisite - What is DNS? - Host/NS lookup, Dig utility - Recorded Types - A, CNAME - Domain Name Hierachy Objectives - What names are assgned to what objects? - Service DNS records - POD DNS Records Practice Test Service Networking ㅁ What network range are the nodes in the cluster part of? kubectl get nodes -o wide ip addr [172.17.0.0/16] ㅁ What is the range of IP addresses configure for PODs on this cluster? kubectl logs weave -n kube-system kubectl get pods -n kube-system NAME READY STATUS RESTARTS AGE coredns-f9fd979d6-8fl54 1/1 Running 0 8m12s coredns-f9fd979d6-ftp82 1/1 Running 2 8m29s etcd-controlplane 1/1 Running 0 .. Service Networking Practice Test - Networking Weave ㅁ How many Nodes are part of this cluster? (Including master and worker nodes) $ kubectl get nodes NAME STATUS ROLES AGE VERSION controlplane Ready master 3m33s v1.19.0 node01 Ready 3m3s v1.19.0 node02 Ready 3m4s v1.19.0 node03 Ready 3m3s v1.19.0 ㅁ What is the Networking Solution used by the cluster? $ ls /etc/cni/net.d 10-weave.conflist ㅁ How many weave agents/peers are deployed in this cluster.. IPAM-IP Address Manager (CNI) Practice Test - Deploy Network Solution ㅁ In this practice test we will install weave-net POD networking solution to the cluster. Let us first inspect the setup. We have deployed an application called app in the default namespace. what is the state of the pd? [NOT RUNNING] $ kubectl get pod NAME READY STATUS RESTARTS AGE app 0/1 ContainerCreating 0 2m15s ㅁ Inpect why the POD is not running [Wrong image] [Faulty start command] [Node fa.. Practice Test - Explore CNI weave ㅁ Inspect the kubelet service and identify the newok plugin configured for Kubernetes. Run ps -aux | grep kubelet command [DOCKER] [CNI] ETHERNET] [CGROUPFS] [CISCO] ps -aux | grep kubelet | grep network-plugin root 14259 3.3 4.7 1856680 97384 ? Ssl 02:10 0:06 /usr/bin/kubelet --bootstrap-kubeconfig=/etc/kubernetes/bootstrap-kubelet.conf --kubeconfig=/etc/kubernetes/kubele.conf --config=/var/lib.. 이전 1 ··· 11 12 13 14 15 16 17 ··· 44 다음