March 2017
Beginner to intermediate
925 pages
18h 11m
English
Working with Kubernetes is quite easy, using either Command Line Interface (CLI) or API (RESTful). This section will describe Kubernetes control by CLI. The CLI we used in this chapter is version 1.1.3.
After you install Kubernetes master, you can run a kubectl command as follows. It shows the kubectl and Kubernetes master versions (both 1.1.3).
% kubectl version Client Version: version.Info{Major:"1", Minor:"1", GitVersion:"v1.1.3", GitCommit:"6a81b50c7e97bbe0ade075de55ab4fa34f049dc2", GitTreeState:"clean"} Server Version: version.Info{Major:"1", Minor:"1", GitVersion:"v1.1.3", GitCommit:"6a81b50c7e97bbe0ade075de55ab4fa34f049dc2", GitTreeState:"clean"}
kubectl connects the Kubernetes ...
Read now
Unlock full access