Skip to content

Commit

Permalink
update the node labels for AKS nodepools
Browse files Browse the repository at this point in the history
  • Loading branch information
zmalik committed Aug 12, 2022
1 parent a7a55bf commit 2d21457
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions azure/services/agentpools/agentpools.go
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ func (s *Service) Reconcile(ctx context.Context) error {
EnableAutoScaling: existingPool.EnableAutoScaling,
MinCount: existingPool.MinCount,
MaxCount: existingPool.MaxCount,
NodeLabels: existingPool.NodeLabels,
},
}

Expand All @@ -122,6 +123,7 @@ func (s *Service) Reconcile(ctx context.Context) error {
EnableAutoScaling: profile.EnableAutoScaling,
MinCount: profile.MinCount,
MaxCount: profile.MaxCount,
NodeLabels: profile.NodeLabels,
},
}

Expand Down

0 comments on commit 2d21457

Please sign in to comment.