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
6 changes: 6 additions & 0 deletions src/aks-preview/HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@ To release a new version, please select a new version number (usually plus 1 to

Pending
+++++++

17.0.0b1
+++++++
* [BREAKING CHANGE]: `az aks create`: Change default value of option `--node-vm-size` to ""
* [BREAKING CHANGE]: `az aks nodepool add`: Change default value of option `--node-vm-size` to ""

16.0.0b1
+++++++
* [BREAKING CHANGE] Remove flux extension from the list of supported core extensions
Expand Down
4 changes: 2 additions & 2 deletions src/aks-preview/azext_aks_preview/_consts.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@
CONST_VIRTUAL_MACHINES = "VirtualMachines"

# vm size
CONST_DEFAULT_NODE_VM_SIZE = "Standard_DS2_v2"
CONST_DEFAULT_WINDOWS_NODE_VM_SIZE = "Standard_D2s_v3"
CONST_DEFAULT_NODE_VM_SIZE = ""
CONST_DEFAULT_WINDOWS_NODE_VM_SIZE = ""

# workload runtime
CONST_WORKLOAD_RUNTIME_OCI_CONTAINER = "OCIContainer"
Expand Down
4 changes: 2 additions & 2 deletions src/aks-preview/azext_aks_preview/_help.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
`--service-principal` is specified.
- name: --node-vm-size -s
type: string
short-summary: Size of Virtual Machines to create as Kubernetes nodes.
short-summary: Size of Virtual Machines to create as Kubernetes nodes. If the user does not specify one, server will select a default VM size for her/him.
- name: --dns-name-prefix -p
type: string
short-summary: Prefix for hostnames that are created. If not specified, generate a hostname using the
Expand Down Expand Up @@ -1698,7 +1698,7 @@
parameters:
- name: --node-vm-size -s
type: string
short-summary: Size of Virtual Machines to create as Kubernetes nodes.
short-summary: Size of Virtual Machines to create as Kubernetes nodes. If the user does not specify one, server will select a default VM size for her/him.
- name: --node-count -c
type: int
short-summary: Number of nodes in the Kubernetes agent pool. After creating a cluster, you can change the
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
InvalidArgumentValueError,
MutuallyExclusiveArgumentError,
)
from deepdiff import DeepDiff


class AKSPreviewAgentPoolContextCommonTestCase(unittest.TestCase):
Expand Down Expand Up @@ -815,7 +816,7 @@ def common_get_vm_sizes(self):
)
agentpool_2 = self.create_initialized_agentpool_instance(os_type="linux")
ctx_2.attach_agentpool(agentpool_2)
self.assertEqual(ctx_2.get_vm_sizes(), [CONST_DEFAULT_NODE_VM_SIZE])
self.assertEqual(ctx_2.get_vm_sizes(), [CONST_DEFAULT_NODE_VM_SIZE], DeepDiff(ctx_2.get_vm_sizes(), [CONST_DEFAULT_NODE_VM_SIZE]))

# custom
ctx_3 = AKSPreviewAgentPoolContext(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8023,7 +8023,6 @@ def test_aks_nodepool_update_taints_msi(
self.check("resourceGroup", "{resource_group}"),
self.check("agentPoolProfiles[0].count", 1),
self.check("agentPoolProfiles[0].osType", "Linux"),
self.check("agentPoolProfiles[0].vmSize", "Standard_DS2_v2"),
self.check("agentPoolProfiles[0].mode", "System"),
self.check("dnsPrefix", "{dns_name_prefix}"),
self.exists("kubernetesVersion"),
Expand Down Expand Up @@ -8132,7 +8131,6 @@ def test_aks_nodepool_update_label_msi(
self.check("resourceGroup", "{resource_group}"),
self.check("agentPoolProfiles[0].count", 1),
self.check("agentPoolProfiles[0].osType", "Linux"),
self.check("agentPoolProfiles[0].vmSize", "Standard_DS2_v2"),
self.check("agentPoolProfiles[0].mode", "System"),
self.check("dnsPrefix", "{dns_name_prefix}"),
self.exists("kubernetesVersion"),
Expand Down
2 changes: 1 addition & 1 deletion src/aks-preview/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

from setuptools import setup, find_packages

VERSION = "16.0.0b1"
VERSION = "17.0.0b1"

CLASSIFIERS = [
"Development Status :: 4 - Beta",
Expand Down
Loading