Skip to content

Commit

Permalink
eks/mng: sync with latest worker nodes when scaled up/down
Browse files Browse the repository at this point in the history
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
  • Loading branch information
gyuho committed Jun 26, 2020
1 parent 44014bf commit 6fd1e3c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions eks/mng/mng.go
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,9 @@ func (ts *tester) Create() (err error) {
if err = ts.scaler.Scale(mngName); err != nil {
return err
}
if err = ts.nodeWaiter.Wait(mngName, 3); err != nil {
return err
}
}

ts.cfg.EKSConfig.AddOnManagedNodeGroups.Created = true
Expand Down

0 comments on commit 6fd1e3c

Please sign in to comment.