fix(kueue): Add a default clusterqueue and add support for batch/jobsets
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
apiVersion: kueue.x-k8s.io/v1beta1
|
||||
kind: ResourceFlavor
|
||||
metadata:
|
||||
name: compute
|
||||
---
|
||||
apiVersion: kueue.x-k8s.io/v1beta1
|
||||
kind: ClusterQueue
|
||||
metadata:
|
||||
name: sample-jobs
|
||||
spec:
|
||||
cohort: general
|
||||
namespaceSelector: {} # Accept workloads from any namespace
|
||||
resourceGroups:
|
||||
- coveredResources: ["cpu", "memory"]
|
||||
flavors:
|
||||
- name: compute
|
||||
resources:
|
||||
- name: "cpu"
|
||||
nominalQuota: 4
|
||||
- name: "memory"
|
||||
nominalQuota: 8Gi
|
||||
@@ -1,3 +1,18 @@
|
||||
controllerManager:
|
||||
featureGates:
|
||||
- name: TopologyAwareScheduling
|
||||
enabled: true
|
||||
- name: LocalQueueMetrics
|
||||
enabled: true
|
||||
managerConfig:
|
||||
controllerManagerConfigYaml: |
|
||||
apiVersion: config.kueue.x-k8s.io/v1beta1
|
||||
kind: Configuration
|
||||
integrations:
|
||||
frameworks:
|
||||
- batch/job
|
||||
- jobset.x-k8s.io/jobset
|
||||
|
||||
enableKueueViz: true
|
||||
kueueViz:
|
||||
backend:
|
||||
|
||||
Reference in New Issue
Block a user