Skip to content

Latest commit

 

History

History

setup

Setup

These are the steps to set Knative and its dependencies.

Configuration

Edit config file for your setup.

Create a GKE cluster

./create-gke-cluster

Install Istio & Knative Serving

./install-serving

Install Knative Eventing

./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.

Install Knative GCP

If you intend to read Google Cloud events, install Knative GCP components.

There are 2 ways of setting up authentication in Knative GCP:

  1. Kubernetes secrets
  2. 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

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.