mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-07-21 17:15:35 +00:00
DRA: Fix PrioritizedList scheduler perf test
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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"
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user