Cleanup AKS autoscaler help documentation (#833)

This commit is contained in:
Sean McKenna 2019-07-06 08:27:44 -07:00 коммит произвёл Travis Prescott
Родитель d0fee626ff
Коммит 0bf92a4e9a
1 изменённых файлов: 12 добавлений и 12 удалений

Просмотреть файл

@ -147,10 +147,10 @@ helps['aks create'] = """
long-summary: If specified, please make sure the kubernetes version is larger than 1.10.6.
- name: --min-count
type: int
short-summary: Minimun nodes count used for auto scaler, when "--enable-cluster-autoscaler" specified. Please specifying the value in the range of [1, 100].
short-summary: Minimun nodes count used for autoscaler, when "--enable-cluster-autoscaler" specified. Please specifying the value in the range of [1, 100].
- name: --max-count
type: int
short-summary: Maximum nodes count used for auto scaler, when "--enable-cluster-autoscaler" specified. Please specifying the value in the range of [1, 100].
short-summary: Maximum nodes count used for autoscaler, when "--enable-cluster-autoscaler" specified. Please specifying the value in the range of [1, 100].
- name: --enable-vmss
type: bool
short-summary: (PREVIEW) Enable VMSS agent type.
@ -205,13 +205,13 @@ helps['aks update'] = """
short-summary: Disable cluster autoscaler.
- name: --update-cluster-autoscaler -u
type: bool
short-summary: Update min-count or max-count for cluser auto-scaler.
short-summary: Update min-count or max-count for cluster autoscaler.
- name: --min-count
type: int
short-summary: Minimun nodes count used for auto scaler, when "--enable-cluster-autoscaler" specified. Please specifying the value in the range of [1, 100]
short-summary: Minimun nodes count used for autoscaler, when "--enable-cluster-autoscaler" specified. Please specifying the value in the range of [1, 100]
- name: --max-count
type: int
short-summary: Maximum nodes count used for auto scaler, when "--enable-cluster-autoscaler" specified. Please specifying the value in the range of [1, 100]
short-summary: Maximum nodes count used for autoscaler, when "--enable-cluster-autoscaler" specified. Please specifying the value in the range of [1, 100]
- name: --api-server-authorized-ip-ranges
type: str
short-summary: List of authorized IP ranges (separated by comma) for apiserver. Set to "" for disabling it.
@ -226,7 +226,7 @@ helps['aks update'] = """
text: az aks update --enable-cluster-autoscaler --min-count 1 --max-count 5 -g MyResourceGroup -n MyManagedCluster
- name: Disable cluster-autoscaler for an existing cluster
text: az aks update --disable-cluster-autoscaler -g MyResourceGroup -n MyManagedCluster
- name: Update min-count or max-count for cluster auto-scaler.
- name: Update min-count or max-count for cluster autoscaler.
text: az aks update --update-cluster-autoscaler --min-count 1 --max-count 10 -g MyResourceGroup -n MyManagedCluster
- name: Enable authorized IP ranges for apiserver.
text: az aks update --api-server-authorized-ip-ranges 172.0.0.10/16,168.10.0.10/18 -g MyResourceGroup -n MyManagedCluster
@ -287,10 +287,10 @@ helps['aks nodepool add'] = """
short-summary: Enable cluster autoscaler.
- name: --min-count
type: int
short-summary: Minimun nodes count used for auto scaler, when "--enable-cluster-autoscaler" specified. Please specifying the value in the range of [1, 100]
short-summary: Minimun nodes count used for autoscaler, when "--enable-cluster-autoscaler" specified. Please specifying the value in the range of [1, 100]
- name: --max-count
type: int
short-summary: Maximum nodes count used for auto scaler, when "--enable-cluster-autoscaler" specified. Please specifying the value in the range of [1, 100]
short-summary: Maximum nodes count used for autoscaler, when "--enable-cluster-autoscaler" specified. Please specifying the value in the range of [1, 100]
"""
helps['aks nodepool scale'] = """
@ -323,19 +323,19 @@ helps['aks nodepool update'] = """
short-summary: Disable cluster autoscaler.
- name: --update-cluster-autoscaler -u
type: bool
short-summary: Update min-count or max-count for cluser auto-scaler.
short-summary: Update min-count or max-count for cluster autoscaler.
- name: --min-count
type: int
short-summary: Minimun nodes count used for auto scaler, when "--enable-cluster-autoscaler" specified. Please specifying the value in the range of [1, 100]
short-summary: Minimun nodes count used for autoscaler, when "--enable-cluster-autoscaler" specified. Please specifying the value in the range of [1, 100]
- name: --max-count
type: int
short-summary: Maximum nodes count used for auto scaler, when "--enable-cluster-autoscaler" specified. Please specifying the value in the range of [1, 100]
short-summary: Maximum nodes count used for autoscaler, when "--enable-cluster-autoscaler" specified. Please specifying the value in the range of [1, 100]
examples:
- name: Enable cluster-autoscaler within node count range [1,5]
text: az aks nodepool update --enable-cluster-autoscaler --min-count 1 --max-count 5 -g MyResourceGroup -n nodepool1 --cluster-name MyManagedCluster
- name: Disable cluster-autoscaler for an existing cluster
text: az aks nodepool update --disable-cluster-autoscaler -g MyResourceGroup -n nodepool1 --cluster-name MyManagedCluster
- name: Update min-count or max-count for cluster auto-scaler.
- name: Update min-count or max-count for cluster autoscaler.
text: az aks nodepool update --update-cluster-autoscaler --min-count 1 --max-count 10 -g MyResourceGroup -n nodepool1 --cluster-name MyManagedCluster
"""