CheatSnip

Related

Delete Namespace

kubernetes

Remove a namespace

Create ConfigMap

kubernetes

Create ConfigMap from file or literal

Delete All in Namespace

kubernetes

Remove all resources of type

kubernetes/create-namespace

Create Namespace

Create a new namespace

namespaces
management

Command

kubectl create namespace <name>

Explanation

Creates an isolated namespace for resources.

Examples

Create "dev" namespace

kubectl create namespace dev

More

Delete Pod

kubernetes

Delete a pod from the cluster.

Scale Deployment

kubernetes

Adjust the number of pod replicas in a deployment.

Delete Deployment

kubernetes

Remove a deployment and all its managed pods.

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