mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-27 05:27:21 +00:00
Merge pull request #93730 from adtac/MixedSchedulingBasePod
scheduler_perf/MixedSchedulingBasePod: label nodes for pod affinity
This commit is contained in:
commit
fa76242bba
@ -212,6 +212,11 @@
|
|||||||
numPodsToSchedule: 2000
|
numPodsToSchedule: 2000
|
||||||
- template:
|
- template:
|
||||||
desc: MixedSchedulingBasePod
|
desc: MixedSchedulingBasePod
|
||||||
|
nodes:
|
||||||
|
nodeTemplatePath: config/node-default.yaml
|
||||||
|
labelNodePrepareStrategy:
|
||||||
|
labelKey: "topology.kubernetes.io/zone"
|
||||||
|
labelValues: ["zone1"]
|
||||||
initPods:
|
initPods:
|
||||||
- podTemplatePath: config/pod-default.yaml
|
- podTemplatePath: config/pod-default.yaml
|
||||||
- podTemplatePath: config/pod-with-pod-affinity.yaml
|
- podTemplatePath: config/pod-with-pod-affinity.yaml
|
||||||
|
Loading…
Reference in New Issue
Block a user