diff --git a/src/aks-preview/HISTORY.rst b/src/aks-preview/HISTORY.rst index 160d16426ed..e89e54ea0da 100644 --- a/src/aks-preview/HISTORY.rst +++ b/src/aks-preview/HISTORY.rst @@ -9,6 +9,10 @@ If there is no rush to release a new version, please just add a description of t To release a new version, please select a new version number (usually plus 1 to last patch version, X.Y.Z -> Major.Minor.Patch, more details in `\doc `_), and then add a new section named as the new version number in this file, the content should include the new modifications and everything from the *Pending* section. Finally, update the `VERSION` variable in `setup.py` with this new version number. +13.0.0b4 ++++++++ +* `az aks nodepool upgrade`: Fix `--node-soak-duration` cannot be specified as 0 + 13.0.0b3 +++++++ * `az aks create`: Update outbound type selection logic for automatic cluster when customer brings BYO Vnet. diff --git a/src/aks-preview/azext_aks_preview/custom.py b/src/aks-preview/azext_aks_preview/custom.py index 282a541a3bd..402cfeed67c 100644 --- a/src/aks-preview/azext_aks_preview/custom.py +++ b/src/aks-preview/azext_aks_preview/custom.py @@ -1433,7 +1433,7 @@ def aks_agentpool_upgrade(cmd, instance.upgrade_settings.max_surge = max_surge if drain_timeout: instance.upgrade_settings.drain_timeout_in_minutes = drain_timeout - if node_soak_duration: + if isinstance(node_soak_duration, int) and node_soak_duration >= 0: instance.upgrade_settings.node_soak_duration_in_minutes = node_soak_duration if undrainable_node_behavior: instance.upgrade_settings.undrainable_node_behavior = undrainable_node_behavior diff --git a/src/aks-preview/setup.py b/src/aks-preview/setup.py index 736c4785c8d..33da92678be 100644 --- a/src/aks-preview/setup.py +++ b/src/aks-preview/setup.py @@ -9,7 +9,7 @@ from setuptools import setup, find_packages -VERSION = "13.0.0b3" +VERSION = "13.0.0b4" CLASSIFIERS = [ "Development Status :: 4 - Beta",