This document provides a list of common Kubectl commands for interacting with and managing Kubernetes clusters, namespaces, pods, deployments, nodes, services and more. It includes commands for getting, describing, creating, exposing, applying, replacing, rolling back, and deleting Kubernetes objects as well as commands for configuring contexts and credentials. Additional commands are included for troubleshooting, networking, security, snapshots, and more.
This document provides a list of common Kubectl commands for interacting with and managing Kubernetes clusters, namespaces, pods, deployments, nodes, services and more. It includes commands for getting, describing, creating, exposing, applying, replacing, rolling back, and deleting Kubernetes objects as well as commands for configuring contexts and credentials. Additional commands are included for troubleshooting, networking, security, snapshots, and more.
This document provides a list of common Kubectl commands for interacting with and managing Kubernetes clusters, namespaces, pods, deployments, nodes, services and more. It includes commands for getting, describing, creating, exposing, applying, replacing, rolling back, and deleting Kubernetes objects as well as commands for configuring contexts and credentials. Additional commands are included for troubleshooting, networking, security, snapshots, and more.
This document provides a list of common Kubectl commands for interacting with and managing Kubernetes clusters, namespaces, pods, deployments, nodes, services and more. It includes commands for getting, describing, creating, exposing, applying, replacing, rolling back, and deleting Kubernetes objects as well as commands for configuring contexts and credentials. Additional commands are included for troubleshooting, networking, security, snapshots, and more.
Download as ODT, PDF, TXT or read online from Scribd
Download as odt, pdf, or txt
You are on page 1of 3
1 Kubectl get pods
2 Kubectl get pods -o wide
3 Kubectl get nodes 4 Kubectl get nodes -o wide 5 Kubectl get pods --show-labels 6 Kubectl get pods -l=labelkey:labelvalue 7 Kubectl get pods --selector=labelkey:labelvalue 8 Kubectl get replicasets or rs 9 Kubectl get pods -A 10 Kubectl get all 11 Kubectl get deployments 12 Kubectl get services or svc 13 Kubectl get namespaces 14 Kubectl get pods -n namespace name or --namespace 15 Kubectl create namespace names