Loading video player...
In this CKA practice problem, we deploy a Kubernetes application and learn how to control rollout history using revision limits. We will: Create a Deployment web-app with nginx:1.21 and 3 replicas Configure the Deployment to keep only the last 5 revisions Perform more that 5 updates updates (nginx:1.22 ā nginx:1.31) Verify that Kubernetes automatically cleans up old revisions š§ Commands covered kubectl create deployment web-app --image=nginx:1.21 --replicas=3 kubectl edit deployment web-app kubectl set image deployment/web-app nginx=nginx:version kubectl rollout history deployment web-app