본문 바로가기

cloud111

[cka] kodekloud-Backup and Restore 1.We have a working kubernetes cluster with a set of applications running. Let us first explore the setup. How many deployments exist in the cluster? k get deployments A) 2 2.What is the version of ETCD running on the cluster? Check the ETCD Pod or Process k get pods etcd-controlplane -n kube-system k get pods -n kube-system k get pods etcd-controlplane -n kube-system k describe pods etcd-contro.. 2022. 6. 22.
[cka]kodekloud-cluster upgrade process 1.This lab tests your skills on upgrading a kubernetes cluster. We have a production cluster with applications running on it. Let us explore the setup first. What is the current version of the cluster? A) v 1.19.0 2.How many nodes are part of this cluster? Including master and worker nodes # k get nodes A)2 3.How many nodes can host workloads in this cluster? Inspect the applications and taints .. 2022. 6. 22.
[cka]kodekloud-os UPgrade 1.Let us explore the environment first. How many nodes do you see in the cluster? Including the controlplane and worker nodes. # k get nodes A) 2 2. How many nodes are part of this cluster? Including master and worker nodes # k get nodes A) 1 3. Which nodes are the applications hosted on? # k get nodes -o wide A) controlplane, node01 3-1.How many nodes can host workloads in this cluster? Inspect.. 2022. 6. 21.
[cka]kodekloud-upgrades ( 조금 더 공부 필요) 1.Let us explore the environment first. How many nodes do you see in the cluster? Including the controlplane and worker nodes. # k get nodes A)2 2.How many applications do you see hosted on the cluster? Check the number of deployments. # k get deployments.app # k describe deployments.app A) 1 3.Which nodes are the applications hosted on? # k get pods -o wide A) controplane, node01 4. We need to .. 2022. 6. 17.
[cka]kodekloud-initContainer 1. Identify the pod that has an initContainer configured. # k get pods # k describe pod : 상위 명령어를 검색하면 컨테이너에 대한 모든 정보를 확인 할 수 있음 : 정답은 3중에 하나일 것이고, : 상위 명령어 검색시 red와 green 의 컨테이너는 확인 되지만 blue 는 확인 되지 않음. A) blue 2. What is the image used by the initContainer on the blue pod? # k describe pod blue A) busybox 3. What is the state of the initContainer on pod blue # k describe pod blue A) Running 4... 2022. 6. 17.
[cka] kodekloud-Multi Container PODS 1. Identify the number of containers created in the red pod. # k get pods A) 3 2.Identify the name of the containers running in the blue pod. # k describe pods blue A) teal & navy 3. Create a multi-container pod with 2 containers. Use the spec given below. If the pod goes into the crashloopbackoff then add the command sleep 1000 in the lemon container. Name: yellow Container 1 Name: lemon Contai.. 2022. 6. 16.