Skip to content

Commit 661ad79

Browse files
authored
Update aks-create-clusters-cli.md
1 parent 2543b45 commit 661ad79

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

AKS-Hybrid/aks-create-clusters-cli.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,9 @@ az aksarc create -n $aksclustername -g $resource_group --custom-location $custom
5353
After a few minutes, the command completes and returns JSON-formatted information about the cluster.
5454

5555
> [!NOTE]
56-
> When you use the `--generate-ssh-keys parameter`, a pair of SSH key files is generated on the local machine where you invoke the Az CLI.
56+
> - The SSH key value is the public key for accessing nodes in the provisioned cluster. By default, this key is located at `~/.ssh/id_rsa.pub`. You can specify a different location using the `--ssh-key-value` parameter during cluster creation.
57+
> - The `--generate-ssh-keys` parameter is required if there's no pre-existing SSH key on your local machine. If you don't include this parameter during cluster creation and no SSH key exists, you'll receive an error message.
58+
> - If you already have an SSH key on your local machine, the AKS cluster will reuse that key. In this case, specifying `--generate-ssh-keys` or not makes no difference.
5759
5860
## Connect to the Kubernetes cluster
5961

0 commit comments

Comments
 (0)