Key Concepts
Deployment
ReplicaSet
Rolling Update
Scaling
Required Permissions
Deployment Status Values
Replica Metrics
How to View Deployments
Select Cluster
Select Namespace
Filter and Search
How to View Deployment Details
Find the Deployment
Click Deployment Name
Review Details
- Replica status and pod distribution
- Container specifications
- Update strategy configuration
- Labels, annotations, and selectors
- Conditions and events
How to Scale a Deployment
Find the Deployment
Open Actions Menu
Click Scale
Set Replica Count
Apply
How to Restart a Deployment
Restart triggers a rolling restart of all pods without changing the deployment spec.Find the Deployment
Open Actions Menu
Click Restart
Monitor
kubectl.kubernetes.io/restartedAt annotation to trigger the update.How to Create a Deployment
Click Create Deployment
Write YAML
Select Namespace
Create
How to Edit a Deployment
Open Actions Menu
Click Edit YAML
Modify Spec
- Container image (triggers rolling update)
- Resource requests/limits
- Environment variables
- Replica count
Save
How to Delete a Deployment
Open Actions Menu
Click Delete
Confirm
- Deletes the deployment, associated ReplicaSets, and all pods (cascade delete)
- Pods are terminated gracefully with default grace period
Update Strategies
Deployments support two update strategies:maxSurge- Maximum pods above desired count during update (default: 25%)maxUnavailable- Maximum unavailable pods during update (default: 25%)
Troubleshooting
Deployment stuck in Progressing
Deployment stuck in Progressing
- Insufficient cluster resources (CPU, memory)
- Image pull failures (check image name and pull secrets)
- Pod scheduling failures (check node affinity, taints)
- Readiness probe never passes
- Check deployment events for specific errors
Pods not becoming ready
Pods not becoming ready
- Readiness probe failing (check probe configuration)
- Application not starting correctly (check container logs)
- Dependencies not available (databases, services)
- Resource limits too restrictive
Rolling update taking too long
Rolling update taking too long
maxUnavailableset too low- Pods taking long to become ready
- PodDisruptionBudget blocking evictions
- Consider adjusting update strategy parameters
Scale operation not taking effect
Scale operation not taking effect
- Check for resource quotas limiting pod count
- Verify sufficient node capacity
- HorizontalPodAutoscaler may be overriding manual scale
- Check deployment events for errors
Restart not replacing pods
Restart not replacing pods
- Deployment must have at least 1 replica
- Check if pods are stuck terminating
- Verify deployment controller is healthy
- Review deployment events
Cannot delete deployment
Cannot delete deployment
- Finalizers may be blocking deletion
- Verify you have delete permission
- Check if namespace is terminating
FAQ
What's the difference between scaling and updating?
What's the difference between scaling and updating?
How does rolling update maintain availability?
How does rolling update maintain availability?
maxSurge and maxUnavailable settings. Traffic continues to flow to ready pods throughout the update.What happens if I scale during an update?
What happens if I scale during an update?
Can I rollback a deployment?
Can I rollback a deployment?
kubectl rollout undo or edit the deployment to restore a previous pod template spec.How do I update without downtime?
How do I update without downtime?
maxSurge and maxUnavailable values. Ensure your application handles graceful shutdown and has proper readiness probes.What's the difference between restart and redeploy?
What's the difference between restart and redeploy?
How do I scale to zero?
How do I scale to zero?