Skip to content

Commit 2471b8c

Browse files
author
VSC-Service-Account
committed
1 parent f8bc53b commit 2471b8c

File tree

26 files changed

+663
-93
lines changed

26 files changed

+663
-93
lines changed

2017-03-09-profile/docs-ref-autogen/aksarc.yml

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,17 +21,22 @@ directCommands:
2121
--name
2222
--resource-group
2323
[--aad-admin-group-object-ids]
24+
[--ca-profile]
2425
[--control-plane-count]
2526
[--control-plane-ip]
2627
[--control-plane-vm-size]
2728
[--disable-nfs-driver]
2829
[--disable-smb-driver]
2930
[--enable-ahub]
31+
[--enable-azure-rbac]
32+
[--enable-cluster-autoscaler]
3033
[--generate-ssh-keys]
3134
[--kubernetes-version]
3235
[--load-balancer-count]
3336
[--location]
37+
[--max-count]
3438
[--max-pods]
39+
[--min-count]
3540
[--no-wait]
3641
[--node-count]
3742
[--node-vm-size]
@@ -63,6 +68,9 @@ directCommands:
6368
- name: --aad-admin-group-object-ids -i
6469
summary: |-
6570
Comma-separated list of aad group object IDs that will be set as cluster admin on the provisioned cluster.
71+
- name: --ca-profile --cluster-autoscaler-profile
72+
summary: |-
73+
Space-separated list of key=value pairs for configuring cluster autoscaler. Pass an empty string to clear the profile.
6674
- name: --control-plane-count --control-plane-node-count
6775
summary: |-
6876
Number of control plane nodes.
@@ -84,6 +92,14 @@ directCommands:
8492
defaultValue: "False"
8593
summary: |-
8694
Enable Azure Hybrid User Benefits (AHUB) for the provisioned cluster.
95+
- name: --enable-azure-rbac
96+
defaultValue: "False"
97+
summary: |-
98+
Enable Azure RBAC to control authorization checks on cluster.
99+
- name: --enable-cluster-autoscaler -e
100+
defaultValue: "False"
101+
summary: |-
102+
Enable cluster auto-scaler for the provisioned cluster.
87103
- name: --generate-ssh-keys
88104
defaultValue: "False"
89105
summary: |-
@@ -97,9 +113,15 @@ directCommands:
97113
- name: --location -l
98114
summary: |-
99115
Location. Values from: `az account list-locations`. You can configure the default location using `az configure --defaults location=<location>`.
116+
- name: --max-count
117+
summary: |-
118+
The maximum number of nodes for auto-scaling.
100119
- name: --max-pods -m
101120
summary: |-
102121
Maximum number of pods that can run on a node.
122+
- name: --min-count
123+
summary: |-
124+
The minimum number of nodes for auto-scaling.
103125
- name: --no-wait
104126
defaultValue: "False"
105127
summary: |-
@@ -321,14 +343,20 @@ directCommands:
321343
az aksarc update --name
322344
--resource-group
323345
[--aad-admin-group-object-ids]
346+
[--ca-profile]
324347
[--control-plane-count]
325348
[--disable-ahub]
349+
[--disable-cluster-autoscaler]
326350
[--disable-nfs-driver]
327351
[--disable-smb-driver]
328352
[--enable-ahub]
353+
[--enable-cluster-autoscaler]
329354
[--enable-nfs-driver]
330355
[--enable-smb-driver]
356+
[--max-count]
357+
[--min-count]
331358
[--tags]
359+
[--update-cluster-autoscaler]
332360
examples:
333361
- summary: |-
334362
UpdateProvisionedCluster
@@ -355,13 +383,20 @@ directCommands:
355383
- name: --aad-admin-group-object-ids -i
356384
summary: |-
357385
Comma-separated list of aad group object IDs that will be set as cluster admin on the provisioned cluster.
386+
- name: --ca-profile --cluster-autoscaler-profile
387+
summary: |-
388+
Space-separated list of key=value pairs for configuring cluster autoscaler. Pass an empty string to clear the profile.
358389
- name: --control-plane-count --control-plane-node-count
359390
summary: |-
360391
Number of nodes to scale the Control Plane to.
361392
- name: --disable-ahub
362393
defaultValue: "False"
363394
summary: |-
364395
Disable Azure Hybrid User Benefits (AHUB) for the provisioned cluster.
396+
- name: --disable-cluster-autoscaler -d
397+
defaultValue: "False"
398+
summary: |-
399+
Disable cluster auto-scaler for the provisioned cluster.
365400
- name: --disable-nfs-driver
366401
defaultValue: "False"
367402
summary: |-
@@ -374,6 +409,10 @@ directCommands:
374409
defaultValue: "False"
375410
summary: |-
376411
Enable Azure Hybrid User Benefits (AHUB) for the provisioned cluster.
412+
- name: --enable-cluster-autoscaler -e
413+
defaultValue: "False"
414+
summary: |-
415+
Enable cluster auto-scaler for the provisioned cluster.
377416
- name: --enable-nfs-driver
378417
defaultValue: "False"
379418
summary: |-
@@ -382,9 +421,19 @@ directCommands:
382421
defaultValue: "False"
383422
summary: |-
384423
Enable SMB driver for the provisioned cluster.
424+
- name: --max-count
425+
summary: |-
426+
The maximum number of nodes for auto-scaling.
427+
- name: --min-count
428+
summary: |-
429+
The minimum number of nodes for auto-scaling.
385430
- name: --tags
386431
summary: |-
387432
Space-separated tags: key[=value] [key[=value] ...]. Use "" to clear existing tags.
433+
- name: --update-cluster-autoscaler -u
434+
defaultValue: "False"
435+
summary: |-
436+
Update cluster auto-scaler for the provisioned cluster.
388437
- uid: az_aksarc_upgrade
389438
name: az aksarc upgrade
390439
summary: |-
@@ -437,6 +486,7 @@ commands:
437486
- az_aksarc_nodepool_list
438487
- az_aksarc_nodepool_scale
439488
- az_aksarc_nodepool_show
489+
- az_aksarc_nodepool_update
440490
- az_aksarc_notice
441491
- az_aksarc_release
442492
- az_aksarc_release_download

