A deployment provides declarative updates for Pods and ReplicaSets.
kubectl create deployment nginx --image=nginx
Scale deployments to increase or decrease the number of replicas.
kubectl scale deployment nginx --replicas=5
Rolling updates update Pods incrementally with zero downtime.
kubectl set image deployment/nginx nginx=nginx:1.16.1
You can rollback to a previous revision of a deployment.
kubectl rollout undo deployment/nginx
Welcome to our comprehensive collection of programming language cheatsheets! Whether you're a seasoned developer or a beginner, these quick reference guides provide essential tips and key information for all major languages. They focus on core concepts, commands, and functions—designed to enhance your efficiency and productivity.
ManageEngine Site24x7, a leading IT monitoring and observability platform, is committed to equipping developers and IT professionals with the tools and insights needed to excel in their fields.
Monitor your IT infrastructure effortlessly with Site24x7 and get comprehensive insights and ensure smooth operations with 24/7 monitoring.
Sign up now!