This commit is contained in:
Julien Cabillot
2021-06-29 12:09:06 -04:00
parent 0b62da643d
commit 2d9dd339d0
8 changed files with 63 additions and 45 deletions

View File

@@ -1,53 +1,52 @@
apiVersion: extensions/v1beta1
apiVersion: apps/v1
kind: Deployment
metadata:
annotations:
kompose.cmd: kompose convert
kompose.version: 1.16.0 (0c01309)
creationTimestamp: null
name: "pigallery2"
labels:
io.kompose.service: pigallery2
name: pigallery2
spec:
replicas: 1
strategy:
type: Recreate
template:
metadata:
creationTimestamp: null
labels:
io.kompose.service: pigallery2
app: "pigallery2"
spec:
automountServiceAccountToken: false
containers:
- env:
- name: "pigallery2"
image: "bpatrik/pigallery2:latest-debian-buster"
env:
- name: NODE_ENV
value: production
image: bpatrik/pigallery2:latest
name: pigallery2
ports:
- containerPort: 80
resources: {}
volumeMounts:
- mountPath: /app/data/config
name: pigallery2-claim0
name: config
- mountPath: /app/data/db
name: db-data
- mountPath: /app/data/images
name: pigallery2-claim2
name: images
- mountPath: /app/data/tmp
name: pigallery2-claim3
name: tmp
restartPolicy: Always
volumes:
- name: pigallery2-claim0
- name: config
persistentVolumeClaim:
claimName: pigallery2-claim0
claimName: config
- name: db-data
persistentVolumeClaim:
claimName: db-data
- name: pigallery2-claim2
- name: images
persistentVolumeClaim:
claimName: pigallery2-claim2
- name: pigallery2-claim3
claimName: images
- name: tmp
persistentVolumeClaim:
claimName: pigallery2-claim3
status: {}
claimName: tmp
replicas: 1
selector:
matchLabels:
app: "pigallery2"