File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -4,10 +4,11 @@ All notable changes to this project will be documented in this file.
44
55The format is based on [ Keep a Changelog] ( https://keepachangelog.com/en/1.1.0/ ) .
66
7- ## [ v0.4.9]
7+ ## [ v0.4.9] - 2025-05-27
88
99### Fixed
1010- Fixed pod status scheduled race condition between the scheduler and the pod binding
11+ - Scheduler now doesn't label pods' nodepool when nodepool label value is empty
1112
1213## [ v0.4.8]
1314
Original file line number Diff line number Diff line change @@ -293,6 +293,9 @@ func (sc *SchedulerCache) nodePoolLabelsChange(currentLabels map[string]string)
293293 if sc .schedulingNodePoolParams .NodePoolLabelKey == "" {
294294 return labels
295295 }
296+ if sc .schedulingNodePoolParams .NodePoolLabelValue == "" {
297+ return labels
298+ }
296299 if value , found := currentLabels [sc .schedulingNodePoolParams .NodePoolLabelKey ]; found && value == sc .schedulingNodePoolParams .NodePoolLabelValue {
297300 return labels
298301 }
You can’t perform that action at this time.
0 commit comments