File tree Expand file tree Collapse file tree 5 files changed +94
-0
lines changed Expand file tree Collapse file tree 5 files changed +94
-0
lines changed Original file line number Diff line number Diff line change
1
+ # Running Scale tests with kube burner
2
+ ## Steps
3
+ - [ Download] ( https://github.com/cloud-bulldozer/kube-burner/releases ) kube burner binary
4
+ - Untar the tar file
5
+ ```
6
+ tar -xvf kube-burner-0.15.1-Linux-ppc64le.tar.gz
7
+ ```
8
+ - Create the storage class
9
+ ```
10
+ kubectl apply -f tests/scale/kube-burner/static/sc.yaml
11
+ ```
12
+ - Run workloads
13
+ ```
14
+ ./kube-burner init --uuid=3fs8d0dgdjknwf49s356g3 -c tests/scale/kube-burner/config.yaml
15
+ ```
Original file line number Diff line number Diff line change
1
+ ---
2
+ global :
3
+ writeToFile : true
4
+ metricsDirectory : collected-metrics
5
+ measurements :
6
+ - name : podLatency
7
+ esIndex : kube-burner
8
+
9
+ jobs :
10
+ - name : api-intensive-create
11
+ jobIterations : 10
12
+ qps : 10
13
+ burst : 10
14
+ jobType : create
15
+ namespacedIterations : false
16
+ namespace : kube-system-test
17
+ podWait : true
18
+ cleanup : true
19
+ waitFor : []
20
+ waitWhenFinished : true
21
+ objects :
22
+ - objectTemplate : templates/pvc.yaml
23
+ replicas : 10
24
+ - objectTemplate : templates/pod.yaml
25
+ replicas : 10
26
+
27
+ - name : ensure-pods-removal
28
+ qps : 10
29
+ burst : 10
30
+ jobType : delete
31
+ waitForDeletion : true
32
+ objects :
33
+ - kind : Pod
34
+ labelSelector : {kube-burner-job: api-intensive-create}
35
+
36
+ - name : remove-pvc
37
+ qps : 10
38
+ burst : 10
39
+ jobType : delete
40
+ waitForDeletion : true
41
+ objects :
42
+ - kind : PersistentVolumeClaim
43
+ labelSelector : {kube-burner-job: api-intensive-create}
Original file line number Diff line number Diff line change
1
+ kind : StorageClass
2
+ apiVersion : storage.k8s.io/v1
3
+ metadata :
4
+ name : powervs-sc
5
+ provisioner : powervs.csi.ibm.com
6
+ volumeBindingMode : WaitForFirstConsumer
7
+ parameters :
8
+ type : tier3
9
+ csi.storage.k8s.io/fstype : xfs
Original file line number Diff line number Diff line change
1
+ apiVersion : v1
2
+ kind : Pod
3
+ metadata :
4
+ name : app-{{.Iteration}}-{{.Replica}}
5
+ spec :
6
+ containers :
7
+ - name : app-{{.Iteration}}-{{.Replica}}
8
+ image : k8s.gcr.io/pause:3.6
9
+ command : ["/pause"]
10
+ volumeMounts :
11
+ - name : persistent-storage-{{.Iteration}}-{{.Replica}}
12
+ mountPath : /data
13
+ volumes :
14
+ - name : persistent-storage-{{.Iteration}}-{{.Replica}}
15
+ persistentVolumeClaim :
16
+ claimName : powervs-claim-{{.Iteration}}-{{.Replica}}
Original file line number Diff line number Diff line change
1
+ apiVersion : v1
2
+ kind : PersistentVolumeClaim
3
+ metadata :
4
+ name : powervs-claim-{{.Iteration}}-{{.Replica}}
5
+ spec :
6
+ accessModes :
7
+ - ReadWriteOnce
8
+ storageClassName : powervs-sc
9
+ resources :
10
+ requests :
11
+ storage : 1G
You can’t perform that action at this time.
0 commit comments