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.
Set the default Google Cloud project that is used by the Google Cloud CLI
to the Google Cloud project that you just created:
gcloudconfigsetprojectPROJECT-ID
Replace PROJECT_ID with the ID of your Google Cloud project.
Install the kubectl command-line tool:
gcloudcomponentsinstallkubectl
Update installed gcloud CLI components:
gcloudcomponentsupdate
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-04-09 UTC."],[[["This guide outlines the process of setting up Google Distributed Cloud with Knative serving enabled for managing stateless workloads."],["Installing Knative serving on VMware involves enabling the `cloudrun` configuration in the `config.yaml` file during Google Distributed Cloud creation."],["Setting up the command-line environment requires installing and initializing the Google Cloud CLI, setting the default project, and installing/updating the `kubectl` tool."],["When using the Google Cloud console, you must log in to the cluster, and if a Kubernetes Service Account is used, it must be assigned the `cluster-admin` role."]]],[]]