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.
'Computer Science > Kubernetes(CKA) 자격증 준비' 카테고리의 다른 글
Kubernetes 정리 187: Persistent Volume Claims (0) | 2023.03.07 |
---|---|
Kubernetes 정리 186: Persistent Volumes (0) | 2023.03.06 |
Kubernetes 정리 167: Image Security (0) | 2023.03.03 |
Kubernetes 정리 166: Practice Test Service Accounts (0) | 2023.03.03 |
Kubernetes 정리 165: Service Accounts (0) | 2023.03.03 |