반응형
Q1. 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.
답: v1.25.0
Q2. How many nodes are part of this cluster?
답: 2
Q3. How many nodes can host workloads in this cluster?
답: 2
Q4. How many applications are hosted on the cluster?
답: 1
Q5. What nodes are the pods hosted on?
답: controlplane, node01
Q6. You are tasked to upgrade the cluster. Users accessing the applications must not be impacted, and you cannot provision new VMs. What strategy would you use to upgrade the cluster?
답: Upgrade one node at a time while moving the workloads to the other.
Q7. What is the latest stable version of Kubernetes as of today?
답: 1.26.0
Q8. What is the latest version available for an upgrade with the current version of the kubeadm tool installed?
답: 1.25.5
Q9. We will be upgrading the controlplane node first. Drain the controlplane node of workloads and mark it UnSchedulable
Q10. Upgrade the controlplane components to exact version v1.26.0
문서 참고: https://v1-25.docs.kubernetes.io/docs/tasks/administer-cluster/kubeadm/kubeadm-upgrade/
Q11. Mark the controlplane node as "Schedulable" again
Q12. Next is the worker node. Drain the worker node of the workloads and mark it UnSchedulable
Q13. Upgrade the worker node to the exact version v1.26.0
(다시해보기)
Q14. Remove the restriction and mark the worker node as schedulable again.
반응형
'MLOps > Doker & Kubernetes' 카테고리의 다른 글
Udemy CKA 강의 정리 130: Working with ETCDCTL (0) | 2023.01.16 |
---|---|
Udemy CKA 강의 정리 129: Backup and Restore Methods (0) | 2023.01.16 |
Udemy CKA 강의 정리 127: Practice Test - Cluster Upgrade (0) | 2023.01.14 |
Udemy CKA 강의 정리 126: Demo - Cluster Upgrade (0) | 2023.01.14 |
Udemy CKA 강의 정리 125: Cluster Upgrade Process (0) | 2023.01.13 |
댓글