Skip to content

Commit 2bc0770

Browse files
authored
{AKS} remove the preview flag and feature preview flag for managed namespace feature (#9355)
1 parent d51bb46 commit 2bc0770

File tree

6 files changed

+1036
-655
lines changed

6 files changed

+1036
-655
lines changed

src/aks-preview/HISTORY.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,11 @@ To release a new version, please select a new version number (usually plus 1 to
1212
Pending
1313
+++++++
1414

15+
19.0.0b8
16+
+++++++
17+
* Remove the preview flag from `az aks namespace` add/update help command.
18+
* Remove the feature preview flag AKSHTTPCustomFeatures=Microsoft.ContainerService/ManagedNamespacePreview from managed namespace e2e test.
19+
1520
19.0.0b7
1621
+++++++
1722
* `az aks create`: Add new parameter `--enable-container-network-logs` to enable container network logs feature for the cluster and deprecate `--enable-retina-flow-logs`.

src/aks-preview/azext_aks_preview/_help.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1901,9 +1901,9 @@
19011901
short-summary: Do not wait for the long-running operation to finish.
19021902
examples:
19031903
- name: Create a namespace in an existing AKS cluster.
1904-
text: az aks namespace add -g MyResourceGroup --cluster-name MyClusterName --name NamespaceName --cpu-request 500m --cpu-limit 800m --memory-request 1Gi --memory-limit 2Gi --aks-custom-headers AKSHTTPCustomFeatures=Microsoft.ContainerService/ManagedNamespacePreview
1904+
text: az aks namespace add -g MyResourceGroup --cluster-name MyClusterName --name NamespaceName --cpu-request 500m --cpu-limit 800m --memory-request 1Gi --memory-limit 2Gi
19051905
- name: Create a namespace in an existing AKS cluster with labels, annotations and tags
1906-
text: az aks namespace add -g MyResourceGroup --cluster-name MyClusterName --name NamespaceName --labels a=b p=q --annotations a=b p=q --tags a=b p=q --cpu-request 500m --cpu-limit 800m --memory-request 1Gi --memory-limit 2Gi --aks-custom-headers AKSHTTPCustomFeatures=Microsoft.ContainerService/ManagedNamespacePreview
1906+
text: az aks namespace add -g MyResourceGroup --cluster-name MyClusterName --name NamespaceName --labels a=b p=q --annotations a=b p=q --tags a=b p=q --cpu-request 500m --cpu-limit 800m --memory-request 1Gi --memory-limit 2Gi
19071907
"""
19081908

19091909
helps['aks namespace update'] = """
@@ -1954,7 +1954,7 @@
19541954
short-summary: Do not wait for the long-running operation to finish
19551955
examples:
19561956
- name: update namespace in an existing AKS cluster.
1957-
text: az aks namespace update -g MyResourceGroup --cluster-name MyClusterName --name NamespaceName --labels a=b p=q --annotations a=b p=q --tags a=b p=q --cpu-request 600m --cpu-limit 800m --memory-request 2Gi --memory-limit 3Gi --adoption-policy Always --aks-custom-headers AKSHTTPCustomFeatures=Microsoft.ContainerService/ManagedNamespacePreview
1957+
text: az aks namespace update -g MyResourceGroup --cluster-name MyClusterName --name NamespaceName --labels a=b p=q --annotations a=b p=q --tags a=b p=q --cpu-request 600m --cpu-limit 800m --memory-request 2Gi --memory-limit 3Gi --adoption-policy Always
19581958
"""
19591959

19601960
helps['aks namespace show'] = """

src/aks-preview/azext_aks_preview/commands.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,6 @@ def load_command_table(self, _):
246246
"aks namespace",
247247
managed_namespaces_sdk,
248248
client_factory=cf_managed_namespaces,
249-
is_preview=True,
250249
) as g:
251250
g.custom_command("add", "aks_namespace_add", supports_no_wait=True)
252251
g.custom_command("update", "aks_namespace_update", supports_no_wait=True)

0 commit comments

Comments
 (0)