전체 글135 [cka] Backup and Restore Methods 1. We have a working Kubernetes cluster with a set of web applications running. Let us first explore the setup.How many deployments exist in the cluster in default namespace? controlplane ~ ➜ k get deployments.apps NAME READY UP-TO-DATE AVAILABLE AGEblue 3/3 3 3 77sred 2/2 2 2 77s answer : 2 2. What is the version of ETCD running on.. 2024. 7. 12. [cka] 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?controlplane ~ ➜ k describe pod kube-controller-manager-controlplane -n kube-system...Events: Type Reason Age From Message ---- ------ ---- ---- ------- Normal Pulled .. 2024. 7. 11. [cka] OS Upgrades 1. Let us explore the environment first. How many nodes do you see in the cluster?Including the controlplane and worker nodes. controlplane ~ ➜ k get nodesNAME STATUS ROLES AGE VERSIONcontrolplane Ready control-plane 8m43s v1.30.0node01 Ready 7m55s v1.30.0 answer : 2 2. How many applications do you see hosted on the cluster?Check the num.. 2024. 7. 10. [cka] Init Containers 1. Identify the pod that has an initContainer configured. controlplane ~ ➜ k describe pod...ame: blueNamespace: defaultPriority: 0Service Account: defaultNode: controlplane/192.30.130.9Start Time: Fri, 05 Jul 2024 14:53:30 +0000Labels: Annotations: Status: RunningIP: 10.42.0.11IPs: IP: 10.42.0.11Init Containe.. 2024. 7. 6. [cka] Multi Container PODs 1. Identify the number of containers created in the red pod. controlplane ~ ➜ k get podsNAME READY STATUS RESTARTS AGEapp 0/1 ContainerCreating 0 32sfluent-ui 0/1 ContainerCreating 0 32sred 0/3 ContainerCreating 0 20s answer : 3 2. Identify the name of the containers running in the blue pod. controlplane ~ ➜ .. 2024. 7. 5. 이전 1 ··· 5 6 7 8 9 10 11 ··· 27 다음 반응형