Skip to content

Commit

Permalink
sync spec.Unschedulable field while syncing nodeChanges from virtual …
Browse files Browse the repository at this point in the history
…to host (#2430)

(cherry picked from commit 56e5de0)
  • Loading branch information
neogopher committed Jan 29, 2025
1 parent 7888529 commit 2047810
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/server/filters/nodechanges.go
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@ func updateNode(ctx context.Context, decoder encoding.Decoder, localClient clien
newNode := pNode.DeepCopy()
newNode.Labels = vNode.Labels
newNode.Spec.Taints = vNode.Spec.Taints
newNode.Spec.Unschedulable = vNode.Spec.Unschedulable
newNode.Status.Capacity = vNode.Status.Capacity

// if there are no changes, just return the provided object
Expand Down

0 comments on commit 2047810

Please sign in to comment.