This guide describes the general steps required to install Charmed Kubeflow (CKF).
CKF can be installed on any CNCF certified Kubernetes (K8s), including MicroK8s, AKS, EKS, GKE, Openshift and any kubeadm
-deployed cluster.
Requirements
A running K8s cluster including these requirements:
- 1.27-1.29 version.
- A default storage class configured.
Bootstrap Juju
CKF is deployed to Kubernetes with Juju. Before deployment, Juju must be bootstrapped to the K8s cluster. For bootstrapping instructions, see Get started with Juju.
Create the kubeflow
model
To create a Juju model for CKF, run:
juju add-model kubeflow
The model name must be kubeflow
.
See Juju OLM | add-model
for more details.
Deploy CKF
To deploy the most recent stable version of CKF, run:
juju deploy kubeflow --trust --channel=1.9/stable
See Charmhub | kubeflow
for more details.
It may take up to 20 minutes for all charms to become active.
You can monitor the deployment status with Juju as follows:
juju status --watch 5s
Access CKF dashboard
You can interact with CKF using its central dashboard, accessed through an IP address. To access the dashboard, you need to do the following:
Set credentials
Configure dex-auth
with a username and password:
juju config dex-auth static-username=<new username>
juju config dex-auth static-password=<new password>
See Juju config
and Dex configurations for more details.
Access the dashboard IP address
First, find the dashboard IP address by running this command:
kubectl get services -n kubeflow
See kubectl get
for more details.
This IP is related to LoadBalancer service, applied by the istio-gateway charm.
Depending on the used K8s substrate and its initial configuration, you may need to create a load balancer that redirects traffic to that IP:
-
For MicroK8s with
metallb
add-on enabled, the dashboard is accessible at the LoadBalancer IP, typicallyhttp://10.64.140.43.nip.io
. Otherwise, it should be accessible at the Cluster or NodePort IP when configured. See Istio Gateway configurations for more information. -
For other K8s, see the available dedicated guides for more details.
If DNS is required, use the resolvable address from istio-ingressgateway
.
To access the dashboard remotely, you can obtain the IP over SSH and a SOCKS proxy. See How to setup SSH for more details.
Log in
Once you have accessed the dashboard IP address, log in using the credentials previously set.