Michel Hollands 15de54c8a6 Add Minio and use in Mimir
Signed-off-by: Michel Hollands <michel.hollands@grafana.com>
2023-06-29 11:01:48 +01:00

111 lines
2.6 KiB
YAML

namespacesToMonitor:
- loki
- mimir
- tempo
clusterName: "observability" # TODO check if this can be derived
local:
enabled: true
cloud:
enabled: false
logs:
endpoint:
username:
password:
metrics:
endpoint:
username:
password:
# The following are configuration for the dependencies.
# These should not be changed.
global:
minio:
rootUser: "rootuser"
rootPassword: "rootpassword"
loki:
loki:
auth_enabled: false
commonConfig:
replication_factor: 1
storage:
type: 'filesystem'
singleBinary:
replicas: 1
extraArgs: ["-log.level=debug"]
monitoring:
dashboards:
enabled: false
rules:
enabled: false
serviceMonitor:
enabled: false
selfMonitoring:
enabled: false
grafanaAgent:
installOperator: false
lokiCanary:
enabled: false
test:
enabled: false
grafana-agent:
agent:
configMap:
create: false
name: "agent-configmap"
key: 'config.river'
mimir-distributed:
minio:
enabled: false
mimir:
structuredConfig:
alertmanager_storage:
s3:
bucket_name: mimir-ruler
access_key_id: "{{ .Values.global.minio.rootUser }}"
endpoint: "{{ .Release.Name }}-minio.{{ .Release.Namespace }}.svc:9000"
secret_access_key: "{{ .Values.global.minio.rootPassword }}"
insecure: true
blocks_storage:
backend: s3
s3:
bucket_name: mimir-tsdb
access_key_id: "{{ .Values.global.minio.rootUser }}"
endpoint: "{{ .Release.Name }}-minio.{{ .Release.Namespace }}.svc:9000"
secret_access_key: "{{ .Values.global.minio.rootPassword }}"
insecure: true
ruler_storage:
s3:
bucket_name: mimir-ruler
access_key_id: "{{ .Values.global.minio.rootUser }}"
endpoint: "{{ .Release.Name }}-minio.{{ .Release.Namespace }}.svc:9000"
secret_access_key: "{{ .Values.global.minio.rootPassword }}"
insecure: true
minio:
rootUser: rootuser
buckets:
- name: loki
policy: none
purge: false
- name: tempo
policy: none
purge: false
- name: mimir-ruler
policy: none
purge: false
- name: mimir-tsdb
policy: none
purge: false
mode: standalone
persistence:
size: 5Gi
resources:
requests:
cpu: 100m
memory: 128Mi
rootPassword: rootpassword
# Changed the mc config path to '/tmp' from '/etc' as '/etc' is only writable by root and OpenShift will not permit this.
configPathmc: "/tmp/minio/mc/"