chore: improve monitoring setting (#11)

This commit is contained in:
Loc Mai 2022-01-06 07:44:06 +07:00 committed by GitHub
parent 79280d3230
commit be1b542046
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
8 changed files with 16 additions and 26 deletions

View File

@ -54,37 +54,27 @@ argo-cd:
enabled: true
serviceMonitor:
enabled: true
additionalLabels:
release: "kube-prometheus-stack"
controller:
metrics:
enabled: true
serviceMonitor:
enabled: true
additionalLabels:
release: "kube-prometheus-stack"
repoServer:
metrics:
enabled: true
serviceMonitor:
enabled: true
additionalLabels:
release: "kube-prometheus-stack"
redis:
metrics:
enabled: true
serviceMonitor:
enabled: true
additionalLabels:
release: "kube-prometheus-stack"
dex:
metrics:
enabled: true
serviceMonitor:
enabled: true
additionalLabels:
release: "kube-prometheus-stack"

View File

@ -4,9 +4,6 @@ cert-manager:
enabled: true
servicemonitor:
enabled: true
labels:
release: kube-prometheus-stack
issuer:
email: khuedoan98@gmail.com

View File

@ -16,7 +16,3 @@ cloudflared:
enabled: true
metricsEndpoints:
- port: http
# additional labels for the PodMonitor
extraLabels:
release: kube-prometheus-stack

View File

@ -8,9 +8,6 @@ external-dns:
key: value
extraArgs:
- --annotation-filter=external-dns.alpha.kubernetes.io/exclude notin (true)
labels:
release: kube-prometheus-stack
metrics:
enabled: true

View File

@ -8,8 +8,6 @@ ingress-nginx:
serviceMonitor:
enabled: true
additionalLabels:
release: kube-prometheus-stack
tcp:
22: gitea/gitea-ssh:22

View File

@ -1,7 +1,5 @@
loki:
serviceMonitor:
enabled: true
additionalLabels:
release: kube-prometheus-stack
annotations: {}
# scrapeTimeout: 10s

View File

@ -4,8 +4,6 @@ kind: ServiceMonitor
metadata:
name: longhorn
namespace: longhorn-system
labels:
release: kube-prometheus-stack
spec:
selector:
matchLabels:

View File

@ -15,3 +15,19 @@ kube-prometheus-stack:
- name: Loki
type: loki
url: http://loki.loki:3100
prometheus:
prometheusSpec:
serviceMonitorSelectorNilUsesHelmValues: false
serviceMonitorNamespaceSelector: {}
podMonitorSelectorNilUsesHelmValues: false
podMonitorNamespaceSelector: {}
storageSpec:
volumeClaimTemplate:
spec:
storageClassName: longhorn
accessModes: ["ReadWriteOnce"]
resources:
requests:
storage: 20Gi