728x90
Create a new deployment called nginx-deploy, with image nginx:1.16 and 1 replica.
Next upgrade the deployment to version 1.17 using rolling update.
- Image: nginx:1.16
- Task: Upgrade the version of the deployment to 1:17
controlplane ~ ✖ kubectl set image deployment.v1.apps/nginx-deploy nginx=nginx:1.17
Error from server (NotFound): deployments.apps "nginx-deploy" not found
흠 .... 왜 안되지 .... 내일 해보자
https://kubernetes.io/docs/concepts/workloads/controllers/deployment/#updating-a-deployment
728x90
'자격증 > CKA' 카테고리의 다른 글
[CKA] Udemy Lightning Lab (6/7) (0) | 2024.07.29 |
---|---|
[CKA] Udemy Lightning Lab (5/7) (0) | 2024.07.25 |
[CKA] Udemy Lightning Lab (3/7) (0) | 2024.07.24 |
[CKA] Udemy Lightning Lab (2/7) (2) | 2024.07.22 |
[CKA] Udemy Lightning Lab (1/7) (2) | 2024.07.17 |