These are the steps to set Knative and its dependencies.
Edit config file for your setup.
./create-gke-cluster
./install-serving
./install-eventing
You probably need a Broker in the default namespace with Knative Eventing. You can follow instructions in Broker Creation page to do that.
If you intend to read Google Cloud events, install Knative GCP components.
There are 2 ways of setting up authentication in Knative GCP:
- Kubernetes secrets
- Workload identity (recommended)
Pick one of the mechanisms and use appropriate scripts.
Install Knative GCP:
# Kubernetes secrets
./install-knative-gcp
# Workload identity
./install-knative-gcp workload
Configure a Pub/Sub enabled Service Account for Data Plane:
# Kubernetes secrets
./install-dataplane-serviceaccount
# Workload identity
./install-dataplane-serviceaccount workload
Install Tekton Pipelines, if you want to run build samples:
./install-tekton
Thanks to Mark Chmarny for the initial scripts and James Ward for HTTPS configuration instructions.