kubectl reference

kubectl alpha Commands for features in alpha
kubectl annotate Update the annotations on a resource
kubectl api-resources Print the supported API resources on the server
kubectl api-versions Print the supported API versions on the server, in the form of "group/version"
kubectl apply Apply a configuration to a resource by file name or stdin
kubectl attach Attach to a running container
kubectl auth Inspect authorization
kubectl autoscale Auto-scale a deployment, replica set, stateful set, or replication controller
kubectl certificate Modify certificate resources
kubectl cluster-info Display cluster information
kubectl completion Output shell completion code for the specified shell (bash, zsh, fish, or powershell)
kubectl config Modify kubeconfig files
kubectl cordon Mark node as unschedulable
kubectl cp Copy files and directories to and from containers
kubectl create Create a resource from a file or from stdin
kubectl debug Create debugging sessions for troubleshooting workloads and nodes
kubectl delete Delete resources by file names, stdin, resources and names, or by resources and label selector
kubectl describe Show details of a specific resource or group of resources
kubectl diff Diff the live version against a would-be applied version
kubectl drain Drain node in preparation for maintenance
kubectl edit Edit a resource on the server
kubectl events List events
kubectl exec Execute a command in a container
kubectl explain Get documentation for a resource
kubectl expose Take a replication controller, service, deployment or pod and expose it as a new Kubernetes service
kubectl get Display one or many resources
kubectl kustomize Build a kustomization target from a directory or URL
kubectl label Update the labels on a resource
kubectl logs Print the logs for a container in a pod
kubectl options Print the list of flags inherited by all commands
kubectl patch Update fields of a resource
kubectl plugin Provides utilities for interacting with plugins
kubectl port-forward Forward one or more local ports to a pod
kubectl proxy Run a proxy to the Kubernetes API server
kubectl replace Replace a resource by file name or stdin
kubectl rollout Manage the rollout of a resource
kubectl run Run a particular image on the cluster
kubectl scale Set a new size for a deployment, replica set, or replication controller
kubectl set Set specific features on objects
kubectl taint Update the taints on one or more nodes
kubectl top Display resource (CPU/memory) usage
kubectl uncordon Mark node as schedulable
kubectl version Print the client and server version information
kubectl wait Wait for a specific condition on one or many resources