Google Cloud Run [NEW] alpha
NoteThis feature is currently experimental and subject to change. Not all Skaffold features e.g. log tailing, debugging are supported.
Cloud Run is a managed compute platform on Google Cloud that allows you to run containers on Google’s infrastructure.
Deploying applications to Cloud Run
Skaffold can deploy services to Cloud Run. If this deployer is used, all provided manifests must be valid Cloud Run services, using the serving.knative.dev/v1 schema. See the Cloud Run YAML reference for supported fields.
This deployer will use the application default credentials to deploy. You can configure this to use your user credentials by running
gcloud auth application-default login.
Configuring Cloud Run
To deploy to Cloud Run, use the
cloudrun type in the
deploy section of
cloudrun type offers the following options:
||the GCP Project to use for Cloud Run. If specified, all Services will be deployed to this project. If not specified, each Service will be deployed to the project specified in
||GCP location to use for the Cloud Run Deploy. Must be one of the regions listed in https://cloud.google.com/run/docs/locations.|
deploy section instructs Skaffold to deploy
artifacts to Cloud Run:
deploy: cloudrun: projectid: my-gcp-project region: us-central1
NoteImages listed to be deployed with the Cloud Run deployer must be present in Google Artifact Registry or Google Container Registry. If you are using Skaffold to build the images, ensure
pushis set to true.