mirror of
https://github.com/prometheus-operator/kube-prometheus.git
synced 2025-11-02 00:51:01 +01:00
Addressed review comments
Signed-off-by: Sahil Raja <sahilraja242@gmail.com>
This commit is contained in:
parent
ae89cad60d
commit
cbef68e090
@ -12,7 +12,7 @@ local defaults = {
|
|||||||
limits: { cpu: '250m', memory: '180Mi' },
|
limits: { cpu: '250m', memory: '180Mi' },
|
||||||
},
|
},
|
||||||
listenAddress: '127.0.0.1',
|
listenAddress: '127.0.0.1',
|
||||||
filesystemIgnoredMountPoints: '^/(dev|proc|sys|var/lib/docker/.+|var/lib/kubelet/pods/.+)($|/)',
|
filesystemMountPointsExclude: '^/(dev|proc|sys|var/lib/docker/.+|var/lib/kubelet/pods/.+)($|/)',
|
||||||
port: 9100,
|
port: 9100,
|
||||||
commonLabels:: {
|
commonLabels:: {
|
||||||
'app.kubernetes.io/name': defaults.name,
|
'app.kubernetes.io/name': defaults.name,
|
||||||
@ -181,7 +181,7 @@ function(params) {
|
|||||||
'--path.rootfs=/host/root',
|
'--path.rootfs=/host/root',
|
||||||
'--no-collector.wifi',
|
'--no-collector.wifi',
|
||||||
'--no-collector.hwmon',
|
'--no-collector.hwmon',
|
||||||
'--collector.filesystem.mount-points-exclude=^/(dev|proc|sys|var/lib/docker/.+|var/lib/kubelet/pods/.+)($|/)',
|
'--collector.filesystem.mount-points-exclude=' + ne._config.filesystemMountPointsExclude,
|
||||||
// NOTE: ignore veth network interface associated with containers.
|
// NOTE: ignore veth network interface associated with containers.
|
||||||
// OVN renames veth.* to <rand-hex>@if<X> where X is /sys/class/net/<if>/ifindex
|
// OVN renames veth.* to <rand-hex>@if<X> where X is /sys/class/net/<if>/ifindex
|
||||||
// thus [a-z0-9] regex below
|
// thus [a-z0-9] regex below
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user