This guide shows you how to set up Google Distributed Cloud with Knative serving enabled.
Note that installing Knative serving on VMware installs Knative Serving into the cluster to connect and manage your stateless workloads.
Before you begin
- This task assumes that you have active Google Distributed Cloud.
Learn how to create
Google Distributed Cloud.
For information about GKE Enterprise, see GKE Enterprise Pricing.
- Sign in to your Google Cloud account. If you're new to Google Cloud, create an account to evaluate how our products perform in real-world scenarios. New customers also get $300 in free credits to run, test, and deploy workloads.
-
In the Google Cloud console, on the project selector page, select or create a Google Cloud project.
-
Make sure that billing is enabled for your Google Cloud project.
-
In the Google Cloud console, on the project selector page, select or create a Google Cloud project.
-
Make sure that billing is enabled for your Google Cloud project.
Setting up the command-line environment
Set up the gcloud CLI and kubectl
for Knative serving on VMware:
Set the default Google Cloud project that is used by the Google Cloud CLI to the Google Cloud project that you just created:
gcloud config set project PROJECT-ID
Replace PROJECT_ID with the ID of your Google Cloud project.
Install the
kubectl
command-line tool:gcloud components install kubectl
Update installed gcloud CLI components:
gcloud components update
Installing Knative serving on VMware
You can install Knative serving while creating new
Google Distributed Cloud by setting the cloudrun
configuration in the
config.yaml
file:
cloudrun: enabled: true
Setting up the Google Cloud console
When using the Google Cloud console,
login to the cluster.
If you are using a Kubernetes Service Account, be sure to add the
cluster-admin
role to that Service Account.
What's next
- Knative serving on VMware Quickstart
- Deploying a container on Google Distributed Cloud
- Building containers
- Troubleshooting