CheatSnip

Related

Get Pods

kubernetes

List all pods in current namespace.

Get Nodes

kubernetes

List all nodes in the Kubernetes cluster.

Get Deployments

kubernetes

List all deployments in the current namespace.

kubernetes/get-namespaces

Get Namespaces

List all namespaces

namespaces
monitoring

Command

kubectl get namespaces

Explanation

Lists all active namespaces in the cluster.

Examples

Show all namespaces

kubectl get namespaces

More

Get Services

kubernetes

List services in namespace

Get ConfigMaps

kubernetes

List ConfigMaps

Get Secrets

kubernetes

List Secrets

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