Backup
This commit is contained in:
30
gallery/gallery-deployment.yaml
Normal file
30
gallery/gallery-deployment.yaml
Normal file
@ -0,0 +1,30 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: gallery
|
||||
labels:
|
||||
run: gallery
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
run: gallery
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
run: gallery
|
||||
spec:
|
||||
containers:
|
||||
- image: squi/gallery:1.0
|
||||
name: gallery
|
||||
ports:
|
||||
- containerPort: 80
|
||||
volumeMounts:
|
||||
- mountPath: /var/www/html/Sources
|
||||
name: gallery
|
||||
restartPolicy: Always
|
||||
volumes:
|
||||
- name: gallery
|
||||
persistentVolumeClaim:
|
||||
claimName: gallery
|
||||
readOnly: true
|
Reference in New Issue
Block a user