|
66 | 66 | - name: --node-vm-size -s |
67 | 67 | type: string |
68 | 68 | short-summary: Size of Virtual Machines to create as Kubernetes nodes. If the user does not specify one, server will select a default VM size for her/him. |
| 69 | + - name: --vm-sizes |
| 70 | + type: string |
| 71 | + short-summary: Comma-separated list of VM sizes. Valid for VirtualMachines node pool only. If `--vm-sizes` not specified but `--node-vm-size` specified, value of `--node-vm-size` will be used. If neither of them specified, defaults to Standard_DS2_v2 for Linux or Standard_D2s_v3 for Windows. |
69 | 72 | - name: --dns-name-prefix -p |
70 | 73 | type: string |
71 | 74 | short-summary: Prefix for hostnames that are created. If not specified, generate a hostname using the managed cluster and resource group names. |
|
201 | 204 | short-summary: Maximum nodes count used for autoscaler, when "--enable-cluster-autoscaler" specified. Please specify the value in the range of [1, 1000]. |
202 | 205 | - name: --vm-set-type |
203 | 206 | type: string |
204 | | - short-summary: Agent pool vm set type. VirtualMachineScaleSets or AvailabilitySet. Defaults to 'VirtualMachineScaleSets' |
| 207 | + short-summary: Agent pool vm set type. VirtualMachineScaleSets or AvailabilitySet or VirtualMachines. Defaults to 'VirtualMachineScaleSets' |
205 | 208 | - name: --enable-addons -a |
206 | 209 | type: string |
207 | 210 | short-summary: Enable the Kubernetes addons in a comma-separated list. |
|
301 | 304 | short-summary: The ID of a PPG. |
302 | 305 | - name: --enable-node-public-ip |
303 | 306 | type: bool |
304 | | - short-summary: Enable VMSS node public IP. |
| 307 | + short-summary: Enable VMSS or VMs node public IP. |
305 | 308 | - name: --node-public-ip-prefix-id |
306 | 309 | type: string |
307 | | - short-summary: Public IP prefix ID used to assign public IPs to VMSS nodes. |
| 310 | + short-summary: Public IP prefix ID used to assign public IPs to VMSS or VMs nodes. |
308 | 311 | - name: --workspace-resource-id |
309 | 312 | type: string |
310 | 313 | short-summary: The resource ID of an existing Log Analytics Workspace to use for storing monitoring data. If not specified, uses the default Log Analytics Workspace if it exists, otherwise creates one. |
|
559 | 562 | short-summary: Enable exporting Kubernetes Namespace and Deployment details to the Cost Analysis views in the Azure portal. For more information see aka.ms/aks/docs/cost-analysis. |
560 | 563 | - name: --enable-secure-boot |
561 | 564 | type: bool |
562 | | - short-summary: Enable Secure Boot on all node pools in the cluster. Must use VMSS agent pool type. |
| 565 | + short-summary: Enable Secure Boot on all node pools in the cluster. Must use VMSS or VMs agent pool type. |
563 | 566 | - name: --enable-vtpm |
564 | 567 | type: bool |
565 | | - short-summary: Enable vTPM on all node pools in the cluster. Must use VMSS agent pool type. |
| 568 | + short-summary: Enable vTPM on all node pools in the cluster. Must use VMSS or VMs agent pool type. |
566 | 569 | - name: --enable-acns |
567 | 570 | type: bool |
568 | 571 | short-summary: Enable advanced network functionalities on a cluster. Enabling this will incur additional costs. For non-cilium clusters, acns security will be disabled by default until further notice. |
|
670 | 673 | text: az aks create -g MyResourceGroup -n MyManagedCluster --enable-azure-service-mesh |
671 | 674 | - name: Create a kubernetes cluster with a nodepool having ip allocation mode set to "StaticBlock" |
672 | 675 | text: az aks create -g MyResourceGroup -n MyManagedCluster --os-sku Ubuntu --max-pods MaxPodsPerNode --network-plugin azure --vnet-subnet-id /subscriptions/SubID/resourceGroups/AnotherResourceGroup/providers/Microsoft.Network/virtualNetworks/MyVnet/subnets/NodeSubnet --pod-subnet-id /subscriptions/SubID/resourceGroups/AnotherResourceGroup/providers/Microsoft.Network/virtualNetworks/MyVnet/subnets/PodSubnet --pod-ip-allocation-mode StaticBlock |
| 676 | + - name: Create a kubernetes cluster with VirtualMachines vm set type. |
| 677 | + text: az aks create -g MyResourceGroup -n MyManagedCluster --vm-set-type VirtualMachines --vm-sizes "VMSize1,VMSize2" --node-count 3 |
673 | 678 | """ |
674 | 679 |
|
675 | 680 | helps['aks update'] = """ |
|
1570 | 1575 | - name: --node-vm-size -s |
1571 | 1576 | type: string |
1572 | 1577 | short-summary: Size of Virtual Machines to create as Kubernetes nodes. If the user does not specify one, server will select a default VM size for her/him. |
| 1578 | + - name: --vm-sizes |
| 1579 | + type: string |
| 1580 | + short-summary: Comma-separated list of VM sizes. Valid for VirtualMachines node pool only. If `--vm-sizes` not specified but `--node-vm-size` specified, value of `--node-vm-size` will be used. If neither of them specified, defaults to Standard_DS2_v2 for Linux or Standard_D2s_v3 for Windows. |
| 1581 | + - name: --vm-set-type |
| 1582 | + type: string |
| 1583 | + short-summary: Agent pool vm set type. VirtualMachineScaleSets or AvailabilitySet or VirtualMachines. Defaults to 'VirtualMachineScaleSets' |
1573 | 1584 | - name: --node-count -c |
1574 | 1585 | type: int |
1575 | 1586 | short-summary: Number of nodes in the Kubernetes agent pool. After creating a cluster, you can change the size of its node pool with `az aks scale`. |
|
1593 | 1604 | short-summary: Availability zones where agent nodes will be placed. Also, to install agent nodes to more than one zone you need to pass zone numbers separated by blanks. For example - To have all 3 zones, you are expected to enter `--zones 1 2 3` |
1594 | 1605 | - name: --enable-node-public-ip |
1595 | 1606 | type: bool |
1596 | | - short-summary: Enable VMSS node public IP. |
| 1607 | + short-summary: Enable VMSS or VMs node public IP. |
1597 | 1608 | - name: --node-public-ip-prefix-id |
1598 | 1609 | type: string |
1599 | | - short-summary: Public IP prefix ID used to assign public IPs to VMSS nodes. |
| 1610 | + short-summary: Public IP prefix ID used to assign public IPs to VMSS or VMs nodes. |
1600 | 1611 | - name: --vnet-subnet-id |
1601 | 1612 | type: string |
1602 | 1613 | short-summary: The Resource Id of a subnet in an existing VNet into which to deploy the cluster. |
|
1710 | 1721 | short-summary: Disable Windows OutboundNAT on Windows agent node pool. |
1711 | 1722 | - name: --enable-secure-boot |
1712 | 1723 | type: bool |
1713 | | - short-summary: Enable Secure Boot on agent node pool. Must use VMSS agent pool type. |
| 1724 | + short-summary: Enable Secure Boot on agent node pool. Must use VMSS or VMs agent pool type. |
1714 | 1725 | - name: --enable-vtpm |
1715 | 1726 | type: bool |
1716 | | - short-summary: Enable vTPM on agent node pool. Must use VMSS agent pool type. |
| 1727 | + short-summary: Enable vTPM on agent node pool. Must use VMSS or VMs agent pool type. |
1717 | 1728 | - name: --if-match |
1718 | 1729 | type: string |
1719 | 1730 | short-summary: The value provided will be compared to the ETag of the agentpool, if it matches the operation will proceed. If it does not match, the request will be rejected to prevent accidental overwrites. This must not be specified when creating a new agentpool. |
|
1745 | 1756 | text: az aks nodepool add -g MyResourceGroup -n MyNodePool --cluster-name MyMC --node-vm-size VMSize --crg-id "/subscriptions/SubID/resourceGroups/ResourceGroupName/providers/Microsoft.ContainerService/CapacityReservationGroups/MyCRGID" |
1746 | 1757 | - name: Create a nodepool with ip allocation mode set to "StaticBlock" and using a pod subnet ID |
1747 | 1758 | text: az aks nodepool add -g MyResourceGroup -n nodepool1 --cluster-name MyManagedCluster --os-sku Ubuntu --pod-subnet-id /subscriptions/SubID/resourceGroups/AnotherResourceGroup/providers/Microsoft.Network/virtualNetworks/MyVnet/subnets/MySubnet --pod-ip-allocation-mode StaticBlock |
| 1759 | + - name: create a nodepool of type VirtualMachines |
| 1760 | + text: az aks nodepool add -g MyResourceGroup -n MyNodePool --cluster-name MyMC --vm-set-type VirtualMachines --vm-sizes "VMSize1,VMSize2" --node-count 3 |
1748 | 1761 | """ |
1749 | 1762 |
|
1750 | 1763 | helps['aks nodepool delete'] = """ |
|
1857 | 1870 | short-summary: Switch to use non-FIPS-enabled OS on agent nodes. |
1858 | 1871 | - name: --enable-secure-boot |
1859 | 1872 | type: bool |
1860 | | - short-summary: Enable Secure Boot on an existing Trusted Launch enabled agent node pool. Must use VMSS agent pool type. |
| 1873 | + short-summary: Enable Secure Boot on an existing Trusted Launch enabled agent node pool. Must use VMSS or VMs agent pool type. |
1861 | 1874 | - name: --disable-secure-boot |
1862 | 1875 | type: bool |
1863 | 1876 | short-summary: Disable Secure Boot on on an existing Trusted Launch enabled agent node pool. |
1864 | 1877 | - name: --enable-vtpm |
1865 | 1878 | type: bool |
1866 | | - short-summary: Enable vTPM on an existing Trusted Launch enabled agent node pool. Must use VMSS agent pool type. |
| 1879 | + short-summary: Enable vTPM on an existing Trusted Launch enabled agent node pool. Must use VMSS or VMs agent pool type. |
1867 | 1880 | - name: --disable-vtpm |
1868 | 1881 | type: bool |
1869 | 1882 | short-summary: Disable vTPM on an existing Trusted Launch enabled agent node pool. |
|
2000 | 2013 | crafted: true |
2001 | 2014 | """ |
2002 | 2015 |
|
| 2016 | +helps['aks nodepool manual-scale'] = """ |
| 2017 | + type: group |
| 2018 | + short-summary: Commands to manage nodepool virtualMachineProfile.scale.manual. |
| 2019 | +""" |
| 2020 | + |
| 2021 | +helps['aks nodepool manual-scale add'] = """ |
| 2022 | + type: command |
| 2023 | + short-summary: Add a new manual to a VirtualMachines agentpool in the managed Kubernetes cluster. |
| 2024 | + parameters: |
| 2025 | + - name: --vm-sizes |
| 2026 | + type: string |
| 2027 | + short-summary: Comma-separated list of sizes in the manual. |
| 2028 | + - name: --node-count -c |
| 2029 | + type: int |
| 2030 | + short-summary: Number of nodes in the manual. |
| 2031 | +""" |
| 2032 | + |
| 2033 | +helps['aks nodepool manual-scale update'] = """ |
| 2034 | + type: command |
| 2035 | + short-summary: Update an existing manual of a VirtualMachines agentpool in the managed Kubernetes cluster. |
| 2036 | + parameters: |
| 2037 | + - name: --current-vm-sizes |
| 2038 | + type: string |
| 2039 | + short-summary: Comma-separated list of sizes in the manual to be updated. |
| 2040 | + - name: --vm-sizes |
| 2041 | + type: string |
| 2042 | + short-summary: Comma-separated list of new sizes. |
| 2043 | + - name: --node-count -c |
| 2044 | + type: int |
| 2045 | + short-summary: Number of nodes in the manual. |
| 2046 | +""" |
| 2047 | + |
| 2048 | +helps['aks nodepool manual-scale delete'] = """ |
| 2049 | + type: command |
| 2050 | + short-summary: Delete an existing manual to a VirtualMachines agentpool in the managed Kubernetes cluster. |
| 2051 | + parameters: |
| 2052 | + - name: --current-vm-sizes |
| 2053 | + type: string |
| 2054 | + short-summary: Comma-separated list of sizes in the manual to be deleted. |
| 2055 | +""" |
| 2056 | + |
2003 | 2057 | helps['aks show'] = """ |
2004 | 2058 | type: command |
2005 | 2059 | short-summary: Show the details for a managed Kubernetes cluster. |
|
0 commit comments