Fixed volumes
This commit is contained in:
parent
32a6063edd
commit
882a65f09b
@ -25,6 +25,10 @@ spec:
|
||||
labels:
|
||||
app: program-service-mongo
|
||||
spec:
|
||||
volumes:
|
||||
- name: data
|
||||
persistentVolumeClaim:
|
||||
claimName: program-service-mongo-pvc
|
||||
containers:
|
||||
- name: program-service-mongo
|
||||
image: mongo
|
||||
@ -33,7 +37,7 @@ spec:
|
||||
name: program-service-mongo-config
|
||||
volumeMounts:
|
||||
- mountPath: /data/db
|
||||
name: program-service-mongo-pvc
|
||||
name: data
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
|
@ -25,6 +25,10 @@ spec:
|
||||
labels:
|
||||
app: job-orchestrator-postgres
|
||||
spec:
|
||||
volumes:
|
||||
- name: data
|
||||
persistentVolumeClaim:
|
||||
claimName: job-orchestrator-postgres-pvc
|
||||
containers:
|
||||
- name: job-orchestrator-postgres
|
||||
image: postgresql:13
|
||||
@ -33,7 +37,7 @@ spec:
|
||||
name: job-orchestrator-postgres-config
|
||||
volumeMounts:
|
||||
- mountPath: /var/lib/postgresql/data
|
||||
name: job-orchestrator-postgres-pvc
|
||||
name: data
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
|
Loading…
Reference in New Issue
Block a user