Allow nodeExporter address to be configured

This commit is contained in:
Kristoffer Dalby
2020-06-21 09:11:16 +01:00
parent 6b4bc0bb26
commit f55a17718d

View File

@@ -96,7 +96,7 @@ local k = import 'ksonnet/ksonnet.beta.4/k.libsonnet';
local nodeExporter =
container.new('node-exporter', $._config.imageRepos.nodeExporter + ':' + $._config.versions.nodeExporter) +
container.withArgs([
'--web.listen-address=' + std.join(':', [$._config.nodeExporter.listenAddress, $._config.nodeExporter.port]),
'--web.listen-address=' + std.join(':', [$._config.nodeExporter.listenAddress, std.toString($._config.nodeExporter.port)]),
'--path.procfs=/host/proc',
'--path.sysfs=/host/sys',
'--path.rootfs=/host/root',