File tree Expand file tree Collapse file tree 2 files changed +46
-0
lines changed
test/integration/scheduler_perf/config Expand file tree Collapse file tree 2 files changed +46
-0
lines changed Original file line number Diff line number Diff line change 1383
1383
params :
1384
1384
gatedPods : 10000
1385
1385
measurePods : 20000
1386
+
1387
+ # This test case simulates the scheduling when pods selected to schedule have deletionTimestamp set.
1388
+ # There was a memory leak related to this path of code fixed in:
1389
+ # https://github.com/kubernetes/kubernetes/pull/126962
1390
+ # Main goal of this test case is to verify if InFlightEvents is empty after the test.
1391
+ - name : SchedulingDeletedPodsWithFinalizers
1392
+ featureGates :
1393
+ SchedulerQueueingHints : true
1394
+ defaultPodTemplatePath : config/templates/light-pod.yaml
1395
+ workloadTemplate :
1396
+ - opcode : createNodes
1397
+ countParam : $initNodes
1398
+ - opcode : createPods
1399
+ # Create pods with finalizers and delete them before they are scheduled.
1400
+ # DeletionTimestamp field should be populated then,
1401
+ # but a few pods should still be chosen into the scheduling.
1402
+ countParam : $deletingPods
1403
+ podTemplatePath : config/templates/pod-with-finalizer.yaml
1404
+ skipWaitToCompletion : true
1405
+ deletePodsPerSecond : 100
1406
+ - opcode : createPods
1407
+ countParam : $measurePods
1408
+ collectMetrics : true
1409
+ workloads :
1410
+ - name : 10Node_100DeletingPods
1411
+ labels : [integration-test, fast]
1412
+ params :
1413
+ initNodes : 10
1414
+ deletingPods : 100
1415
+ measurePods : 10
1416
+ - name : 1000Node_1000DeletingPods
1417
+ labels : [performance, fast]
1418
+ params :
1419
+ initNodes : 1000
1420
+ deletingPods : 1000
1421
+ measurePods : 1000
Original file line number Diff line number Diff line change
1
+ apiVersion : v1
2
+ kind : Pod
3
+ metadata :
4
+ generateName : pod-
5
+ finalizers :
6
+ - test.k8s.io/finalizer
7
+ spec :
8
+ containers :
9
+ - image : registry.k8s.io/pause:3.10
10
+ name : pause
You can’t perform that action at this time.
0 commit comments