-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathwebmail.yaml
More file actions
executable file
·96 lines (96 loc) · 2.18 KB
/
webmail.yaml
File metadata and controls
executable file
·96 lines (96 loc) · 2.18 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
kind: Service
apiVersion: v1
metadata:
name: webmail
namespace: monitoring
spec:
type: LoadBalancer
selector:
app: webmail
ports:
#- protocol: "TCP"
# port: 443
#- protocol: TCP
# port: 80
# targetPort: 80
# name: http
- protocol: TCP
port: 443
targetPort: 443
name: https
- protocol: TCP
port: 433
targetPort: 433
name: http
#- protocol: TCP
# port: 587
# targetPort: 587
# name: submission
# port: 433
# targetPort: 433
#targetPort: http
#clusterIP: None
#name: webmail
#nodePort: 30080
#type: NodePort
---
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: webmail
namespace: monitoring
spec:
replicas: 1
template:
metadata:
labels:
app: webmail
track: stable
spec:
containers:
- name: webmail
#image: "udacity/example-auth:1.0.0"
image: webmail
imagePullPolicy: Never
ports:
#- name: http
#containerPort: 80
- name: https
containerPort: 443
- name: httpse
containerPort: 433
#- name: submission
# containerPort: 587
- name: health
containerPort: 81
#resources:
# limits:
# cpu: "1"
#memory: 2Gi
# memory: 1Gi
#memory: 512Mi
# requests:
# cpu: 200m
# memory: 1Gi
#memory: 256Mi
#dnsPolicy: ClusterFirst # errors with this version
#restartPolicy: Never # errors with this version
#resources:
# limits:
# cpu: 0.9
# memory: "5500Mi"
#livenessProbe:
# httpGet:
# path: /healthz
# port: 81
# scheme: HTTP
# initialDelaySeconds: 5
# periodSeconds: 15
# timeoutSeconds: 5
#readinessProbe:
# httpGet:
# path: /readiness
# port: 81
# scheme: HTTP
# initialDelaySeconds: 5
# timeoutSeconds: 1