January 2019
Intermediate to advanced
484 pages
11h 48m
English
kubectl is the command-line tool to manage Kubernetes clusters. The most general usage of kubectl is to check the version of the cluster:
// check Kubernetes version# kubectl versionClient Version: version.Info{Major:"1", Minor:"12", GitVersion:"v1.12.0", GitCommit:"0ed33881dc4355495f623c6f22e7dd0b7632b7c0", GitTreeState:"clean", BuildDate:"2018-10-01T00:59:42Z", GoVersion:"go1.11", Compiler:"gc", Platform:"darwin/amd64"}Server Version: version.Info{Major:"1", Minor:"11", GitVersion:"v1.11.3", GitCommit:"a4529464e4629c21224b3d52edfe0ea91b072862", GitTreeState:"clean", BuildDate:"2018-09-09T17:53:03Z", GoVersion:"go1.10.3", Compiler:"gc", Platform:"linux/amd64"}
We then know our server version is upto date, which is the latest at the ...
Read now
Unlock full access