Use Mirrored Kale Python Image¶
To be able to run HP tunning trials with Katib in an air gapped environment,
you have to configure Kale to use the mirrored kale-py38
image. This guide
will walk you through enabling the corresponding PodDefault by default.
Overview
What You’ll Need¶
- Mirrored images in your internal registry.
- A local GitOps repository that uses these images.
Procedure¶
Go to your GitOps repository, inside your
rok-tools
management environment:root@rok-tools:~# cd ~/ops/deploymentsEdit
kubeflow/manifests/apps/jupyter/jupyter-web-app/upstream/overlays/deploy/patches/config-map.yaml
and extend theconfigurations
list with thekale-python-image
label:configurations: value: - access-rok - access-ml-pipeline - kale-python-image # <-- Add this lineCommit changes:
root@rok-tools:~/ops/deployments# git commit -am "Enable PodDefault for custom Kale Python image"Apply changes:
root@rok-tools:~/ops/deployments# rok-deploy --apply \ > kubeflow/manifests/apps/jupyter/jupyter-web-app/upstream/overlays/deploy