github.com/openebs/node-disk-manager@v1.9.1-0.20230225014141-4531f06ffa1e/deploy/yamls/node-disk-manager-config.yaml (about) 1 # Create NDM configmap 2 apiVersion: v1 3 kind: ConfigMap 4 metadata: 5 name: node-disk-manager-config 6 namespace: openebs 7 data: 8 # node-disk-manager-config contains config of available probes and filters. 9 # Probes and Filters will initialize with default values if config for that 10 # filter or probe are not present in configmap 11 12 # udev-probe is default or primary probe it should be enabled to run ndm 13 # filterconfigs contains configs of filters. To provide a group of include 14 # and exclude values add it as , separated string 15 node-disk-manager.config: | 16 probeconfigs: 17 - key: udev-probe 18 name: udev probe 19 state: true 20 - key: seachest-probe 21 name: seachest probe 22 state: true 23 - key: smart-probe 24 name: smart probe 25 state: true 26 filterconfigs: 27 - key: os-disk-exclude-filter 28 name: os disk exclude filter 29 state: true 30 exclude: "/,/etc/hosts,/boot" 31 - key: vendor-filter 32 name: vendor filter 33 state: true 34 include: "" 35 exclude: "CLOUDBYT,OpenEBS" 36 - key: path-filter 37 name: path filter 38 state: true 39 include: "" 40 exclude: "/dev/loop,/dev/fd0,/dev/sr0,/dev/ram,/dev/md,/dev/dm-,/dev/rbd,/dev/zd" 41 # metconfig can be used to decorate the block device with different types of labels 42 # that are available on the node or come in a device properties. 43 # node labels - the node where bd is discovered. A whitlisted label prefixes 44 # attribute labels - a property of the BD can be added as a ndm label as ndm.io/<property>=<property-value> 45 metaconfigs: 46 - key: node-labels 47 name: node labels 48 pattern: "" 49 - key: device-labels 50 name: device labels 51 type: "" 52 ---