-
Notifications
You must be signed in to change notification settings - Fork 0
/
kuard-prod.yaml
50 lines (50 loc) · 1.04 KB
/
kuard-prod.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
apiVersion: apps/v1
kind: Deployment
metadata:
labels:
app: kuard
name: kuard-prod
spec:
strategy:
rollingUpdate:
maxSurge: 25%
maxUnavailable: 25%
type: RollingUpdate
replicas: 5
selector:
matchLabels:
app: kuard
track: stable
template:
metadata:
labels:
app: kuard
track: stable
spec:
containers:
- image: gcr.io/kuar-demo/kuard-amd64:3
imagePullPolicy: Always
name: kuard
resources:
requests:
cpu: "50m"
memory: "32Mi"
limits:
cpu: "1000m"
memory: "256Mi"
livenessProbe:
httpGet:
path: /healthy
port: 8080
initialDelaySeconds: 5
timeoutSeconds: 1
periodSeconds: 10
failureThreshold: 3
readinessProbe:
httpGet:
path: /ready
port: 8080
initialDelaySeconds: 30
timeoutSeconds: 1
periodSeconds: 10
failureThreshold: 3