ホームに戻る
Kubernetes Commands Helper
Categories
Select a category to view kubectl commands
Basic Commands
Click on any command to copy it to clipboard
Cluster Info
Show cluster information
kubectl cluster-info
Example: kubectl cluster-info
Get Nodes
List all nodes in cluster
kubectl get nodes
Example: kubectl get nodes -o wide
Get All Resources
List all resources in namespace
kubectl get all
Example: kubectl get all -n kube-system
Set Context
Switch between clusters/contexts
kubectl config use-context context-name
Example: kubectl config use-context minikube
Get Namespaces
List all namespaces
kubectl get namespaces
Example: kubectl get ns