CheatSnip

Related

Describe Deployment

kubernetes

Show detailed information about a specific deployment, including events and replica status.

Scale Deployment

kubernetes

Adjust the number of pod replicas in a deployment.

Delete Deployment

kubernetes

Remove a deployment and all its managed pods.

kubernetes/rollout-undo

Rollback Deployment

Rollback to previous deployment revision

deployments
rollback

Command

kubectl rollout undo deployment <name>

Explanation

Reverts deployment to last working state.

Examples

Rollback rollout

kubectl rollout undo deployment nginx-deploy

More

Rolling Update

kubernetes

Perform rolling update of deployment

Rollout Status

kubernetes

Check rollout status of deployment

Get Deployments

kubernetes

List all deployments in the current namespace.

CheatSnip

Lightning-fast access to essential developer commands and code snippets. Search, copy, and master your favorite tools with our comprehensive cheat sheets.

Poorna Prakash

Quick Links

Git CommandsDockerNPMKubernetesYour Favorites

Legal

Terms & ConditionsPrivacy PolicyCookie Preferences

Company

About UsContact

© 2025 CheatSnip. All rights reserved.

Made with ❤️ for developers