Note: kfctl is currently available for Linux and macOS users only. If you use Windows, you can install kfctl on Windows Subsystem for Linux (WSL). Refer to the official instructions for setting up WSL.
Run the following commands to set up and deploy Kubeflow:
- Download the latest kfctl {{% kf-latest-version %}} release from the [Kubeflow releases page](https://github.com/kubeflow/kfctl/releases/tag/{{% kf-latest-version %}}).
Note: You're strongly recommended to install kfctl v1.2 or above because kfctl v1.2 addresses several critical bugs that can break the Kubeflow deployment.
-
Extract the archived TAR file:
tar -xvf kfctl_{{% kf-latest-version %}}_<platform>.tar.gz
-
Make kfctl binary easier to use (optional). If you don’t add the binary to your path, you must use the full path to the kfctl binary each time you run it.
export PATH=$PATH:<path to where kfctl was unpacked>
-
Now you can apply MLX KfDef custom resource on Kubernetes to deploy MLX.
-
For IKS / Minikube use the following KFDEF
export KFDEF_URL=https://raw.githubusercontent.com/machine-learning-exchange/manifests/mlx/kfdef/kfctl_ibm_tekton.yaml
OR
For Openshift we need to set the proper scc. Use the following KFDEF
export KFDEF_URL=https://raw.githubusercontent.com/machine-learning-exchange/manifests/mlx/kfdef/kfctl_mlx_openshift_tekton.yaml
-
Download the KFDEF to local:
export KFDEF=$(echo "${KFDEF_URL}" | rev | cut -d/ -f1 | rev) curl -L ${KFDEF_URL} > ${KFDEF}
-
Use
kfctl
to deploy MLXkfctl apply -V -f ${KFDEF}