CheatSnip

Related

Get Contexts

kubernetes

List available contexts

View kubeconfig

kubernetes

Show merged kubeconfig settings

Get Pods

kubernetes

List all pods in current namespace.

kubernetes/set-context

Set Context

Set current context

config
context

Command

kubectl config use-context <context-name>

Explanation

Switches cluster/context configuration.

Examples

Switch to minikube

kubectl config use-context minikube

More

Get Deployments

kubernetes

List all deployments in the current namespace.

Describe Pod

kubernetes

Show detailed information about a pod.

Delete Pod

kubernetes

Delete a pod from the cluster.

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