1
0
Fork 0
mirror of https://github.com/kubernetes-sigs/node-feature-discovery.git synced 2025-03-06 08:47:04 +00:00
node-feature-discovery/deployment/overlays/samples/custom-rules/custom-rules.example.yaml

16 lines
396 B
YAML
Raw Normal View History

- name: "kernel module rule"
labels:
"kernel-br_netfilter.present": "true"
matchFeatures:
- feature: "kernel.loadedmodule"
matchExpressions:
br_netfilter: {op: Exists}
- name: "nodename rule"
labels:
"nodename-rule.matches": "true"
matchFeatures:
- feature: "system.name"
matchExpressions:
nodename: {op: InRegexp, value: ["special-.*-node"]}