Then to install Knative, I first installed Knative serving (as recommended for Docker Desktop users) as per the instructions from their site: Also, I needed to remove all the comment lines from the helm template command that makes the istio-lean.yaml file, otherwise it wouldn’t run for me. The installation uses Helm, despite Istio starting to move away from Helm. You can also install a lighter version of Istio for Knative, for which you can find the instructions here. I followed the instructions from the official Istio site: You can also use Gloo, but in this example we will use the former. Knative needs Istio in order to run for it’s ingress controller. Then under ‘Advanced’, you will need to change the settings to increase the resources available: Install an Ingress controller (Istio) Once Docker desktop is installed, go to Preferences > Kubernetes > Enable Kubernetes (this post assumes you have kubectl). I’m using a Mac so I followed the instructions from the Docker website, they also have for Windows. ![]() ![]() Get Docker Desktopįirst you will need to install Docker Desktop. ![]() ![]() Hopefully this guide will help someone who is new to the world of Knative eventing get up and running on their local machine. The docs are pretty straight forward but I always like to keep a record for myself, just so that it’s all in one place. I’ve been playing around with Knative Eventing and wanted to write my own post on how to get it up and running on a Kubernetes cluster.
0 Comments
Leave a Reply. |