Add monitoring stack
This commit is contained in:
23
grafana/alloy_values.yaml
Normal file
23
grafana/alloy_values.yaml
Normal file
@@ -0,0 +1,23 @@
|
||||
alloy:
|
||||
configMap:
|
||||
content: |-
|
||||
logging {
|
||||
level = "info"
|
||||
format = "logfmt"
|
||||
}
|
||||
|
||||
discovery.kubernetes "pods" {
|
||||
role = "pod"
|
||||
}
|
||||
|
||||
loki.source.kubernetes "pods" {
|
||||
targets = discovery.kubernetes.pods.targets
|
||||
forward_to = [loki.write.loki.receiver]
|
||||
|
||||
}
|
||||
|
||||
loki.write "loki" {
|
||||
endpoint {
|
||||
url = "http://loki.grafana.svc.cluster.local:3100/loki/api/v1/push"
|
||||
}
|
||||
}
|
||||
9
grafana/grafana_values.yaml
Normal file
9
grafana/grafana_values.yaml
Normal file
@@ -0,0 +1,9 @@
|
||||
ingress:
|
||||
enabled: true
|
||||
hosts:
|
||||
- watcher.incngrnt.ca
|
||||
annotations:
|
||||
"traefik.ingress.kubernetes.io/router.tls.certresolver": "letsencrypt"
|
||||
|
||||
persistence:
|
||||
enabled: true
|
||||
70
grafana/loki_values.yaml
Normal file
70
grafana/loki_values.yaml
Normal file
@@ -0,0 +1,70 @@
|
||||
loki:
|
||||
commonConfig:
|
||||
replication_factor: 1
|
||||
schemaConfig:
|
||||
configs:
|
||||
- from: "2024-04-01"
|
||||
store: tsdb
|
||||
object_store: s3
|
||||
schema: v13
|
||||
index:
|
||||
prefix: loki_index_
|
||||
period: 24h
|
||||
pattern_ingester:
|
||||
enabled: true
|
||||
limits_config:
|
||||
allow_structured_metadata: true
|
||||
volume_enabled: true
|
||||
ruler:
|
||||
enable_api: true
|
||||
auth_enabled: false
|
||||
|
||||
resultsCache:
|
||||
resources:
|
||||
request:
|
||||
cpu: 100ms
|
||||
memory: 500Mi
|
||||
limits:
|
||||
memory: 500Mi
|
||||
chunksCache:
|
||||
resources:
|
||||
request:
|
||||
cpu: 100ms
|
||||
memory: 500Mi
|
||||
limits:
|
||||
memory: 500Mi
|
||||
minio:
|
||||
enabled: true
|
||||
|
||||
|
||||
deploymentMode: SingleBinary
|
||||
|
||||
singleBinary:
|
||||
replicas: 1
|
||||
|
||||
# Zero out replica counts of other deployment modes
|
||||
backend:
|
||||
replicas: 0
|
||||
read:
|
||||
replicas: 0
|
||||
write:
|
||||
replicas: 0
|
||||
|
||||
ingester:
|
||||
replicas: 0
|
||||
querier:
|
||||
replicas: 0
|
||||
queryFrontend:
|
||||
replicas: 0
|
||||
queryScheduler:
|
||||
replicas: 0
|
||||
distributor:
|
||||
replicas: 0
|
||||
compactor:
|
||||
replicas: 0
|
||||
indexGateway:
|
||||
replicas: 0
|
||||
bloomCompactor:
|
||||
replicas: 0
|
||||
bloomGateway:
|
||||
replicas: 0
|
||||
3
grafana/prometheus_values.yaml
Normal file
3
grafana/prometheus_values.yaml
Normal file
@@ -0,0 +1,3 @@
|
||||
rometheus-node-exporter:
|
||||
rbac:
|
||||
pspEnabled: true
|
||||
Reference in New Issue
Block a user