Installing the Client Tools
In this lab you will install the command line utilities required to complete this tutorial: cfssl, cfssljson, and kubectl.
Install CFSSL
The cfssl and cfssljson command line utilities will be used to provision a PKI Infrastructure and generate TLS certificates.
Download and install cfssl and cfssljson from the cfssl repository:
OS X
brew install cfssl
Verification
Verify cfssl version 1.2.0 or higher is installed:
cfssl version
Version: 1.3.2
Revision: dev
Runtime: go1.10.3
The
cfssljsoncommand line utility does not provide a way to print its version.
Install kubectl
The kubectl command line utility is used to interact with the Kubernetes API Server. Download and install kubectl from the official release binaries:
OS X
brew install kubernetes-cli
Verification
Verify kubectl version 1.12.0 or higher is installed:
kubectl version --client
Client Version: version.Info{Major:"1", Minor:"13", GitVersion:"v1.13.1", GitCommit:"eec55b9ba98609a46fee712359c7b5b365bdd920", GitTreeState:"clean", BuildDate:"2018-12-13T19:44:19Z", GoVersion:"go1.11.2", Compiler:"gc", Platform:"darwin/amd64"}