DRA: Fix PrioritizedList scheduler perf test

This commit is contained in:
Morten Torkildsen
2025-09-09 22:13:32 +00:00
parent 0ce6d771ab
commit 81cb5b7df2
3 changed files with 11 additions and 1 deletions

View File

@@ -35,6 +35,8 @@
maxClaimsPerNodeParam: $maxClaimsPerNode
- opcode: createAny
templatePath: ../templates/deviceclass.yaml
- opcode: createAny
templatePath: ../templates/deviceclass-no-devices.yaml
- opcode: createAny
templatePath: ../templates/resourceclaim.yaml
countParam: $initClaims

View File

@@ -0,0 +1,8 @@
apiVersion: resource.k8s.io/v1
kind: DeviceClass
metadata:
name: no-devices-class
spec:
selectors:
- cel:
expression: device.driver == "no-such-driver.cdi.k8s.io"

View File

@@ -9,6 +9,6 @@ spec:
- name: req-0
firstAvailable:
- name: sub-0
deviceClassName: no-such-class
deviceClassName: no-devices-class
- name: sub-1
deviceClassName: test-class