1
0
Fork 0
mirror of https://github.com/kubernetes-sigs/node-feature-discovery.git synced 2024-12-15 17:50:49 +00:00
node-feature-discovery/deployment/nodefeaturerule/samples/nodefeaturerule-storage.yaml

18 lines
476 B
YAML

#
# This NodeFeatureRule replicates all built-in storage feature labels of NFD.
#
apiVersion: nfd.k8s-sigs.io/v1alpha1
kind: NodeFeatureRule
metadata:
name: nfd-builtin-storage-features
spec:
rules:
- name: "nfd built-in storage-nonrotationaldisk label"
labels:
"storage-nonrotationaldisk": "true"
matchFeatures:
- feature: storage.block
matchExpressions:
"rotational":
op: In
value: ["0"]