mirror of
https://github.com/rubenhensen/k8scd.git
synced 2026-09-17 18:22:54 +02:00
Whishper: disable logging volume
This commit is contained in:
@@ -22,16 +22,7 @@ spec:
|
|||||||
labels:
|
labels:
|
||||||
io.kompose.service: mongo
|
io.kompose.service: mongo
|
||||||
spec:
|
spec:
|
||||||
securityContext:
|
|
||||||
runAsGroup: 0
|
|
||||||
runAsUser: 0
|
|
||||||
supplementalGroups:
|
|
||||||
- 6
|
|
||||||
- 2000
|
|
||||||
containers:
|
containers:
|
||||||
- args:
|
|
||||||
- --logpath
|
|
||||||
- /var/log/mongodb/mongod.log
|
|
||||||
env:
|
env:
|
||||||
- name: DB_PASS
|
- name: DB_PASS
|
||||||
valueFrom:
|
valueFrom:
|
||||||
@@ -70,13 +61,13 @@ spec:
|
|||||||
volumeMounts:
|
volumeMounts:
|
||||||
- mountPath: /data/db
|
- mountPath: /data/db
|
||||||
name: mongo-claim2
|
name: mongo-claim2
|
||||||
- mountPath: /var/log/mongodb
|
# - mountPath: /var/log/mongodb
|
||||||
name: mongo-claim3
|
# name: mongo-claim3
|
||||||
restartPolicy: Always
|
restartPolicy: Always
|
||||||
volumes:
|
volumes:
|
||||||
- name: mongo-claim2
|
- name: mongo-claim2
|
||||||
persistentVolumeClaim:
|
persistentVolumeClaim:
|
||||||
claimName: mongo-claim2
|
claimName: mongo-claim2
|
||||||
- name: mongo-claim3
|
# - name: mongo-claim3
|
||||||
persistentVolumeClaim:
|
# persistentVolumeClaim:
|
||||||
claimName: mongo-claim3
|
# claimName: mongo-claim3
|
||||||
|
|||||||
Reference in New Issue
Block a user