-
- Downloads
adjust job node affinity to use hostname value (#126)
Fix job node affinity for nodes with names that do not match the value
of their `kubernetes.io/hostname` label. With this change, node names
are still reported in the .status.applying slice but jobs are generated
with correct node-affinity via matching on the value of
`kubernetes.io/hostname`.
Fixes #119
Signed-off-by:
Jacob Blain Christen <jacob@rancher.com>
Showing
- pkg/upgrade/handle_upgrade.go 4 additions, 5 deletionspkg/upgrade/handle_upgrade.go
- pkg/upgrade/job/flags_test.go 12 additions, 1 deletionpkg/upgrade/job/flags_test.go
- pkg/upgrade/job/job.go 13 additions, 7 deletionspkg/upgrade/job/job.go
- pkg/upgrade/plan/plan.go 7 additions, 5 deletionspkg/upgrade/plan/plan.go
Please register or sign in to comment