Skip to content

Commit e29bc90

Browse files
feat: add deployment template for kube-burner
1 parent 298ea01 commit e29bc90

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
apiVersion: apps/v1
2+
kind: Deployment
3+
metadata:
4+
name: api-intensive-{{.Replica}}
5+
labels:
6+
group: load
7+
svc: api-intensive-{{.Replica}}
8+
spec:
9+
replicas: 1
10+
selector:
11+
matchLabels:
12+
name: api-intensive-{{.Replica}}
13+
template:
14+
metadata:
15+
labels:
16+
group: load
17+
name: api-intensive-{{.Replica}}
18+
spec:
19+
containers:
20+
- image: registry.k8s.io/pause:3.1
21+
name: api-intensive-{{.Replica}}
22+
dnsPolicy: Default
23+
terminationGracePeriodSeconds: 1
24+
# Add not-ready/unreachable tolerations for 15 minutes so that node
25+
# failure doesn't trigger pod deletion.
26+
tolerations:
27+
- key: "node.kubernetes.io/not-ready"
28+
operator: "Exists"
29+
effect: "NoExecute"
30+
tolerationSeconds: 900
31+
- key: "node.kubernetes.io/unreachable"
32+
operator: "Exists"
33+
effect: "NoExecute"
34+
tolerationSeconds: 900

0 commit comments

Comments
 (0)