2017-03-09-profile/docs-ref-autogen/aksarc/logs.yml

Lines changed: 11 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -17,29 +17,27 @@ directCommands:
1717
status: GA
1818
sourceType: Extension
1919
syntax: >-
20-
az aksarc logs hci --credentials-dir
20+
az aksarc logs hci [--credentials-dir]
2121
[--ip]
2222
[--kubeconfig]
2323
[--out-dir]
2424
examples:
2525
- summary: |-
26-
CollectLogsWithIP
27-
syntax: az aksarc logs hci --ip 192.168.200.25 192.168.200.26 --credentials-dir ./.ssh --out-dir ./logs
26+
Collect logs with IP address and SSH credentials
27+
syntax: az aksarc logs hci --ip 192.168.200.31 192.168.200.32 --ssh-key ~/.ssh --out-dir ./logs
2828
- summary: |-
29-
CollectLogsWithKubeConfig
30-
syntax: az aksarc logs hci --kubeconfig ./.kube/config --credentials-dir ./.ssh --out-dir ./logs
31-
requiredParameters:
32-
- isRequired: true
33-
name: --credentials-dir
34-
summary: |-
35-
Directory containing SSH credentials.
29+
Collect logs with kubeconfig and SSH credentials, kubeconfig is only used to collect IP addresses, and ssh-key file path is used instead of directory
30+
syntax: az aksarc logs hci --kubeconfig ~/.kube/config --ssh-key ~/.ssh/id_rsa --out-dir ./logs
3631
optionalParameters:
37-
- name: --ip
32+
- name: --credentials-dir --ssh-key
33+
summary: |-
34+
Path to SSH credentials to connect to nodes, either id_rsa file or directory is accepted.
35+
- name: --ip --ips
3836
summary: |-
39-
IP addresses of target cluster control plane VMs. Domain names are currently unsupported.
37+
IP(s) of all the nodes (control plane, etc.) need to collect logs.
4038
- name: --kubeconfig
4139
summary: |-
42-
Path to kubeconfig file.
40+
Path to kubeconfig file to connect to the cluster.
4341
- name: --out-dir
4442
summary: |-
4543
Output directory to store collected logs. If not specified, logs will be stored in the current directory.

