|
619 | 619 | Auto: A standard set of Karpenter NodePools are provisioned. |
620 | 620 | None: No Karpenter NodePools are provisioned. |
621 | 621 | WARNING: Changing this from Auto to None on an existing cluster will cause the default Karpenter NodePools to be deleted, which will in turn drain and delete the nodes associated with those pools. It is strongly recommended to not do this unless there are idle nodes ready to take the pods evicted by that action. |
| 622 | + - name: --workload-runtime |
| 623 | + type: string |
| 624 | + short-summary: Set the workload runtime. |
| 625 | + long-summary: | |
| 626 | + Azure provides a different workload-runtime to enable Kata supported workloads in your nodepools. The following values can be specified: |
| 627 | + - "KataMshvVmIsolation" for Kata. |
| 628 | +
|
622 | 629 | examples: |
623 | 630 | - name: Create a Kubernetes cluster with an existing SSH public key. |
624 | 631 | text: az aks create -g MyResourceGroup -n MyManagedCluster --ssh-key-value /path/to/publickey |
|
702 | 709 | text: az aks create -g MyResourceGroup -n MyManagedCluster --node-provisioning-mode Auto |
703 | 710 | - name: Create a kubernetes cluster with auto node provisioning and no default pools. |
704 | 711 | text: az aks create -g MyResourceGroup -n MyManagedCluster --node-provisioning-mode Auto --node-provisioning-default-pools None |
| 712 | + - name: Create a kubernetes cluster with KataMshvVmIsolation enabled. |
| 713 | + text: az aks create -g MyResourceGroup -n MyManagedCluster --os-sku AzureLinux --vm-size Standard_D4s_v3 --workload-runtime KataMshvVmIsolation --node-count 1 |
705 | 714 | """ |
706 | 715 |
|
707 | 716 | helps["aks update"] = """ |
|
1806 | 1815 | - name: --gateway-prefix-size |
1807 | 1816 | type: int |
1808 | 1817 | short-summary: The size of Public IPPrefix attached to the Gateway-mode node pool. The node pool must be in Gateway mode. |
| 1818 | + - name: --workload-runtime |
| 1819 | + type: string |
| 1820 | + short-summary: Set the workload runtime. |
| 1821 | + long-summary: | |
| 1822 | + Azure provides a different workload-runtime to enable Kata supported workloads in your nodepools. The following values can be specified: |
| 1823 | + - "KataMshvVmIsolation" for Kata. |
| 1824 | +
|
1809 | 1825 | examples: |
1810 | 1826 | - name: Create a nodepool in an existing AKS cluster with ephemeral os enabled. |
1811 | 1827 | text: az aks nodepool add -g MyResourceGroup -n nodepool1 --cluster-name MyManagedCluster --node-osdisk-type Ephemeral --node-osdisk-size 48 |
|
1827 | 1843 | 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 |
1828 | 1844 | - name: create a nodepool of type VirtualMachines |
1829 | 1845 | text: az aks nodepool add -g MyResourceGroup -n MyNodePool --cluster-name MyMC --vm-set-type VirtualMachines --vm-sizes "VMSize1,VMSize2" --node-count 3 |
| 1846 | + - name: Create a kubernetes cluster with KataMshvVmIsolation enabled. |
| 1847 | + text: az aks nodepool add -g MyResourceGroup -n MyManagedCluster --os-sku AzureLinux --vm-size Standard_D4s_v3 --workload-runtime KataMshvVmIsolation --node-count 1 |
1830 | 1848 | """ |
1831 | 1849 |
|
1832 | 1850 | helps["aks nodepool delete"] = """ |
|
0 commit comments