Skip to content

Commit d87a3e7

Browse files
authored
[AKS] update control-plane-only user confirmation prompt (#9404)
1 parent 1802306 commit d87a3e7

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

src/aks-preview/HISTORY.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,11 @@ To release a new version, please select a new version number (usually plus 1 to
1111

1212
Pending
1313
+++++++
14+
15+
19.0.0b17
16+
+++++++
1417
* `az aks bastion`: Correctly configure `$KUBECONFIG` values for tunneling traffic into a private AKS cluster.
18+
* Update user prompt for `az aks upgrade` command to clarify the implication of the `--control-plane-only` options.
1519

1620
19.0.0b16
1721
+++++++

src/aks-preview/azext_aks_preview/custom.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1708,8 +1708,10 @@ def aks_upgrade(cmd,
17081708
upgrade_all = True
17091709
else:
17101710
msg = (
1711-
"Since control-plane-only argument is specified, this will upgrade only the control plane to "
1712-
f"{instance.kubernetes_version}. Node pool will not change. Continue?"
1711+
"Since --control-plane-only parameter is specified, this will upgrade only the kubernetes version of the control plane to "
1712+
f"{instance.kubernetes_version}. Kubernetes versions of the node pools will remain unchanged, "
1713+
"but node image version may be upgraded if there has been cluster config change that requires VM reimage. "
1714+
"Continue?"
17131715
)
17141716
if not yes and not prompt_y_n(msg, default="n"):
17151717
return None

src/aks-preview/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
from setuptools import find_packages, setup
1111

12-
VERSION = "19.0.0b16"
12+
VERSION = "19.0.0b17"
1313

1414
CLASSIFIERS = [
1515
"Development Status :: 4 - Beta",

0 commit comments

Comments
 (0)