Deploying Kubeflow behind a proxy server
Instructions for installing and configuring Kubeflow behind a proxy server
Install Kubeflow behind a proxy server
This guide demonstrates how to install and configure Kubeflow behind a proxy server.
Note: These instructions assume that your Docker setup has a configured proxy service on each Kubernetes node.
- Create an alias for the proxy:
alias https='https_proxy=https://{SERVER}:{PORT}'
where {SERVER}
is the IP address of your proxy server and {PORT}
is the port number.
- Download the latest kfctl — the control
pane for deploying and managing Kubeflow from the Kubeflow
releases page. For example, run
the command below to download the zipped kfctl TAR file for Kubeflow v1.1 and
extract it to
/usr/local/bin
:
https wget https://github.com/kubeflow/kfctl/releases/download/v1.1.0/kfctl_v1.1.0-0-g9a3621e_linux.tar.gz extract to /usr/local/bin
- To install Kubeflow on an existing cluster, you need to download the the latest configuration YAML file. For example, for Kubeflow v1.1 it is:
https wget https://raw.githubusercontent.com/kubeflow/manifests/v1.1-branch/kfdef/kfctl_istio_dex.v1.1.0.yaml
- Download the KfDef manifest zipped TAR file. For example, for Kubeflow v1.1 you should run the following command:
https wget https://github.com/kubeflow/manifests/archive/v1.1-branch.tar.gz
- Open the YAML configuration (zipped) file and under
- name: manifests
change the old URI (such ashttps://github.com/kubeflow/manifests/archive/v1.1-branch.tar.gz
) to the location of the new one as follows:
- name: manifests
uri: {ABSOLUTE_PATH}/v1.1-branch.tar.gz
where {ABSOLUTE_PATH}
is your path to the the manifest.
- Run
kfctl build
to create configuration files before Kubeflow deployment:
kfctl build -V -f kfctl_k8s_istio.yaml
- Deploy Kubeflow:
kfctl apply -V -f kfctl_k8s_istio.yaml
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.
Last modified 18.11.2020: Add kubeflow-behind-proxy.md - see issue #2137 (#2147) (37ee99b9)