-
Notifications
You must be signed in to change notification settings - Fork 0
/
podman-pod.test.yml
43 lines (42 loc) · 920 Bytes
/
podman-pod.test.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# Save the output of this file and use kubectl create -f to import
# it into Kubernetes.
#
# Created with podman-4.6.1
apiVersion: v1
kind: Pod
metadata:
creationTimestamp: "2023-09-22T05:54:54Z"
labels:
app: Dockerized-Full-Stack-Template-Test
name: Dockerized-Full-Stack-Template-Test
spec:
containers:
- args:
- mongod
image: docker.io/library/mongo:4.0-xenial
name: db
volumeMounts:
- mountPath: /data/configdb
name: vidlyConfig-pvc
- mountPath: /data/db
name: vidly-pvc
- args:
- npm
- test
env:
- name: DB_URL
value: mongodb://db/vidly
image: localhost/backend:latest
name: backend
- args:
- npm
- test
image: localhost/frontend:latest
name: frontend
volumes:
- name: vidlyConfig-pvc
persistentVolumeClaim:
claimName: vidlyConfig
- name: vidly-pvc
persistentVolumeClaim:
claimName: vidly