bundle-kubeflow
bundle-kubeflow copied to clipboard
Kubeflow installation under a corporate proxy
Problem
I was following instructions in the quickstart guide on how to deploy kubeflow on my machine. The instructions worked until I had to deploy kubeflow-lite with juju. juju couldn't connect to charmhub.io. By searching the web I found the tutorial on how to deploy Charmed Kubeflow behind a web proxy. The tutorial didn't help as the issue couldn't be resolved. There are also stale issues referring to the same problem:
Fix
Following suggestions from:
and some experimenting, I found out that the proper way is to configure proxy settings during bootstrap https://juju.is/docs/olm/create-a-controller#heading--set-model-configuration-keys. In that case, proxy settings are also configured for the controller model. If the controller model doesn't have proper proxy configurations, deployment will not work. This should be added in the tutorial How to deploy Charmed Kubeflow on MicroK8s behind a web proxy.
Additional note
If you are using a CNTLM proxy, it should be run as a docker container in order to run it under a subnet instead of the loopback as stated here.
My environment
OS Ubuntu 20.04.1 microk8s version 1.22 juju version 2.9.34 docker version 20.10.18 CNTLM proxy as a docker container from image robertdebock/docker-cntlm
Hello @8greg8 thank you so much for opening this issue, I will label it as a bug and see if we can update that documentation.
Updated the guide: How to install Charmed Kubeflow on Microk8s behind a web proxy. Thank you for raising the issue.