blob: a9656e905bad32baf4f0a5c63851adb073ba530a (
plain) (
blame)
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
|
apiVersion: extensions/v1beta2
kind: Deployment
metadata:
name: showreadiness
spec:
revisionHistoryLimit: 5
replicas: 3
selector:
matchLabels:
app: showreadiness
template:
metadata:
labels:
app: showreadiness
spec:
containers:
- name: showreadiness
image: showreadiness:1 #Your Repo Here
livenessProbe:
httpGet:
path: /ping
port: 80
scheme: HTTP
initialDelaySeconds: 10
timeoutSeconds: 2
readinessProbe:
httpGet:
path: /ready
port: 80
scheme: HTTP
initialDelaySeconds: 12
timeoutSeconds: 1
resources:
requests:
memory: 16Mi
limits:
memory: 16Mi
|