Skip to content

Latest commit

 

History

History
22 lines (18 loc) · 744 Bytes

yunikorn.md

File metadata and controls

22 lines (18 loc) · 744 Bytes

Example of running YuniKorn with knavigator

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