전체 글139 [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. [cka] Secrets 1. How many Secrets exist on the system?In the current(default) namespace.controlplane ~ ➜ k get secrets NAME TYPE DATA AGEdashboard-token kubernetes.io/service-account-token 3 2m14s answer : 1 2. How many secrets are defined in the dashboard-token secret?controlplane ~ ➜ k describe secrets dashboard-tokenName: dashboard-tokenNam.. 2024. 7. 5. 이전 1 ··· 6 7 8 9 10 11 12 ··· 28 다음 반응형