MLOps/Doker & Kubernetes

Udemy CKA 강의 정리 173: Solution - Security Contexts

공부하는 무니 2023. 1. 19. 23:06
반응형

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

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


Q1. What is the user used to execute the sleep process within the ubuntu-sleeper pod?

답: root

 

Q2. Edit the pod ubuntu-sleeper to run the sleep process with user ID 1010.

k edit pod ubuntu-sleeper

Q3. A Pod definition file named multi-pod.yaml is given. With what user are the processes in the web container started?

답: 1002

 

Q4. With what user are the processes in the sidecar container started?

답: 1001

Q5. Update pod ubuntu-sleeper to run as Root user and with the SYS_TIME capability.

(다시하기)

k edit pod ubuntu-sleeper

kubectl replace --force -f /tmp/kubectl-edit-3701531927.yaml

Q6. Now update the pod to also make use of the NET_ADMIN capability.

(다시하기)

반응형