CheatSnip

Related

Create Namespace

kubernetes

Create a new namespace

Delete All in Namespace

kubernetes

Remove all resources of type

Delete Deployment

kubernetes

Remove a deployment and all its managed pods.

kubernetes/delete-namespace

Delete Namespace

Remove a namespace

namespaces
management

Command

kubectl delete namespace <name>

Explanation

Deletes namespace and all contained resources.

Examples

Delete "dev" namespace

kubectl delete namespace dev

More

Delete Service

kubernetes

Remove a service

Delete Pod

kubernetes

Delete a pod from the cluster.

Scale Deployment

kubernetes

Adjust the number of pod replicas in a deployment.

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