Deploy using UI
Instructions for using the UI to deploy Kubeflow on Google Cloud Platform (GCP)
This page provides instructions for using the Kubeflow deployment web app todeploy Kubeflow on GCP. The deployment web app currently supportsKubeflow v0.7.0.
For more control over your deployment, see the guide todeployment using the CLI.The CLI supports Kubeflow v1.0 and later versions.
Before you start
Check the following requirements before installing Kubeflow:
Make sure that your GCP project meets the minimum requirementsdescribed in the project setup guide.
If you want to use Cloud Identity-Aware Proxy (CloudIAP) for access control, follow the guideto setting up OAuth credentials.Cloud IAP is recommended for production deployments or deployments withaccess to sensitive data.
Deploy Kubeflow
Here’s a partial screenshot of the deployment user interface (UI):
Follow these steps to open the deployment UI and deploy Kubeflow on GCP:
- Open https://deploy.kubeflow.cloud/in your web browser. You should see a form like the one in the abovescreenshot.
- Sign in to your browser using an account that has the
owner
rolefor your GCP project. Complete the following fields on the form:
- Project ID: Enter your GCP project ID.
- Deployment name: Enter a short name that you can use to recognize thisdeployment of Kubeflow.The maximum length for the deployment name is 25 characters.
Choose how to connect to Kubeflow service: You can choose one of thefollowing options:
- Login with GCP IAP: Choose this option if you want to use CloudIdentity-Aware Proxy (CloudIAP) for access control.Cloud IAP is the best option for production deployments or deploymentswith access to sensitive data. See more details below.
- Login with Username Password:**Warning: This option is deprecated in Kubeflow 1.0 andwill be removed in the next version. We recommend switching to IAP.**
GKE zone: Enter theGCP zone in whichto create your deployment. The default is
us-central-1a
.Kubeflow version: Choose one of the available versions of Kubeflow.You can see all the versions on theKubeflow releases page.If you need a version that does not show on the deployment UI, you need todeploy Kubeflow using the CLI.
Share Anonymous Usage Report: Check this option to allow Kubeflow toreport usage data using Spartakus. Spartakus does not report any personal information. Thedefault is to enable the reporting of usage data.
Click Create Deployment.
Watch for the deployment updates in the information box at the bottom of thedeployment UI.
Authenticating with Cloud IAP
This section contains details about using CloudIAP to control access to Kubeflow.Cloud IAP is the best option for production deployments or deployments withaccess to sensitive data.
Follow the guide to setting up OAuthcredentials.
Choose the Login with GCP IAP option on the Kubeflow deployment UI.
Enter your IAP OAuth client ID and IAP OAuth client secret into thecorresponding fields on the deployment UI.
Complete the rest of the form as described above.
Kubeflow will be available at the following URI:
https://<deployment_name>.endpoints.<project>.cloud.goog/
It can take 10-15 minutes for the URI to become available. You can watchfor updates in the information box on the deployment UI. If the deploymenttakes longer than expected, click Kubeflow Service Endpoint to tryaccessing your Kubeflow URI.
Authenticating with username and password
No longer supported
Basic authentication is not supported in Kubeflow v1.0.0 and will be removed entirely in thenext version. We highly recommend switching to deploying Kubeflow with IAP.
Next steps
- Run a full ML workflow on Kubeflow, using theend-to-end MNIST tutorial or theGitHub issue summarizationexample.
- See how to delete your Kubeflow deployment using theCLIor the GCP Console.
- See how to customize your Kubeflowdeployment.
- See how to upgrade Kubeflow and how toupgrade or reinstall a Kubeflow Pipelinesdeployment.
- Troubleshoot any issues you mayfind.
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.
Last modified 04.03.2020: Clarified that GCP basic auth is not supported and removed most references (#1765) (8703f266)