2017-03-09-profile/docs-ref-autogen/aksarc/nodepool.yml

Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,11 @@ directCommands:
2020
az aksarc nodepool add --cluster-name
2121
--name
2222
--resource-group
23+
[--enable-cluster-autoscaler]
2324
[--labels]
25+
[--max-count]
2426
[--max-pods]
27+
[--min-count]
2528
[--no-wait]
2629
[--node-count]
2730
[--node-taints]
@@ -47,12 +50,22 @@ directCommands:
4750
summary: |-
4851
Name of resource group. You can configure the default group using `az configure --defaults group=<name>`.
4952
optionalParameters:
53+
- name: --enable-cluster-autoscaler -e
54+
defaultValue: "False"
55+
summary: |-
56+
Enable cluster auto-scaler for the provisioned cluster.
5057
- name: --labels
5158
summary: |-
5259
Space-separated labels: key[=value] [key[=value] ...].
60+
- name: --max-count
61+
summary: |-
62+
The maximum number of nodes for auto-scaling.
5363
- name: --max-pods -m
5464
summary: |-
5565
Maximum number of pods that can run on a node.
66+
- name: --min-count
67+
summary: |-
68+
The minimum number of nodes for auto-scaling.
5669
- name: --no-wait
5770
defaultValue: "False"
5871
summary: |-
@@ -208,12 +221,69 @@ directCommands:
208221
name: --resource-group -g
209222
summary: |-
210223
Name of resource group. You can configure the default group using `az configure --defaults group=<name>`.
224+
- uid: az_aksarc_nodepool_update
225+
name: az aksarc nodepool update
226+
summary: |-
227+
Update a nodepool in the provisioned cluster.
228+
status: GA
229+
sourceType: Extension
230+
syntax: >-
231+
az aksarc nodepool update --cluster-name
232+
--name
233+
--resource-group
234+
[--disable-cluster-autoscaler]
235+
[--enable-cluster-autoscaler]
236+
[--max-count]
237+
[--min-count]
238+
[--no-wait]
239+
[--update-cluster-autoscaler]
240+
examples:
241+
- summary: |-
242+
UpdateNodepool
243+
syntax: az aksarc nodepool update --name "samplenodepool" --cluster-name "samplecluster" --resource-group "sample-rg" --disable-cluster-autoscaler
244+
requiredParameters:
245+
- isRequired: true
246+
name: --cluster-name
247+
summary: |-
248+
Name of the provisioned cluster.
249+
- isRequired: true
250+
name: --name -n
251+
summary: |-
252+
Name of the nodepool.
253+
- isRequired: true
254+
name: --resource-group -g
255+
summary: |-
256+
Name of resource group. You can configure the default group using `az configure --defaults group=<name>`.
257+
optionalParameters:
258+
- name: --disable-cluster-autoscaler -d
259+
defaultValue: "False"
260+
summary: |-
261+
Disable cluster auto-scaler for the provisioned cluster.
262+
- name: --enable-cluster-autoscaler -e
263+
defaultValue: "False"
264+
summary: |-
265+
Enable cluster auto-scaler for the provisioned cluster.
266+
- name: --max-count
267+
summary: |-
268+
The maximum number of nodes for auto-scaling.
269+
- name: --min-count
270+
summary: |-
271+
The minimum number of nodes for auto-scaling.
272+
- name: --no-wait
273+
defaultValue: "False"
274+
summary: |-
275+
Do not wait for the long-running operation to finish.
276+
- name: --update-cluster-autoscaler -u
277+
defaultValue: "False"
278+
summary: |-
279+
Update cluster auto-scaler for the provisioned cluster.
211280
commands:
212281
- az_aksarc_nodepool_add
213282
- az_aksarc_nodepool_delete
214283
- az_aksarc_nodepool_list
215284
- az_aksarc_nodepool_scale
216285
- az_aksarc_nodepool_show
286+
- az_aksarc_nodepool_update
217287
globalParameters:
218288
- name: --debug
219289
summary: |-

2017-03-09-profile/docs-ref-autogen/aksarc/release.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,6 @@ directCommands:
6363
syntax: >-
6464
az aksarc release save --staging-folder
6565
[--config-file]
66-
[--provider-config-file]
6766
examples:
6867
- summary: |-
6968
SaveRelease
@@ -77,9 +76,6 @@ directCommands:
7776
- name: --config-file
7877
summary: |-
7978
Path to the Arc resource bridge appliance config file, <resourceName>-appliance.yaml.
80-
- name: --provider-config-file
81-
summary: |-
82-
Path to provider config file. Required if config file is not specified.
8379
commands:
8480
- az_aksarc_release_download
8581
- az_aksarc_release_save

0 commit comments

Comments
 (0)