Using Your Own Domain
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 GCP.
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.
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.