Ruler configuration issue during Thanos Installation #6205
Unanswered
Mohameddgomaa
asked this question in
Questions & Answers
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, I'm trying to install thanos to test it with helm chart. I get this error during installing:
Error: INSTALLATION FAILED: execution error at (thanos/templates/NOTES.txt:78:4):
VALUES VALIDATION:
thanos: ruler configuration
When enabling Ruler component, you must provide a valid configuration.
There are three alternatives to provide it:
1) Provide it using the 'ruler.config' parameter
2) Provide it using an existing Configmap and using the 'ruler.existingConfigmap' parameter
3) Put your ruler.yml under the 'files/conf/' directory
----------------------------------------------------
type: s3
config:
bucket: thanos
endpoint: {{ include "thanos.minio.fullname" . }}.{{ .Release.Namespace }}.svc.cluster.local:9000
access_key: minio
secret_key: minio123
insecure: true
query:
dnsDiscovery:
sidecarsService: kube-prometheus-prometheus-thanos
sidecarsNamespace: monitoring
bucketweb:
enabled: true
compactor:
enabled: true
storegateway:
enabled: true
ruler:
enabled: true
alertmanagers:
- http://kube-prometheus-alertmanager.monitoring.svc.cluster.local:9093
config: |-
groups:
- name: "metamonitoring"
rules:
- alert: "PrometheusDown"
expr: absent(up{prometheus="monitoring/kube-prometheus"})
metrics:
enabled: true
serviceMonitor:
enabled: true
minio:
enabled: true
auth:
rootPassword: minio123
rootUser: minio
monitoringBuckets: thanos
accessKey:
password: minio
secretKey:
password: minio123
Beta Was this translation helpful? Give feedback.
All reactions