Adjust scrape internal for kiam to match others, and servicemonitor for agents

This commit is contained in:
Stefan Reimer 2020-08-14 22:31:34 +01:00
parent 770222bcd7
commit bbab7de883
3 changed files with 7 additions and 1 deletions

View File

@ -35,5 +35,5 @@ By default all access to the meta-data service is blocked, expect for:
## Resources
- https://github.com/uswitch/kiam
- https://www.bluematador.com/blog/iam-access-in-kubernetes-kube2iam-vs-kiam
- [Grafana Dashboard](https://raw.githubusercontent.com/uswitch/kiam/master/docs/dashboard-prom.json)
![Kiam overview](./kiam_architecure.png)

View File

@ -26,6 +26,7 @@ kiam:
prometheus:
servicemonitor:
enabled: false
interval: 30s
labels:
release: metrics
log:
@ -53,6 +54,7 @@ kiam:
prometheus:
servicemonitor:
enabled: false
interval: 30s
labels:
release: metrics
log:

View File

@ -59,6 +59,10 @@ kubezero:
prometheus:
servicemonitor:
enabled: {{ .Values.metrics.enabled }}
agent:
prometheus:
servicemonitor:
enabled: {{ .Values.metrics.enabled }}
{{- end }}
{{- if not .Values.kiam.not_ready }}