forked from kubernetes/kubernetes
-
Notifications
You must be signed in to change notification settings - Fork 111
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request kubernetes#128666 from macsko/fix_scale_down_in_ev…
…enthandlingpodupdate_scheduler_perf_test_case Fix pod scale down failure in EventHandlingPodUpdate scheduler_perf test
- Loading branch information
Showing
4 changed files
with
29 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 13 additions & 0 deletions
13
...integration/scheduler_perf/event_handling/templates/podupdate-pod-blocker-scale-down.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
apiVersion: v1 | ||
kind: Pod | ||
metadata: | ||
name: pod-blocker-{{ .Index }} | ||
spec: | ||
containers: | ||
- image: registry.k8s.io/pause:3.10 | ||
name: pause | ||
resources: | ||
requests: | ||
cpu: 0.0001 | ||
memory: 1Mi | ||
nodeName: scheduler-perf-node |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,5 +9,5 @@ spec: | |
resources: | ||
requests: | ||
cpu: 0.0001 | ||
memory: 1Mi | ||
memory: {{ div 30000 .Count }}Mi | ||
nodeName: scheduler-perf-node |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters