Michel Hollands d67a5bd3e0 Use Loki SSD mode
Signed-off-by: Michel Hollands <michel.hollands@grafana.com>
2023-06-29 13:50:24 +01:00

120 lines
2.9 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:
global:
minio:
rootUser: "rootuser"
rootPassword: "rootpassword"
# The following are configuration for the dependencies.
# These should not be changed.
loki:
loki:
auth_enabled: false
commonConfig:
replication_factor: 1
storage:
type: "s3"
s3:
endpoint: "{{ .Release.Name }}-minio.{{ .Release.Namespace }}.svc:9000"
access_key_id: "{{ .Values.global.minio.rootUser }}"
secret_access_key: "{{ .Values.global.minio.rootPassword }}"
insecure: true
bucketNames:
chunks: loki-chunks
ruler: loki-ruler
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: "{{ .Values.global.minio.rootUser }}"
rootPassword: "{{ .Values.global.minio.rootPassword }}"
buckets:
- name: loki-chunks
policy: none
purge: false
- name: loki-ruler
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
# 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/"