- Prerequisites
- Queue Configuration
- Initial Cluster State
- Scheduling Actions after New Workload Submission
- Demo Flow
- Troubleshooting
- Kubernetes cluster with KAI Scheduler installed (version 1.0 or later)
- 4 nodes with 4 GPUs each (16 total GPUs)
- NVIDIA device plugin installed and configured
- Kubeflow training operator installed (required for distributed training)
- Project A (Priority: 150)
- 4 GPU quota (25% of cluster)
- Project B (Priority: 100)
- 4 GPU quota (25% of cluster)
- Project C (Priority: 150)
- 4 GPU quota (25% of cluster)
- Project D (Priority: 100)
- 4 GPU quota (25% of cluster)
- Training Job 1 (2 GPUs)
- Training Job 2 (1 GPUs)
- Distributed Training Job 3 (3 GPUs)
- Interactive Job (4 GPUs)
kubectl apply -f 1-queues.yaml
kubectl apply -f 2-initial-state.yamlkubectl apply -f 3-new-workloads.yamlkubectl delete -f 3-new-workloads.yaml
kubectl delete -f 2-initial-state.yaml
kubectl delete -f 1-queues.yamlIf pods are not being scheduled, check:
- Namespace exists and matches queue name
runai/queuelabel is correctly setschedulerNameis set tokai-scheduler- Resource requests are within queue quotas
- Node resources are available
- For distributed training make sure that sufficient resources are available on the nodes