bundle-kubeflow icon indicating copy to clipboard operation
bundle-kubeflow copied to clipboard

Kubeflow installation under a corporate proxy

Open 8greg8 opened this issue 2 years ago • 1 comments

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

8greg8 avatar Sep 23 '22 13:09 8greg8

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.

DomFleischmann avatar Sep 29 '22 13:09 DomFleischmann

Updated the guide: How to install Charmed Kubeflow on Microk8s behind a web proxy. Thank you for raising the issue.

NohaIhab avatar Apr 04 '23 08:04 NohaIhab