Integrate Rok with Kubeflow Dashboard¶
This section will guide you through integrating Rok with the Kubeflow dashboard, so that you can visit Rok from the Snapshots tab in the Kubeflow UI.
Fast Forward
If you have already integrated Rok with your Kubeflow dashboard, expand this box to fast-forward.
- Proceed to the Verify section.
Choose one of the following options to integrate Rok with the Kubeflow dashboard:
- Option 1: Integrate Rok with Kubeflow Dashboard Automatically (preferred).
- Option 2: Integrate Rok with Kubeflow Dashboard Manually.
Overview
What You’ll Need¶
- A configured management environment.
- Your clone of the Arrikto GitOps repository.
- An existing Kubeflow deployment.
Option 1: Integrate Rok with Kubeflow Dashboard Automatically (preferred)¶
Integrate Rok with the Kubeflow dashboard by following the on-screen
instructions on the rok-deploy
user interface.
If rok-deploy
is not already running, start it with:

Proceed to the Summary section.
Option 2: Integrate Rok with Kubeflow Dashboard Manually¶
If you want to integrate Rok with the Kubeflow dashboard, follow the instructions below.
Procedure¶
Go to your GitOps repository, inside your
rok-tools
management environment:root@rok-tools:~# cd ~/ops/deploymentsEdit the
rok/rok-cluster/overlays/deploy/kustomization.yaml
and enable thekf-configvars.yaml
patch by uncommenting the corresponding line. The final result will look like this:patches: - path: patches/storage.yaml - path: patches/configvars.yaml - path: patches/image-pull-secrets.yaml - path: patches/kf-configvars.yamlCommit your changes:
root@rok-tools:~/ops/deployments# git commit -am "Integrate Rok with Kubeflow Dashboard"Reapply the Rok cluster overlay:
root@rok-tools:~/ops/deployments# rok-deploy --apply rok/rok-cluster/overlays/deploy
Verify¶
Go to your GitOps repository, inside your
rok-tools
management environment:root@rok-tools:~# cd ~/ops/deploymentsRestore the required context from previous sections:
root@rok-tools:~/ops/deployments# source deploy/env.cloudidentityroot@rok-tools:~/ops/deployments# export ROK_CLUSTER_NAMESPACEVerify you have enabled the Kubeflow dashboard:
root@rok-tools:~/ops/deployments# kubectl get rokcluster \ > -n ${ROK_CLUSTER_NAMESPACE?} \ > -o yaml \ > | grep -q 'gw.ui.kubeflow_dashboard_enabled: true' \ > && echo OK || echo FAIL OK