Skip to content

Commit 7511f6d

Browse files
committed
Add res affinity and remove taints from hash func
1 parent f2a612a commit 7511f6d

File tree

1 file changed

+4
-4
lines changed
  • tpu-provisioner/internal/cloud

1 file changed

+4
-4
lines changed

tpu-provisioner/internal/cloud/gke.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -663,10 +663,10 @@ func nodePoolSelectiveHash(np *containerv1beta1.NodePool) (string, error) {
663663
}
664664
npToHash := &containerv1beta1.NodePool{
665665
Config: &containerv1beta1.NodeConfig{
666-
Spot: np.Config.Spot,
667-
Labels: labels,
668-
Taints: np.Config.Taints,
669-
MachineType: np.Config.MachineType,
666+
Spot: np.Config.Spot,
667+
Labels: labels,
668+
MachineType: np.Config.MachineType,
669+
ReservationAffinity: np.Config.ReservationAffinity,
670670
},
671671
}
672672
jsn, err := json.Marshal(npToHash)

0 commit comments

Comments
 (0)