This guide shows you how to set up Anthos clusters on VMware (GKE on-prem) with Cloud Run for Anthos enabled.
Note that installing Cloud Run for Anthos 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 Anthos clusters on VMware (GKE on-prem).
Learn how to create
Anthos clusters on VMware.
For information about Anthos, see Anthos 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 Cloud project. Learn how to confirm that billing is enabled for your project.
Setting up the command-line environment
Set up the Cloud SDK and
kubectl for Cloud Run for Anthos on VMware:
Set the default Google Cloud project that is used by the
gcloudcommand-line tool to the Cloud project that you just created:
gcloud config set project PROJECT-ID
Replace PROJECT_ID with the ID of your Cloud project.
gcloud components install kubectl
gcloud components update
Installing Cloud Run for Anthos on VMware
You can install Cloud Run for Anthos while creating new
Anthos clusters on VMware by setting the
configuration in the
cloudrun: enabled: true
Setting up the Cloud Console
When using the 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.
- Cloud Run for Anthos on VMware Quickstart
- Deploying a container on Anthos clusters on VMware
- Building containers