You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/operator-nexus/howto-kubernetes-cluster-manage-ssh-key.md
+18-18Lines changed: 18 additions & 18 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
---
2
2
title: Manage SSH access on Azure Operator Nexus Kubernetes cluster nodes #Required; page title is displayed in search results. Include the brand.
3
-
description: Learn how to configure and manage SSH on Azure Operator Nexus Kubernetes cluster nodes #Required; article description that is displayed in search results.
3
+
description: Learn how to configure and manage SSH on Azure Operator Nexus Kubernetes cluster nodes.#Required; article description that is displayed in search results.
4
4
author: dramasamy #Required; your GitHub user alias, with correct capitalization.
5
5
ms.author: dramasamy #Required; microsoft alias of author; optional team alias.
6
6
ms.service: azure-operator-nexus #Required; service per approved list. slug assigned by ACOM.
@@ -36,7 +36,7 @@ There are a few different ways that you can provide SSH keys for your cluster no
36
36
37
37
Following are the variables you need to set, along with the [QuickStart guide](./quickstarts-kubernetes-cluster-deployment-cli.md#create-an-azure-nexus-kubernetes-cluster) default values you can use for certain variables.
38
38
39
-
*`SSH_PUBLIC_KEY` - For the cluster wide keys. Note that using cluster wide key with agent pool and control plane keys doesn't have any effect as the control plane and agent pool keys are used instead of the cluster wide keys.
39
+
*`SSH_PUBLIC_KEY` - For the cluster wide keys. Using cluster wide key with agent pool and control plane keys doesn't have any effect as the control plane and agent pool keys are used instead of the cluster wide keys.
40
40
*`CONTROL_PLANE_SSH_PUBLIC_KEY` - For the control plane, you can provide public keys that are inserted into the control plane nodes.
41
41
*`INITIAL_AGENT_POOL_SSH_PUBLIC_KEY` - For each agent pool, you can provide public keys that are inserted into the nodes in that pool.
42
42
@@ -64,7 +64,7 @@ Following are the variables you need to set, along with the [QuickStart guide](.
64
64
dns-service-ip="${DNS_SERVICE_IP}"
65
65
```
66
66
67
-
### [Azure ARM](#tab/other)
67
+
### [Azure Resource Manager](#tab/other)
68
68
69
69
The `administratorConfiguration` can be inserted into the `properties` object for the cluster wide keys, and into the `initialAgentPoolConfigurations[].administratorConfiguration` object for each agent pool. The `controlPlaneNodeConfiguration.administratorConfiguration` object is used for the control plane.
#### Azure ARM and Bicep to update agent pool SSH keys
214
+
#### Azure ARM template and Bicep to update agent pool SSH keys
215
215
216
216
> [!NOTE]
217
217
> Updating node pools created through initial agent pool configuration is not possible with this method, as there is no separate agent pool template and parameter file. Only the agent pool keys for pools created after cluster creation can be updated using this method. To update the keys for the initial agent pool, refer to the CLI command provided in the previous section. If the initial agent pool was created with cluster wide keys, and if you want to update the keys for the initial agent pool, you can update the cluster wide keys.
az deployment group create --resource-group myResourceGroup --template-file kubernetes-add-agentpool.json --parameters @kubernetes-nodepool-parameters.json
237
237
```
238
238
239
-
for Bicep:
239
+
For Bicep:
240
240
241
241
```azurecli
242
242
az deployment group create --resource-group myResourceGroup --template-file kubernetes-add-agentpool.bicep --parameters @kubernetes-nodepool-parameters.json
@@ -247,9 +247,9 @@ for Bicep:
247
247
Use the following command to update the SSH keys for the control plane.
248
248
249
249
* All the nodes in the control plane will be updated with the new keys.
250
-
* If the control plane was created with keys, the new keys will replace the existing keys.
251
-
* If the control plane was created without keys, the new keys will be added.
252
-
* If the control plane was created with cluster wide keys, the new keys will replace the existing keys.
250
+
* If the control plane was created with keys, the new keys replace the existing keys.
251
+
* If the control plane was created without keys, the new keys are added.
252
+
* If the control plane was created with cluster wide keys, the new keys replace the existing keys.
253
253
* If you try to update the keys for a cluster that was created without any keys, the new key is added, but you can't remove it.
254
254
* If you try to update the control plane keys with an empty array, the operation succeeds, and the cluster wide keys are used instead.
0 commit comments