Scaling and Updating Deployments
Learn how to scale your deployments and perform rolling updates.
1 min read
📈 Step 6: Scaling and Updating Deployments
After deploying your first workload, it's important to know how to scale and update your applications smoothly.
🔧 Scaling a Deployment
To scale your deployment to 3 replicas, run:
bash
Check the updated pods:
bash
🚀 Rolling Updates
Update your deployment's image to a newer version:
bash
Monitor the rollout status:
bash
⏪ Rollback if Needed
If an update causes issues, rollback to the previous version:
bash
🧹 Clean Up
To delete your deployment and service:
bash
⏭ Next Steps
Explore advanced topics like:
- Persistent storage
- Secrets management
- Monitoring
- Advanced networking
- Resource limits and requests