Build a Docker Image on GCP

Out of date

This guide contains outdated information pertaining to Kubeflow 1.0. This guide needs to be updated for Kubeflow 1.1.

Run the following command in a Jupyter notebook cell to activate the attached service account:

Kubeflow assigns the service account to the Jupyter notebook Pods. The environment variable is pre-configured in the notebook. Its value is a path that points to a JSON file containing a Kubernetes secret. The secret contains the credentials needed to authenticate as the notebook service account within the cluster. To see the value of the environment variable, enter the following command in a notebook cell:

  • For more information about using Cloud Build to build Docker images, see the .