mirror of https://git.rancher.io/charts
Merge pull request #666 from aiyengar2/fix_kube_dns_namespace
Create kube-dns service monitor in kube-systempull/668/head
commit
034952747f
Binary file not shown.
Binary file not shown.
|
@ -813,6 +813,18 @@ diff -x '*.tgz' -x '*.lock' -uNr packages/rancher-monitoring/charts-original/tem
|
||||||
labels:
|
labels:
|
||||||
app: {{ template "kube-prometheus-stack.name" . }}-kube-controller-manager
|
app: {{ template "kube-prometheus-stack.name" . }}-kube-controller-manager
|
||||||
{{ include "kube-prometheus-stack.labels" . | indent 4 }}
|
{{ include "kube-prometheus-stack.labels" . | indent 4 }}
|
||||||
|
diff -x '*.tgz' -x '*.lock' -uNr packages/rancher-monitoring/charts-original/templates/exporters/kube-dns/servicemonitor.yaml packages/rancher-monitoring/charts/templates/exporters/kube-dns/servicemonitor.yaml
|
||||||
|
--- packages/rancher-monitoring/charts-original/templates/exporters/kube-dns/servicemonitor.yaml
|
||||||
|
+++ packages/rancher-monitoring/charts/templates/exporters/kube-dns/servicemonitor.yaml
|
||||||
|
@@ -3,7 +3,7 @@
|
||||||
|
kind: ServiceMonitor
|
||||||
|
metadata:
|
||||||
|
name: {{ template "kube-prometheus-stack.fullname" . }}-kube-dns
|
||||||
|
- namespace: {{ template "kube-prometheus-stack.namespace" . }}
|
||||||
|
+ namespace: "kube-system"
|
||||||
|
labels:
|
||||||
|
app: {{ template "kube-prometheus-stack.name" . }}-kube-dns
|
||||||
|
{{ include "kube-prometheus-stack.labels" . | indent 4 }}
|
||||||
diff -x '*.tgz' -x '*.lock' -uNr packages/rancher-monitoring/charts-original/templates/exporters/kubelet/servicemonitor.yaml packages/rancher-monitoring/charts/templates/exporters/kubelet/servicemonitor.yaml
|
diff -x '*.tgz' -x '*.lock' -uNr packages/rancher-monitoring/charts-original/templates/exporters/kubelet/servicemonitor.yaml packages/rancher-monitoring/charts/templates/exporters/kubelet/servicemonitor.yaml
|
||||||
--- packages/rancher-monitoring/charts-original/templates/exporters/kubelet/servicemonitor.yaml
|
--- packages/rancher-monitoring/charts-original/templates/exporters/kubelet/servicemonitor.yaml
|
||||||
+++ packages/rancher-monitoring/charts/templates/exporters/kubelet/servicemonitor.yaml
|
+++ packages/rancher-monitoring/charts/templates/exporters/kubelet/servicemonitor.yaml
|
||||||
|
|
Loading…
Reference in New Issue