|
34 | 34 | # labelWhiteList: |
35 | 35 | # noPublish: false |
36 | 36 | # sleepInterval: 60s |
37 | | - # sources: [all] |
| 37 | + # featureSources: [all] |
| 38 | + # labelSources: [all] |
38 | 39 | # klog: |
39 | 40 | # addDirHeader: false |
40 | 41 | # alsologtostderr: false |
|
75 | 76 | # - "SSE" |
76 | 77 | # - "SSE2" |
77 | 78 | # - "SSE3" |
78 | | - # - "SSE4.1" |
79 | | - # - "SSE4.2" |
| 79 | + # - "SSE4" |
| 80 | + # - "SSE42" |
80 | 81 | # - "SSSE3" |
81 | 82 | # attributeWhitelist: |
82 | 83 | # kernel: |
@@ -107,34 +108,76 @@ spec: |
107 | 108 | # - "vendor" |
108 | 109 | # - "device" |
109 | 110 | # custom: |
110 | | - # - name: "my.kernel.feature" |
111 | | - # matchOn: |
112 | | - # - loadedKMod: ["example_kmod1", "example_kmod2"] |
113 | | - # - name: "my.pci.feature" |
114 | | - # matchOn: |
115 | | - # - pciId: |
116 | | - # class: ["0200"] |
117 | | - # vendor: ["15b3"] |
118 | | - # device: ["1014", "1017"] |
119 | | - # - pciId : |
120 | | - # vendor: ["8086"] |
121 | | - # device: ["1000", "1100"] |
122 | | - # - name: "my.usb.feature" |
123 | | - # matchOn: |
124 | | - # - usbId: |
125 | | - # class: ["ff"] |
126 | | - # vendor: ["03e7"] |
127 | | - # device: ["2485"] |
128 | | - # - usbId: |
129 | | - # class: ["fe"] |
130 | | - # vendor: ["1a6e"] |
131 | | - # device: ["089a"] |
132 | | - # - name: "my.combined.feature" |
133 | | - # matchOn: |
134 | | - # - pciId: |
135 | | - # vendor: ["15b3"] |
136 | | - # device: ["1014", "1017"] |
137 | | - # loadedKMod : ["vendor_kmod1", "vendor_kmod2"] |
| 111 | + # # The following feature demonstrates the capabilities of the matchFeatures |
| 112 | + # - name: "my custom rule" |
| 113 | + # labels: |
| 114 | + # my-ng-feature: "true" |
| 115 | + # # matchFeatures implements a logical AND over all matcher terms in the |
| 116 | + # # list (i.e. all of the terms, or per-feature matchers, must match) |
| 117 | + # matchFeatures: |
| 118 | + # - feature: cpu.cpuid |
| 119 | + # matchExpressions: |
| 120 | + # AVX512F: {op: Exists} |
| 121 | + # - feature: cpu.cstate |
| 122 | + # matchExpressions: |
| 123 | + # enabled: {op: IsTrue} |
| 124 | + # - feature: cpu.pstate |
| 125 | + # matchExpressions: |
| 126 | + # no_turbo: {op: IsFalse} |
| 127 | + # scaling_governor: {op: In, value: ["performance"]} |
| 128 | + # - feature: cpu.rdt |
| 129 | + # matchExpressions: |
| 130 | + # RDTL3CA: {op: Exists} |
| 131 | + # - feature: cpu.sst |
| 132 | + # matchExpressions: |
| 133 | + # bf.enabled: {op: IsTrue} |
| 134 | + # - feature: cpu.topology |
| 135 | + # matchExpressions: |
| 136 | + # hardware_multithreading: {op: IsFalse} |
| 137 | + # |
| 138 | + # - feature: kernel.config |
| 139 | + # matchExpressions: |
| 140 | + # X86: {op: Exists} |
| 141 | + # LSM: {op: InRegexp, value: ["apparmor"]} |
| 142 | + # - feature: kernel.loadedmodule |
| 143 | + # matchExpressions: |
| 144 | + # e1000e: {op: Exists} |
| 145 | + # - feature: kernel.selinux |
| 146 | + # matchExpressions: |
| 147 | + # enabled: {op: IsFalse} |
| 148 | + # - feature: kernel.version |
| 149 | + # matchExpressions: |
| 150 | + # major: {op: In, value: ["5"]} |
| 151 | + # minor: {op: Gt, value: ["10"]} |
| 152 | + # |
| 153 | + # - feature: storage.block |
| 154 | + # matchExpressions: |
| 155 | + # rotational: {op: In, value: ["0"]} |
| 156 | + # dax: {op: In, value: ["0"]} |
| 157 | + # |
| 158 | + # - feature: network.device |
| 159 | + # matchExpressions: |
| 160 | + # operstate: {op: In, value: ["up"]} |
| 161 | + # speed: {op: Gt, value: ["100"]} |
| 162 | + # |
| 163 | + # - feature: memory.numa |
| 164 | + # matchExpressions: |
| 165 | + # node_count: {op: Gt, value: ["2"]} |
| 166 | + # - feature: memory.nv |
| 167 | + # matchExpressions: |
| 168 | + # devtype: {op: In, value: ["nd_dax"]} |
| 169 | + # mode: {op: In, value: ["memory"]} |
| 170 | + # |
| 171 | + # - feature: system.osrelease |
| 172 | + # matchExpressions: |
| 173 | + # ID: {op: In, value: ["fedora", "centos"]} |
| 174 | + # - feature: system.name |
| 175 | + # matchExpressions: |
| 176 | + # nodename: {op: InRegexp, value: ["^worker-X"]} |
| 177 | + # |
| 178 | + # - feature: local.label |
| 179 | + # matchExpressions: |
| 180 | + # custom-feature-knob: {op: Gt, value: ["100"]} |
138 | 181 | ``` |
139 | 182 |
|
140 | 183 | For more information about how to setup the `WorkerConfig` stanza, |
|
0 commit comments