Using Your Own Domain

Version v0.3 of the documentation is no longer actively maintained. The site that you are currently viewing is an archived snapshot. For up-to-date documentation, see the latest version.

This guide describes how to use a custom domain with Kubeflow on Google Cloud Platform (GCP).

Before you start

This guide assumes you have already set up Kubeflow on GCP. If you haven’t done so, follow the guide to getting started with Kubeflow on Kubernetes Engine.

Using your own domain

If you want to use your own domain instead of ${name}.endpoints.${project}.cloud.goog, follow these instructions:

  1. Modify your ksonnet application to remove the cloud-endpoints component:

    cd ${KFAPP}/ks_app
    ks delete default -c cloud-endpoints
    ks component rm cloud-endpoints
    
  2. Set the domain for your ingress to be the fully qualified domain name:

    ks param set iap-ingress hostname ${FQDN}
    ks apply default -c iap-ingress
    
  3. Get the address of the static IP address created:

    IPNAME=${DEPLOYMENT_NAME}-ip
    gcloud --project=${PROJECT} addresses describe --global ${IPNAME}
    
  4. Use your DNS provider to map the fully qualified domain specified in the first step to the IP address reserved: in GCP.