Using Your Own Domain
Using a custom domain with Kubeflow on GKE
Before you start
This guide assumes you have already set up Kubeflow on Google Cloud. If you haven’t done so, follow the guide to getting started with Kubeflow on Google Cloud.
Using your own domain
If you want to use your own domain instead of ${KF_NAME}.endpoints.${PROJECT}.cloud.goog, follow these instructions after building your cluster:
Remove the substitution
hostname
in the Kptfile.kpt cfg delete-subst instance hostname
Create a new setter
hostname
in the Kptfile.kpt cfg create-setter instance/ hostname --field "data.hostname" --value ""
Configure new setter with your own domain.
kpt cfg set ./instance hostname <enter your domain here>
Apply the changes.
make apply-kubeflow
Check Ingress to verify that your domain was properly configured.
kubectl -n istio-system describe ingresses
Get the address of the static IP address created.
IPNAME=${KF_NAME}-ip
gcloud compute addresses describe ${IPNAME} --global
Use your DNS provider to map the fully qualified domain specified in the third step to the above IP address.
Last modified 13.05.2021: (GKE) Update GKE related outdated docs (#2696) (0cb01ff8)