k8s.io/kubernetes@v1.29.3/test/e2e/dra/test-driver/deploy/example/broken-resourceclass.yaml (about)

     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  
     5  apiVersion: resource.k8s.io/v1alpha2
     6  kind: ResourceClass
     7  metadata:
     8    name: example
     9  driverName: test-driver.cdi.k8s.io
    10  suitableNodes:
    11    nodeSelectorTerms:
    12    - matchExpressions:
    13      - key: no-such-label
    14        operator: Exists