Allow nodeExporter address to be configured
This commit is contained in:
@@ -96,7 +96,7 @@ local k = import 'ksonnet/ksonnet.beta.4/k.libsonnet';
|
|||||||
local nodeExporter =
|
local nodeExporter =
|
||||||
container.new('node-exporter', $._config.imageRepos.nodeExporter + ':' + $._config.versions.nodeExporter) +
|
container.new('node-exporter', $._config.imageRepos.nodeExporter + ':' + $._config.versions.nodeExporter) +
|
||||||
container.withArgs([
|
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.procfs=/host/proc',
|
||||||
'--path.sysfs=/host/sys',
|
'--path.sysfs=/host/sys',
|
||||||
'--path.rootfs=/host/root',
|
'--path.rootfs=/host/root',
|
||||||
|
|||||||
Reference in New Issue
Block a user