.
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user