반응형
해당 내용은 Udemy의 Certified Kubernetes Administrator (CKA) with Practice Tests 강의를 공부한 내용입니다. 내용을 그대로 번역하기보다는, 제가 이해하기 쉬운 대로 수정한 부분들이 있습니다.
⚠️ 영어 독해가 많이 부족합니다. 틀린 내용이 있으면 알려주시면 감사하겠습니다.
Q1. What secret type must we choose for docker registry?
답: docker-registry
Q2. We have an application running on our cluster. Let us explore it first. What image is the application using?
답: nginx:alpine
Q3. We decided to use a modified version of the application from an internal private registry. Update the image of the deployment to use a new image from myprivateregistry.com:5000
k edit deployments.apps web
Q4. Are the new PODs created with the new images successfully running?
답: No
Q5. Create a secret object with the credentials required to access the registry.
Name: private-reg-cred
Username: dock_user
Password: dock_password
Server: myprivateregistry.com:5000
Email: dock_user@myprivateregistry.com
Q6. Configure the deployment to use credentials from the new secret to pull images from the private registry
k edit deployments.apps web
Q7. Check the status of PODs. Wait for them to be running. You have now successfully configured a Deployment to pull images from the private registry.
반응형
'MLOps > Doker & Kubernetes' 카테고리의 다른 글
Udemy CKA 강의 정리 173: Solution - Security Contexts (0) | 2023.01.19 |
---|---|
Udemy CKA 강의 정리 172: Practice Test - Security Contexts (0) | 2023.01.19 |
Udemy CKA 강의 정리 168: Practice Test - Image Security (0) | 2023.01.19 |
Udemy CKA 강의 정리 171: Security Contexts (0) | 2023.01.19 |
Udemy CKA 강의 정리 170: Pre-requisite - Security in Docker (0) | 2023.01.19 |
댓글