-
Notifications
You must be signed in to change notification settings - Fork 3
/
du-intensive-remove.yaml
67 lines (62 loc) · 1.59 KB
/
du-intensive-remove.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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
---
jobs:
- name: du-workload-remove
qps: 2
burst: 2
jobType: delete
waitForDeletion: true
objects:
- kind: Deployment
labelSelector: {kube-burner-job: du-workload}
apiVersion: apps/v1
- name: ensure-pods-removal
qps: 10
burst: 10
jobType: delete
waitForDeletion: true
objects:
- kind: Pod
labelSelector: {kube-burner-job: du-workload}
- name: remove-configmaps-secrets
qps: 2
burst: 2
jobType: delete
waitForDeletion: true
objects:
- kind: ConfigMap
labelSelector: {kube-burner-job: du-workload}
- kind: Secret
labelSelector: {kube-burner-job: du-workload}
- name: remove-services
qps: 2
burst: 2
jobType: delete
waitForDeletion: true
objects:
- kind: Service
labelSelector: {kube-burner-job: du-workload}
- kind: ServiceAccount
labelSelector: {kube-burner-job: du-workload}
- name: remove-roles
qps: 2
burst: 2
jobType: delete
namespace: workload
waitForDeletion: true
objects:
- kind: RoleBinding
labelSelector: {kube-burner-job: du-workload}
apiVersion: rbac.authorization.k8s.io/v1
- kind: Role
labelSelector: {kube-burner-job: du-workload}
apiVersion: rbac.authorization.k8s.io/v1
- name: remove-volumes
qps: 2
burst: 2
jobType: delete
waitForDeletion: true
objects:
- kind: PersistentVolumeClaim
labelSelector: {kube-burner-job: du-workload}
- kind: PersistentVolume
labelSelector: {kube-burner-job: du-workload}