본문 바로가기
MLOps/Doker & Kubernetes

Udemy CKA 강의 정리 132: Solution - Backup and Restore Methods

by 공부하는 무니 2023. 1. 16.
반응형

해당 내용은 Udemy의 Certified Kubernetes Administrator (CKA) with Practice Tests 강의를 공부한 내용입니다. 내용을 그대로 번역하기보다는, 제가 이해하기 쉬운 대로 수정한 부분들이 있습니다.

⚠️ 영어 독해가 많이 부족합니다. 틀린 내용이 있으면 알려주시면 감사하겠습니다.


Q1. 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?

 

답: 2

 

Q2. What is the version of ETCD running on the cluster? Check the ETCD Pod or Process

답: 3.5.6

At what address can you reach the ETCD cluster from the controlplane node? Check the ETCD Service configuration in the ETCD POD

 

Q3. At what address can you reach the ETCD cluster from the controlplane node? Check the ETCD Service configuration in the ETCD POD

답: https://127.0.0.1:2379

Q4. Where is the ETCD server certificate file located? Note this path down as you will need to use it later

답: /etc/kubernetes/pki/etcd/server.crt

Q5. Where is the ETCD CA Certificate file located? Note this path down as you will need to use it later.

답: /etc/kubernetes/pki/etcd/ca.crt

Q6. The master node in our cluster is planned for a regular maintenance reboot tonight. While we do not anticipate anything to go wrong, we are required to take the necessary backups. Take a snapshot of the ETCD database using the built-in snapshot functionality. Store the backup file at location /opt/snapshot-pre-boot.db

(다시 풀기)

Q7. Great! Let us now wait for the maintenance window to finish. Go get some sleep. (Don't go for real)

 

Q8. Wake up! We have a conference call! After the reboot the master nodes came back online, but none of our applications are accessible. Check the status of the applications on the cluster. What's wrong?

답: All of the above

Q9. Luckily we took a backup. Restore the original state of the cluster using the backup file.

(다시 풀기)

 

반응형

댓글