This commit is contained in:
2026-03-13 14:34:08 +00:00
parent 35bd492808
commit cfebfdc579

View File

@@ -69,19 +69,34 @@ spec:
labels:
app: loki
spec:
securityContext:
runAsNonRoot: true
runAsUser: 10001
runAsGroup: 10001
fsGroup: 10001
fsGroupChangePolicy: "OnRootMismatch"
containers:
- name: loki
image: grafana/loki
image: grafana/loki:3.6.7
args:
- -config.file=/etc/loki/loki-config.yaml
- -config.expand-env=true
ports:
- containerPort: 3100
- name: http
containerPort: 3100
volumeMounts:
- name: config
mountPath: /etc/loki
- name: storage
mountPath: /loki
readinessProbe:
httpGet:
path: /ready
port: 3100
livenessProbe:
httpGet:
path: /ready
port: 3100
volumes:
- name: config
configMap: