The Charmed Kubeflow 1.7 beta is here:
Kubeflow
- By Kubeflow Charmers | bundle
- Cloud
Channel | Revision | Published | Runs on |
---|---|---|---|
latest/stable | 329 | 07 Sep 2022 | |
latest/candidate | 294 | 24 Jan 2022 | |
latest/beta | 294 | 24 Jan 2022 | |
latest/edge | 320 | 06 Jul 2022 | |
1.7/beta | 332 | 08 Mar 2023 | |
1.7/edge | 332 | 08 Mar 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
You will need Juju 2.9 to be able to run this command. Learn how to upgrade to Juju 2.9.
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:
Charms
Kubeflow Operators
Introduction
Charmed Kubeflow is a full set of Kubernetes operators to deliver the 30+ applications and services that make up the latest version of Kubeflow, for easy operations anywhere, from workstations to on-prem, to public cloud and edge.
A charm is a software package that includes an operator together with metadata that supports the integration of many operators in a coherent aggregated system.
This technology leverages the Juju Operator Lifecycle Manager to provide day-0 to day-2 operations of Kubeflow.
Visit charmed-kubeflow.io for more information.
Install
For any Kubernetes, follow the installation instructions.
Testing
To deploy this bundle and run tests locally, do the following:
Set up Kubernetes, Juju, and deploy the bundle you're interested in (
kubeflow
orkubeflow-lite
) using the installation guide. This must include populating the.kube/config
file with your Kubernetes cluster as the active context. Do not create a namespace with the same name as the username, this will cause pipelines tests to fail. Beware of usingadmin
as the dex-auth static-username as the tests attempt to create a profile andadmin
conflicts with an existing default profile.Install test prerequisites:
sudo snap install juju-wait --classic sudo snap install juju-kubectl --classic sudo snap install charmcraft --classic sudo apt update sudo apt install -y libssl-dev firefox-geckodriver sudo pip3 install tox sudo pip3 install -r requirements.txt
Run tests on your bundle with tox. As many tests need authentication, make sure you pass the username and password you set in step (1) through environment variable or argument, for example:
- full bundle (using command line arguments):
tox -e tests -- -m full --username user123@email.com --password user123
- lite bundle (using environment variables):
export KUBEFLOW_AUTH_USERNAME=user1234@email.com export KUBEFLOW_AUTH_PASSWORD=user1234 tox -e tests -- -m lite
- full bundle (using command line arguments):
Subsets of the tests are also available using pytest's substring expression selector (e.g.:
tox -e tests -- -m full --username user123@email.com --password user123 -k 'selenium'
to run just
the selenium tests).
Documentation
Read the official documentation.