-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathwebserver-deployment.yaml
More file actions
46 lines (46 loc) · 1.1 KB
/
webserver-deployment.yaml
File metadata and controls
46 lines (46 loc) · 1.1 KB
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
44
45
46
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
annotations:
kompose.cmd: kompose convert
kompose.version: 1.16.0 (0c01309)
creationTimestamp: null
labels:
io.kompose.service: webserver
name: webserver
spec:
replicas: 1
strategy:
type: Recreate
template:
metadata:
creationTimestamp: null
labels:
io.kompose.service: webserver
spec:
containers:
- image: nginx:1.15.12-alpine
name: webserver
ports:
- containerPort: 80
- containerPort: 443
resources: {}
volumeMounts:
- mountPath: /var/www/html
name: wordpress
- mountPath: /etc/nginx/conf.d
name: webserver-claim1
- mountPath: /etc/letsencrypt
name: certbot-etc
restartPolicy: Always
volumes:
- name: wordpress
persistentVolumeClaim:
claimName: wordpress
- name: webserver-claim1
persistentVolumeClaim:
claimName: webserver-claim1
- name: certbot-etc
persistentVolumeClaim:
claimName: certbot-etc
status: {}