1.2. Verification

Verify the installation

You should now be able to execute kubectl in the command prompt. To test, execute:

kubectl version

You should now see something like (the version number may vary):

Client Version: version.Info{Major:"1", Minor:"18", GitVersion:"v1.18.0", GitCommit:"9e991415386e4cf155a24b1da15becaa390438d8", GitTreeState:"clean", BuildDate:"2020-03-25T14:58:59Z", GoVersion:"go1.13.8", Compiler:"gc", Platform:"linux/amd64"}
...

If you don’t see a similar output, possibly there are issues with the PATH variable.

First steps with kubectl

The kubectl binary has many subcommands. Invoke kubectl --help (or simply -h) to get a list of all subcommands; kubectl <subcommand> --help gives you detailed help about a subcommand.

Optional tools

Have a look at the optional tools described in 2. Optional Kubernetes power tools if you’re interested.

Next steps

When you’re ready to go, head on over to the labs and begin with the training!