blob: 7cb9ce07e13b5d5fba03c5bdbc97c887a1d995b5 (
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
|
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: showreadiness
spec:
replicas: 3
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
|