Install YuniKorn
by following these instructions:
helm repo add yunikorn https://apache.github.io/yunikorn-release
helm repo update
helm install yunikorn yunikorn/yunikorn \
--namespace yunikorn --create-namespace \
--set-json nodeSelector='{"node-role.kubernetes.io/control-plane": ""}' \
--set-json admissionController.nodeSelector='{"node-role.kubernetes.io/control-plane": ""}'
Run a YuniKorn job:
./bin/knavigator -workflow resources/workflows/yunikorn/test-job.yml -cleanup
Run a preemption workflow with YuniKorn:
./bin/knavigator -workflow resources/workflows/yunikorn/test-preemption.yml -cleanup