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/rolling-update

Rolling Update

Perform rolling update of deployment

deployments
rolling-update

Command

kubectl rollout restart deployment <name>

Explanation

Gracefully restarts pods in deployment.

Examples

Restart rollout

kubectl rollout restart deployment nginx-deploy

More

Rollout Status

kubernetes

Check rollout status of deployment

Rollback Deployment

kubernetes

Rollback to previous deployment revision

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