mirror of
https://github.com/rubenhensen/k8scd.git
synced 2026-09-19 02:52:56 +02:00
Whishper: change to volumeMount
This commit is contained in:
@@ -67,16 +67,11 @@ spec:
|
|||||||
ports:
|
ports:
|
||||||
- containerPort: 27017
|
- containerPort: 27017
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
volumeDevices:
|
volumeMounts:
|
||||||
- devicePath: /data/db
|
- mountPath: /data/db
|
||||||
name: mongo-claim0
|
name: mongo-claim0
|
||||||
- devicePath: /var/log/mongodb
|
- mountPath: /var/log/mongodb
|
||||||
name: mongo-claim1
|
name: mongo-claim1
|
||||||
# volumeMounts:
|
|
||||||
# - mountPath: /data/db
|
|
||||||
# name: mongo-claim0
|
|
||||||
# - mountPath: /var/log/mongodb
|
|
||||||
# name: mongo-claim1
|
|
||||||
restartPolicy: Always
|
restartPolicy: Always
|
||||||
volumes:
|
volumes:
|
||||||
- name: mongo-claim0
|
- name: mongo-claim0
|
||||||
|
|||||||
Reference in New Issue
Block a user