March 2021
Intermediate to advanced
272 pages
7h 48m
English
I use kubectl in a few places to peek behind the Knative curtain. There are many ways of installing it (https://kubernetes.io/docs/tasks/tools/install-kubectl/) on different operating systems. My daily driver is MacOS, so I used brew install kubectl.
Installing kn is slightly less convenient at this time of writing. You need to head to Github and download the binaries that are compiled for MacOS, Windows, or Linux, then install these yourself.
My installation process looks like the fo llowing listing.
Listing A.1 Installing kn
$ pushd $HOME/Downloads ❶ $ curl \ https://github.com/knative/client/releases ➥ /download/v0.17.0/kn-darwin-amd64 \ ❷ --location ❸ % Total % Received ...
Read now
Unlock full access