Kubeflow
- By Kubeflow Charmers | bundle
- Cloud
Channel | Revision | Published |
---|---|---|
latest/stable | 414 | 01 Dec 2023 |
latest/candidate | 294 | 24 Jan 2022 |
latest/beta | 430 | 30 Aug 2024 |
latest/edge | 423 | 26 Jul 2024 |
1.9/stable | 426 | 31 Jul 2024 |
1.9/beta | 420 | 19 Jul 2024 |
1.9/edge | 425 | 31 Jul 2024 |
1.8/stable | 414 | 22 Nov 2023 |
1.8/beta | 411 | 22 Nov 2023 |
1.8/edge | 413 | 22 Nov 2023 |
1.7/stable | 409 | 27 Oct 2023 |
1.7/beta | 408 | 27 Oct 2023 |
1.7/edge | 407 | 27 Oct 2023 |
1.6/stable | 329 | 07 Sep 2022 |
1.6/beta | 326 | 23 Aug 2022 |
1.6/edge | 328 | 07 Sep 2022 |
1.4/stable | 321 | 30 Jun 2022 |
1.4/edge | 320 | 30 Jun 2022 |
juju deploy kubeflow --channel edge
Deploy Kubernetes operators easily with Juju, the Universal Operator Lifecycle Manager. Need a Kubernetes cluster? Install MicroK8s to create a full CNCF-certified Kubernetes system in under 60 seconds.
Platform:
This guide shows how to connect your laptop to a VM using SSH and port forwarding. The setup is specifically targeted at those running our Charmed Kubeflow or Charmed MLflow with Kubeflow tutorials.
With this setup you will be able to:
- Access the application UI through your web browser
- Access the VM through a terminal
These steps assume the following:
- You are using Ubuntu 22.04 or later.
- VM access will be secured via a private key stored in ~/.ssh/myKey.pem, and the connection will be to ubuntu@myserver.cloudomain.com. You will need to tweak these details accordingly for your specific use case.
Contents:
Setup
To setup an SSH tunnel with a SOCKS proxy, follow these steps:
Use the ssh
command to open an SSH tunnel
For Charmed Kubeflow run this command:
ssh -i ~/.ssh/myKey.pem -D 9999 ubuntu@myserver.cloudomain.com
For Charmed MLflow run this command:
ssh -i ~/.ssh/myKey.pem -L 31380:localhost:31380 -D 9999 ubuntu@myserver.cloudomain.com
Note: for MLflow you’ll see the additional
-L 31380:localhost:31380
option. This forwards localhost port31380
to the remote machine, because we need this to access the MLflow dashboard.
Configure your Ubuntu network settings to use a SOCKS proxy
On your laptop’s network settings:
- Open
Settings > Network > Network Proxy
. - Set the network proxy to ‘Manual’.
- Set the SOCKS host to:
127.0.0.1
and port9999
.
Note: Once this is done, all your network traffic will go through the SSH tunnel to the VM. If the SSH tunnel is closed, then you’ll lose internet.
Deactivate
To deactivate this setup, first revert your network settings by disabling the network proxy, then close the SSH tunnel.