...

Text file src/k8s.io/kubernetes/test/e2e/dra/test-driver/deploy/example/broken-resourceclass.yaml

Documentation: k8s.io/kubernetes/test/e2e/dra/test-driver/deploy/example

     1# This storage class intentionally doesn't match any nodes.
     2# When using it instead of a functional one, scheduling a pod leads to:
     3#   Warning  FailedScheduling  16s   default-scheduler  0/1 nodes are available: 1 excluded via potential node filter in resource class.
     4
     5apiVersion: resource.k8s.io/v1alpha2
     6kind: ResourceClass
     7metadata:
     8  name: example
     9driverName: test-driver.cdi.k8s.io
    10suitableNodes:
    11  nodeSelectorTerms:
    12  - matchExpressions:
    13    - key: no-such-label
    14      operator: Exists

View as plain text