File tree Expand file tree Collapse file tree 1 file changed +34
-0
lines changed
tests/assets/steady-load/templates Expand file tree Collapse file tree 1 file changed +34
-0
lines changed Original file line number Diff line number Diff line change 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
You can’t perform that action at this time.
0 commit comments