This bundle encompasses the Kubernetes python operators (a.k.a. charms) for Katib (see CharmHub).
The Katib operators are python scripts that wrap the latest released Katib manifests, providing lifecycle management for each application, handling events (install, upgrade, integrate, remove).
snap install juju --classic
Alternatively, you can brew install juju
on macOS or download the Juju installer for Windows.
juju add-k8s myk8scloud --cluster=foo --kubeconfig=path/to/config
If you are on AKS, EKS, or GKE, append --aks
, --eks
, or --gke
.
For more, see Juju docs.
juju bootstrap myk8scloud my-controller
further reading on this step can be found in the juju docs.
A Juju model is a blank canvas where your charm operators will be deployed. While creating a model, you can specify a name, e.g. kf
, and your applications will be deployed into a Kubernetes namespace with the name you define at this point.
Create a Juju model with the command:
juju add-model kf
To install Katib, run:
juju deploy katib
You can also install each application individually, like this:
juju deploy <application>
where <application>
is one of katib-controller
, katib-ui
, or katib-db-manager
.
Note: As a default, when you juju deploy
an application or the full Katib
bundle, you will deploy the latest pushed commit of Katib, even if unreleased updates are
already available in the Kubeflow manifests. If you would like to try the latest
available charm run:
juju deploy foo --channel=edge
If you aim to use Katib within an existing Kubeflow deployment in order to use it within the Kubeflow dashboard, you will have to integrate katib-ui
to istio-pilot
with the following command:
juju relate istio-pilot katib-ui