This guide describes how to use a custom domain with Kubeflow on Google Cloud Platform (GCP).
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.
If you want to use your own domain instead of ${name}.endpoints.${project}.cloud.goog, follow these instructions:
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
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
Get the address of the static IP address created:
IPNAME=${DEPLOYMENT_NAME}-ip
gcloud --project=${PROJECT} addresses describe --global ${IPNAME}
Use your DNS provider to map the fully qualified domain specified in the first step to the IP address reserved: in GCP.