Skip to content

Commit

Permalink
Merge pull request #19 from mjura/master-autosc
Browse files Browse the repository at this point in the history
Fix autoscaling for nodedools
  • Loading branch information
mjura committed Jun 3, 2021
2 parents 7e281f7 + 426a4a5 commit 26745ff
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions internal/aks/create.go
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,11 @@ func CreateOrUpdateAgentPool(ctx context.Context, agentPoolClient *containerserv
OsType: containerservice.OSType(np.OsType),
VMSize: containerservice.VMSizeTypes(np.VMSize),
Mode: containerservice.AgentPoolMode(np.Mode),
Type: containerservice.VirtualMachineScaleSets,
OrchestratorVersion: np.OrchestratorVersion,
EnableAutoScaling: np.EnableAutoScaling,
MinCount: np.MinCount,
MaxCount: np.MaxCount,
}

_, err := agentPoolClient.CreateOrUpdate(ctx, spec.ResourceGroup, spec.ClusterName, to.String(np.Name), containerservice.AgentPool{
Expand Down

0 comments on commit 26745ff

Please sign in to comment.