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