본문 바로가기

Computer Science/Kubernetes(CKA) 자격증 준비

Kubernetes 정리 167: Practice Test - Image Security

Q1. What secret type must we choose for docker registry?

Q2. We have an application running on our cluster. Let us explore it first. What image is the application using?

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

Q4. Are the new PODs created with the new images successfully running?

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

Q6. Configure the deployment to use credentials from the new secret to pull images from the private registry

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.