We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9788374 commit 4951db9Copy full SHA for 4951db9
cloud/services/container/nodepools/reconcile.go
@@ -430,12 +430,6 @@ func (s *Service) checkDiffAndPrepareUpdateAutoscaling(existingNodePool *contain
430
431
func (s *Service) checkDiffAndPrepareUpdateSize(existingNodePool *containerpb.NodePool) (bool, *containerpb.SetNodePoolSizeRequest) {
432
needUpdate := false
433
- desiredAutoscaling := infrav1exp.ConvertToSdkAutoscaling(s.scope.GCPManagedMachinePool.Spec.Scaling)
434
-
435
- if desiredAutoscaling.Enabled {
436
- // Do not update node pool size if autoscaling is enabled.
437
- return false, nil
438
- }
439
440
setNodePoolSizeRequest := containerpb.SetNodePoolSizeRequest{
441
Name: s.scope.NodePoolFullName(),
0 commit comments