Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/Aks/Aks/ChangeLog.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
- Additional information about change #1
-->
## Upcoming Release
* Updated the default value of `-NodeVmSize` parameter in `New-AzAksCluster` and `-VmSize` parameter in `New-AzAksNodePool` from 'Standard_D2_V2' to being dynamically selected by the AKS resource provider based on quota and capacity in the next major release.

## Version 6.1.1
* Preannounced breaking change: The default value of `-NodeVmSize` parameter of `New-AzAksCluster` will be changing from 'Standard_DS2_V2 (Linux), Standard_DS2_V3 (Windows)' to being dynamically selected by the AKS resource provider based on quota and capacity in the next major release.
Expand Down
4 changes: 2 additions & 2 deletions src/Aks/Aks/Commands/CreateOrUpdateKubeBase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,8 @@ public abstract class CreateOrUpdateKubeBase : KubeCmdletBase
[Parameter(Mandatory = false, HelpMessage = "The default number of nodes for the node pools.")]
public int NodeOsDiskSize { get; set; }

[Parameter(Mandatory = false, HelpMessage = "The size of the Virtual Machine. Default value is Standard_D2_v2")]
public string NodeVmSize { get; set; } = "Standard_D2_v2";
[Parameter(Mandatory = false, HelpMessage = "The size of the Virtual Machine. Default value is dynamically selected by the AKS resource provider based on quota and capacity.")]
public string NodeVmSize { get; set; } = "";

[Parameter(Mandatory = false, HelpMessage = "Node pool labels used for building Kubernetes network.")]
public Hashtable NodePoolLabel { get; set; }
Expand Down
1 change: 0 additions & 1 deletion src/Aks/Aks/Commands/NewAzureRmAks.cs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@
namespace Microsoft.Azure.Commands.Aks
{
[Cmdlet("New", ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "AksCluster", DefaultParameterSetName = DefaultParamSet, SupportsShouldProcess = true)]
[GenericBreakingChangeWithVersion("The default value of -NodeVmSize will be changing from 'Standard_DS2_V2 (Linux), Standard_DS2_V3 (Windows)' to being dynamically selected by the AKS resource provider based on quota and capacity.", "14.0.0", "7.0.0")]
[OutputType(typeof(PSKubernetesCluster))]
public class NewAzureRmAks : CreateOrUpdateKubeBase
{
Expand Down
4 changes: 2 additions & 2 deletions src/Aks/Aks/Commands/NewAzureRmAksNodePool.cs
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ public class NewAzureRmAksNodePool : NewOrUpdateAgentPoolBase
[Parameter(Mandatory = false, HelpMessage = "The default number of nodes for the node pools.")]
public int OsDiskSize { get; set; }

[Parameter(Mandatory = false, HelpMessage = "The size of the Virtual Machine. Default value is Standard_D2_v2.")]
public string VmSize { get; set; } = "Standard_D2_v2";
[Parameter(Mandatory = false, HelpMessage = "The size of the Virtual Machine. Default value is dynamically selected by the AKS resource provider based on quota and capacity.")]
public string VmSize { get; set; } = "";

[Parameter(Mandatory = false, HelpMessage = "VNet SubnetID specifies the VNet's subnet identifier.")]
public string VnetSubnetID { get; set; }
Expand Down
2 changes: 1 addition & 1 deletion src/Aks/Aks/help/New-AzAksCluster.md
Original file line number Diff line number Diff line change
Expand Up @@ -1163,7 +1163,7 @@ Accept wildcard characters: False
```

### -NodeVmSize
The size of the Virtual Machine. Default value is Standard_D2_v2.
The size of the Virtual Machine. Default value is dynamically selected by the AKS resource provider based on quota and capacity.

```yaml
Type: System.String
Expand Down
2 changes: 1 addition & 1 deletion src/Aks/Aks/help/New-AzAksNodePool.md
Original file line number Diff line number Diff line change
Expand Up @@ -665,7 +665,7 @@ Accept wildcard characters: False
```

### -VmSize
The size of the Virtual Machine. Default value is Standard_D2_v2.
The size of the Virtual Machine. Default value is dynamically selected by the AKS resource provider based on quota and capacity.

```yaml
Type: System.String
Expand Down
Loading