-
Notifications
You must be signed in to change notification settings - Fork 139
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
59 additions
and
41 deletions.
There are no files selected for viewing
100 changes: 59 additions & 41 deletions
100
terraform-modules/aws/helm/kube-prometheus-stack/values.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,52 +1,70 @@ | ||
--- | ||
namespaceOverride: monitoring | ||
# prometheusOperator: | ||
# nodeSelector: | ||
# app-type: my-app | ||
# tolerations: | ||
# - key: "app-type" | ||
# operator: "Equal" | ||
# value: "my-app" | ||
# effect: "NoSchedule" | ||
|
||
# prometheus: | ||
# prometheusSpec: | ||
# nodeSelector: | ||
# app-type: my-app | ||
# tolerations: | ||
# - key: "app-type" | ||
# operator: "Equal" | ||
# value: "my-app" | ||
# effect: "NoSchedule" | ||
# alertmanager: | ||
# enabled: true | ||
# alertmanagerSpec: | ||
# nodeSelector: | ||
# app-type: my-app | ||
# tolerations: | ||
# - key: "app-type" | ||
# operator: "Equal" | ||
# value: "my-app" | ||
# effect: "NoSchedule" | ||
# nodeExporter: | ||
# nodeSelector: | ||
# app-type: my-app | ||
# tolerations: | ||
# - key: "app-type" | ||
# operator: "Equal" | ||
# value: "my-app" | ||
# effect: "NoSchedule" | ||
# storageSpec: | ||
# volumeClaimTemplate: | ||
# spec: | ||
# # storageClassName: gluster | ||
# accessModes: ["ReadWriteOnce"] | ||
# resources: | ||
# requests: | ||
# storage: 25Gi | ||
# additionalScrapeConfigs: | ||
# # Istio scrap endpoints | ||
# # Doc: https://istio.io/latest/docs/ops/integrations/prometheus/#option-2-customized-scraping-configurations | ||
# - job_name: 'istiod' | ||
# kubernetes_sd_configs: | ||
# - role: endpoints | ||
# namespaces: | ||
# names: | ||
# - istio-system | ||
# relabel_configs: | ||
# - source_labels: [__meta_kubernetes_service_name, __meta_kubernetes_endpoint_port_name] | ||
# action: keep | ||
# regex: istiod;http-monitoring | ||
# - job_name: 'envoy-stats' | ||
# metrics_path: /stats/prometheus | ||
# kubernetes_sd_configs: | ||
# - role: pod | ||
|
||
# relabel_configs: | ||
# - source_labels: [__meta_kubernetes_pod_container_port_name] | ||
# action: keep | ||
# regex: '.*-envoy-prom' | ||
# # End of istio scrape endpoints | ||
|
||
grafana: | ||
adminPassword: prom-operator | ||
ingress: | ||
enabled: true | ||
annotations: | ||
kubernetes.io/ingress.class: ingress-external | ||
kubernetes.io/ingress.class: istio | ||
hosts: | ||
- grafana.kubernetes-ops.com | ||
# nodeSelector: | ||
# app-type: my-app | ||
# tolerations: | ||
# - key: "app-type" | ||
# operator: "Equal" | ||
# value: "my-app" | ||
# effect: "NoSchedule" | ||
tls: | ||
- hosts: | ||
- grafana.kubernetes-ops.com # This should match a DNS name in the Certificate | ||
# secretName: domain-wildcard # This should match the Certificate secretName | ||
additionalDataSources: | ||
- name: loki | ||
access: proxy | ||
basicAuth: false | ||
basicAuthPassword: pass | ||
basicAuthUser: daco | ||
editable: false | ||
jsonData: | ||
tlsSkipVerify: true | ||
orgId: 1 | ||
type: loki | ||
url: http://loki-stack:3100 | ||
version: 1 | ||
|
||
# Istio changes to not add the istio sidecar to the prometheus operator's addmission webhook patch | ||
# https://github.com/prometheus-community/helm-charts/issues/479#issuecomment-752709725 | ||
prometheusOperator: | ||
admissionWebhooks: | ||
patch: | ||
podAnnotations: | ||
sidecar.istio.io/inject: "false" |