Build and deploy Linux-based workloads using Skaffold

Skaffold handles the workflow for building, pushing and deploying your application. Linux, Tomcat, and WebSphere support Skaffold artifact creation by default.

If you use Cloud Shell, Skaffold is already installed. If you need to install Skaffold, see Installing Skaffold.

Before you begin

This topic assumes that you've completed the migration.

Use Skaffold with Linux-based workloads

The skaffold.yaml file is at the root folder of the generated artifacts. For instructions on editing your skaffold.yaml file, see the Skaffold file reference.

To run Skaffold locally, from root folder of the generated artifacts, run the following command:

skaffold run -d eu.gcr.io/PROJECT_ID

Replace PROJECT_ID with your project ID.

To run Skaffold in the cloud, use the following command:

skaffold run -d eu.gcr.io/PROJECT_ID -p cloudbuild