본문 바로가기

전체 글139

[cka] Ingress Networking - 1 1. We have deployed Ingress Controller, resources and applications. Explore the setup. Note: They are in different namespaces.  2. Which namespace is the Ingress Controller deployed in?controlplane ~ ➜ k get svc -ANAMESPACE NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGEapp-space default-backend-service Cl.. 2024. 8. 13.
[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.
반응형