-
Notifications
You must be signed in to change notification settings - Fork 1
/
deployment.yml
40 lines (40 loc) · 1013 Bytes
/
deployment.yml
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
apiVersion : apps/v1
kind: Deployment
metadata:
name: akshealthtest
spec:
replicas: 2
selector:
matchLabels:
app: akshealthtest
template:
metadata:
labels:
app: akshealthtest
spec:
containers:
- name: akshealthtest
image: aksdevregistry.azurecr.io/akshealthtest:0.2.0
imagePullPolicy: Always
resources:
limits:
memory: 1024Mi
cpu: "1"
ports:
- containerPort: 5000
livenessProbe:
httpGet:
path: /health/live
port: 5000
initialDelaySeconds: 5
timeoutSeconds: 3
periodSeconds: 10
failureThreshold: 1
readinessProbe:
httpGet:
path: /health/ready
port: 5000
initialDelaySeconds: 5
timeoutSeconds: 3
periodSeconds: 10
failureThreshold: 1