|
454 | 454 | type: string |
455 | 455 | short-summary: Path to a file containing up to 10 blank line separated certificates. Only valid for Linux nodes. |
456 | 456 | long-summary: These certificates are used by Custom CA Trust feature and will be added to trust stores of nodes. |
| 457 | + - name: --disable-run-command |
| 458 | + type: bool |
| 459 | + short-summary: Disable Run command feature for the cluster. |
457 | 460 | - name: --enable-defender |
458 | 461 | type: bool |
459 | 462 | short-summary: Enable Microsoft Defender security profile. |
|
599 | 602 | - name: --enable-static-egress-gateway |
600 | 603 | type: bool |
601 | 604 | short-summary: Enable Static Egress Gateway addon to the cluster. |
| 605 | + - name: --node-provisioning-mode |
| 606 | + type: string |
| 607 | + short-summary: Set the node provisioning mode of the cluster. Valid values are "Auto" and "Manual". For more information on "Auto" mode see aka.ms/aks/nap. |
| 608 | + - name: --node-provisioning-default-pools |
| 609 | + type: string |
| 610 | + short-summary: The set of default Karpenter NodePools configured for node provisioning. Valid values are "Auto" and "None". |
| 611 | + long-summary: |- |
| 612 | + The set of default Karpenter NodePools configured for node provisioning. Valid values are "Auto" and "None". |
| 613 | + Auto: A standard set of Karpenter NodePools are provisioned. |
| 614 | + None: No Karpenter NodePools are provisioned. |
| 615 | + 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. |
602 | 616 | examples: |
603 | 617 | - name: Create a Kubernetes cluster with an existing SSH public key. |
604 | 618 | text: az aks create -g MyResourceGroup -n MyManagedCluster --ssh-key-value /path/to/publickey |
|
678 | 692 | 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 |
679 | 693 | - name: Create a kubernetes cluster with VirtualMachines vm set type. |
680 | 694 | text: az aks create -g MyResourceGroup -n MyManagedCluster --vm-set-type VirtualMachines --vm-sizes "VMSize1,VMSize2" --node-count 3 |
| 695 | + - name: Create a kubernetes cluster with auto node provisioning. |
| 696 | + text: az aks create -g MyResourceGroup -n MyManagedCluster --node-provisioning-mode Auto |
| 697 | + - name: Create a kubernetes cluster with auto node provisioning and no default pools. |
| 698 | + text: az aks create -g MyResourceGroup -n MyManagedCluster --node-provisioning-mode Auto --node-provisioning-default-pools None |
681 | 699 | """ |
682 | 700 |
|
683 | 701 | helps['aks update'] = """ |
|
760 | 778 | type: string |
761 | 779 | short-summary: Load balancer backend pool type. |
762 | 780 | long-summary: Define the LoadBalancer backend pool type of managed inbound backend pool. The nodeIP means the VMs will be attached to the LoadBalancer by adding its private IP address to the backend pool. The nodeIPConfiguration means the VMs will be attached to the LoadBalancer by referencing the backend pool ID in the VM's NIC. |
| 781 | + - name: --load-balancer-sku |
| 782 | + type: string |
| 783 | + short-summary: Azure Load Balancer SKU selection for your cluster. only standard is accepted. |
| 784 | + long-summary: Upgrade to Standard Azure Load Balancer SKU for your AKS cluster. |
763 | 785 | - name: --nat-gateway-managed-outbound-ip-count |
764 | 786 | type: int |
765 | 787 | short-summary: NAT gateway managed outbound IP count. |
|
900 | 922 | type: string |
901 | 923 | short-summary: Path to a file containing up to 10 blank line separated certificates. Only valid for Linux nodes. |
902 | 924 | long-summary: These certificates are used by Custom CA Trust feature and will be added to trust stores of nodes. |
| 925 | + - name: --enable-run-command |
| 926 | + type: bool |
| 927 | + short-summary: Enable Run command feature for the cluster. |
| 928 | + - name: --disable-run-command |
| 929 | + type: bool |
| 930 | + short-summary: Disable Run command feature for the cluster. |
903 | 931 | - name: --defender-config |
904 | 932 | type: string |
905 | 933 | short-summary: Path to JSON file containing Microsoft Defender profile configurations. |
|
1069 | 1097 | - name: --migrate-vmas-to-vms |
1070 | 1098 | type: bool |
1071 | 1099 | short-summary: Migrate cluster with VMAS node pool to VMS node pool. |
| 1100 | + - name: --node-provisioning-mode |
| 1101 | + type: string |
| 1102 | + short-summary: Set the node provisioning mode of the cluster. Valid values are "Auto" and "Manual". For more information on "Auto" mode see aka.ms/aks/nap. |
| 1103 | + - name: --node-provisioning-default-pools |
| 1104 | + type: string |
| 1105 | + short-summary: The set of default Karpenter NodePools configured for node provisioning. Valid values are "Auto" and "None". |
| 1106 | + long-summary: |- |
| 1107 | + The set of default Karpenter NodePools configured for node provisioning. Valid values are "Auto" and "None". |
| 1108 | + Auto: A standard set of Karpenter NodePools are provisioned. |
| 1109 | + None: No Karpenter NodePools are provisioned. |
| 1110 | + 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. |
1072 | 1111 | examples: |
1073 | 1112 | - name: Reconcile the cluster back to its current state. |
1074 | 1113 | text: az aks update -g MyResourceGroup -n MyManagedCluster |
|
1128 | 1167 | text: az aks update -g MyResourceGroup -n MyManagedCLuster --enable-vpa |
1129 | 1168 | - name: Disable VPA(Vertical Pod Autoscaler) for an existing kubernetes cluster. |
1130 | 1169 | text: az aks update -g MyResourceGroup -n MyManagedCLuster --disable-vpa |
| 1170 | + - name: Update a kubernetes cluster to use auto node provisioning. |
| 1171 | + text: az aks update -g MyResourceGroup -n MyManagedCluster --node-provisioning-mode Auto |
| 1172 | + - name: Update a kubernetes cluster to use auto node provisioning mode with no default pools. |
| 1173 | + text: az aks update -g MyResourceGroup -n MyManagedCluster --node-provisioning-mode Auto --node-provisioning-default-pools None |
| 1174 | + - name: Upgrade load balancer sku to standard |
| 1175 | + text: az aks update --load-balancer-sku standard -g MyResourceGroup -n MyManagedCluster |
1131 | 1176 | """ |
1132 | 1177 |
|
1133 | 1178 | helps['aks delete'] = """ |
|
0 commit comments