Skip to content

Commit eb707bf

Browse files
authored
Merge pull request #767 from slashpai/update_deviceSelector
Update diskDeviceSelector to include cadvisor device
2 parents 05a58f7 + 4e541b4 commit eb707bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

config.libsonnet

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@
9898

9999
// This list of disk device names is referenced in various expressions.
100100
diskDevices: ['mmcblk.p.+', 'nvme.+', 'rbd.+', 'sd.+', 'vd.+', 'xvd.+', 'dm-.+', 'dasd.+'],
101-
diskDeviceSelector: 'device=~"%s"' % std.join('|', self.diskDevices),
101+
diskDeviceSelector: 'device=~"(/dev.+)|%s"' % std.join('|', self.diskDevices),
102102

103103
// Certain workloads (e.g. KubeVirt/CDI) will fully utilise the persistent volume they claim
104104
// the size of the PV will never grow since they consume the entirety of the volume by design.

0 commit comments

Comments
 (0)