Using Your Own Domain
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 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 running kfctl build
:
-
Replace
hostname
inkustomize/iap-ingress/base/params.env
with your own domain.... hostname=<enter your domain here> ingressName=envoy-ingress ipName=kf-test-ip oauthSecretName=kubeflow-oauth ...
-
Apply the changes.
Using
kfctl
.kfctl apply -V -f ${CONFIG_FILE}
Or using
kubectl
.kubectl apply -k kustomize/iap-ingress
-
Remove the
cloud-endpoints
component.kubectl delete -k kustomize/cloud-endpoints
Delete the endpoint created by the
cloud-endpoints-controller
, if any.gcloud endpoints services delete ${KF_NAME}.endpoints.${PROJECT}.cloud.goog
-
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 --format="value(address)"
-
Use your DNS provider to map the fully qualified domain specified in the first 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.