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 ## Resources
- https://github.com/uswitch/kiam - https://github.com/uswitch/kiam
- https://www.bluematador.com/blog/iam-access-in-kubernetes-kube2iam-vs-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) ![Kiam overview](./kiam_architecure.png)

View File

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

View File

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