July 2018
Intermediate to advanced
504 pages
11h 34m
English
kubectl has hundreds of different subcommands, options, and arguments. Luckily, kubectl has really good help options. The first one is man pages. If you are using macOS or Linux, you can run the man-f kubectl command to check kubectl-related man pages:
$ man -f kubectlkubectl(1) - kubectl controls the Kubernetes cluster managerkubectl-alpha(1), kubectl alpha(1) - Commands for features in alphakubectl-alpha-diff(1), kubectl alpha diff(1) - Diff different versions of configurations...<output omitted>...
If for some reason you do not have man pages available on your system, you can just run the kubectl command without any options or arguments. It will show you a list of available subcommands:
$ kubectlkubectl controls the Kubernetes ...