appendix. Installing Knative for Development
A.1 Installing kubectl and kn
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.
$ pushd $HOME/Downloads ❶ $ curl \ https://github.com/knative/client/releases ➥ /download/v0.17.0/kn-darwin-amd64 \ ❷ --location ❸ % Total % Received ...
Get Knative in Action now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.