-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathweather-deployment.yaml
53 lines (53 loc) · 1.28 KB
/
weather-deployment.yaml
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
47
48
49
50
51
52
53
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
annotations:
kompose.cmd: kompose --provider Kubernetes --verbose convert --verbose --emptyvols
-d
kompose.version: 1.12.0 (0ab07be)
creationTimestamp: null
labels:
io.kompose.service: weather
name: weather
spec:
replicas: 1
strategy:
type: Recreate
template:
metadata:
creationTimestamp: null
labels:
io.kompose.service: weather
spec:
containers:
- image: weather-nginx:v3
livenessProbe:
exec:
command:
- /usr/local/bin/docker-nginx-healthcheck
failureThreshold: 5
periodSeconds: 300
timeoutSeconds: 60
name: weather
ports:
- containerPort: 80
resources: {}
volumeMounts:
- mountPath: /etc/nginx/conf.d
name: weather-empty0
- mountPath: /usr/share/nginx/html
name: weather-empty1
- mountPath: /etc/nginx/nginx.conf
name: weather-empty2
readOnly: true
hostname: weather
restartPolicy: Always
subdomain: local
volumes:
- emptyDir: {}
name: weather-empty0
- emptyDir: {}
name: weather-empty1
- emptyDir: {}
name: weather-empty2
status: {}