Adapt docs on additional rules and dashboards

This commit is contained in:
Frederic Branczyk
2018-05-15 18:31:58 +02:00
parent 0461c85098
commit fef0a65938
20 changed files with 613 additions and 62 deletions

View File

@@ -1,9 +1,9 @@
local k = import "ksonnet/ksonnet.beta.3/k.libsonnet";
local k = import 'ksonnet/ksonnet.beta.3/k.libsonnet';
local daemonset = k.apps.v1beta2.daemonSet;
((import "kube-prometheus/kube-prometheus.libsonnet") + {
nodeExporter+: {
daemonset+:
daemonset.mixin.metadata.withNamespace("my-custom-namespace")
}
}).nodeExporter.daemonset
((import 'kube-prometheus/kube-prometheus.libsonnet') + {
nodeExporter+: {
daemonset+:
daemonset.mixin.metadata.withNamespace('my-custom-namespace'),
},
}).nodeExporter.daemonset