Add prometheus and grafana

parent 078d0d0d
environments:
oas:
values:
- "../../../../config/values/local.yaml"
releases:
- name: "oas-{{ .Environment.Values.releaseName }}-prometheus"
namespace: "oas"
chart: "stable/prometheus-operator"
values:
- "../values/prometheus.yaml.gotmpl"
- "/oas/config/values/apps/prometheus.yaml"
wait: false
# Depending on which DNS solution you have installed in your cluster enable the right exporter
coreDns:
enabled: false
kubeDns:
enabled: true
alertmanager:
alertmanagerSpec:
storage:
volumeClaimTemplate:
metadata:
name: alertmanager
spec:
accessModes: ["ReadWriteOnce"]
resources:
requests:
storage: 2Gi
prometheus:
prometheusSpec:
storageSpec:
volumeClaimTemplate:
metadata:
name: prometheus
spec:
accessModes: ["ReadWriteOnce"]
resources:
requests:
storage: 5Gi
grafana:
adminPassword: "MCNLh8Vgfm5Xmd5t7C7T4Ice"
ingress:
enabled: true
annotations:
kubernetes.io/tls-acme: "true"
hosts:
- "grafana.{{ .Environment.Values.domain }}"
tls:
- secretName: grafana-tls
hosts:
- "grafana.{{ .Environment.Values.domain }}"
persistence:
enabled: true
size: 2Gi
accessModes: ["ReadWriteOnce"]
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment