IT 기술/k8s59 [cka] CoreDNS in Kubernetes 1. Identify the DNS solution implemented in this cluster.controlplane ~ ✖ kubectl get pods -n kube-system NAME READY STATUS RESTARTS AGEcoredns-768b85b76f-4h4xf 1/1 Running 0 2m15scoredns-768b85b76f-rcj77 1/1 Running 0 2m15setcd-controlplane 1/1 Running 0 2m30sku.. 2024. 8. 10. [cka] Service Networking 1. What network range are the nodes in the cluster part of? controlplane ~ ➜ ip a | grep eth013520: eth0@if13521: mtu 1450 qdisc noqueue state UP group default inet 192.28.23.6/24 brd 192.28.23.255 scope global eth0controlplane ~ ➜ ipcalc -b 10.33.39.8Address: 10.33.39.8 Netmask: 255.255.255.0 = 24 Wildcard: 0.0.0.255 =>Network: 10.33.39.0/24 HostMin: .. 2024. 8. 9. [cka] Networking Weave 1. How many Nodes are part of this cluster? Including master and worker nodescontrolplane ~ ➜ k get nodesNAME STATUS ROLES AGE VERSIONcontrolplane Ready control-plane 59m v1.30.0node01 Ready 58m v1.30.0 answer : 2 2. What is the Networking Solution used by this cluster?controlplane ~ ➜ ls /etc/cni/net.d/10-weave.conflist answer : weave 3... 2024. 8. 9. [cka] Deploy Network Solution 1. 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 pod? controlplane ~ ➜ k get podsNAME READY STATUS RESTARTS AGEapp 0/1 ContainerCreating 0 76s answer : NotRunning 2. Inspect why the POD is not.. 2024. 8. 9. [cka] CNI 1. Inspect the kubelet service and identify the container runtime endpoint value is set for Kubernetes. ps -ef | grep kubelet | grep runtimeroot 4338 1 0 12:18 ? 00:00:03 /usr/bin/kubelet --bootstrap-kubeconfig=/etc/kubernetes/bootstrap-kubelet.conf --kubeconfig=/etc/kubernetes/kubelet.conf --config=/var/lib/kubelet/config.yaml --container-runtime-endpoint=unix:///var/run/co.. 2024. 8. 9. 이전 1 2 3 4 5 6 ··· 12 다음 반응형