Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

kubectl

kubectl — Kubernetes command-line tool.

referencedescription
conceptscontrol plane, API server, pod, deployment, kubeconfig
resourcesresource types, API groups, short names, selectors
clicommand groups, global flags, completion, options
configkubeconfig, context, cluster, user, current-context
outputjson, yaml, jsonpath, go-template, custom-columns
applydeclarative apply, server-side apply, patch, kustomize
workloadsdeployments, statefulsets, rollout, scale, expose
debugginglogs, exec, port-forward, top, describe, debug
clusternode management, taint, drain, RBAC, certificate
pluginskrew, kubectl plugin, plugin discovery