Use Loki SSD mode

Signed-off-by: Michel Hollands <michel.hollands@grafana.com>
This commit is contained in:
Michel Hollands 2023-06-29 13:50:24 +01:00
parent 15de54c8a6
commit d67a5bd3e0
2 changed files with 19 additions and 10 deletions

View File

@ -51,7 +51,7 @@ data:
{{- if .Values.local.enabled }} {{- if .Values.local.enabled }}
loki.write "local" { loki.write "local" {
endpoint { endpoint {
url = "http://{{- .Release.Name -}}-loki.{{- .Release.Namespace -}}.svc.cluster.local:3100/loki/api/v1/push" url = "http://loki-gateway.{{- .Release.Namespace -}}.svc.cluster.local:80/loki/api/v1/push"
} }
} }

View File

@ -16,23 +16,29 @@ cloud:
username: username:
password: password:
# The following are configuration for the dependencies.
# These should not be changed.
global: global:
minio: minio:
rootUser: "rootuser" rootUser: "rootuser"
rootPassword: "rootpassword" rootPassword: "rootpassword"
# The following are configuration for the dependencies.
# These should not be changed.
loki: loki:
loki: loki:
auth_enabled: false auth_enabled: false
commonConfig: commonConfig:
replication_factor: 1 replication_factor: 1
storage: storage:
type: 'filesystem' type: "s3"
singleBinary: s3:
replicas: 1 endpoint: "{{ .Release.Name }}-minio.{{ .Release.Namespace }}.svc:9000"
extraArgs: ["-log.level=debug"] access_key_id: "{{ .Values.global.minio.rootUser }}"
secret_access_key: "{{ .Values.global.minio.rootPassword }}"
insecure: true
bucketNames:
chunks: loki-chunks
ruler: loki-ruler
monitoring: monitoring:
dashboards: dashboards:
enabled: false enabled: false
@ -85,9 +91,13 @@ mimir-distributed:
insecure: true insecure: true
minio: minio:
rootUser: rootuser rootUser: "{{ .Values.global.minio.rootUser }}"
rootPassword: "{{ .Values.global.minio.rootPassword }}"
buckets: buckets:
- name: loki - name: loki-chunks
policy: none
purge: false
- name: loki-ruler
policy: none policy: none
purge: false purge: false
- name: tempo - name: tempo
@ -106,6 +116,5 @@ minio:
requests: requests:
cpu: 100m cpu: 100m
memory: 128Mi 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. # 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/" configPathmc: "/tmp/minio/mc/"