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: azure-local/deploy/single-server.md
+12-5Lines changed: 12 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -38,8 +38,10 @@ Here are the steps to install the Azure Stack HCI OS on a single server, create
38
38
```
39
39
40
40
1. Install the Azure Stack HCI OS on your server. For more information, see [Deploy the Azure Stack HCI OS](../deploy/operating-system.md#manual-deployment) onto your server.
41
+
41
42
1. Configure the server utilizing the [Server Configuration Tool](/windows-server/administration/server-core/server-core-sconfig) (SConfig).
42
-
1. Install the required roles and features using the following command, then reboot before continuing.
43
+
44
+
1. Install the required roles and features using the following command, then reboot before you continue.
@@ -64,6 +66,7 @@ Here are the steps to install the Azure Stack HCI OS on a single server, create
64
66
> - The `New-Cluster` command requires the `StaticAddress` parameter if the node isn't using DHCP for its IP address assignment. This parameter should be supplied with a new, available IP address on the node's subnet.
65
67
66
68
1. Use [PowerShell](../deploy/register-with-azure.md?tab=power-shell#register-a-cluster) or [Windows Admin Center](../deploy/register-with-azure.md?tab=windows-admin-center#register-a-cluster) to register the cluster.
@@ -76,16 +79,20 @@ For solution updates (such as driver and firmware updates), see your solution ve
76
79
77
80
## Change a single-node to a multi-node cluster (optional)
78
81
79
-
You can add servers to your single-node cluster, also known as scaling out, though there are some manual steps you must take to properly configure Storage Spaces Direct fault domains (`FaultDomainAwarenessDefault`) in the process. These steps aren't present when adding servers to clusters with two or more servers.
82
+
You can add servers to your single-node cluster, also known as scaling out, though there are some manual steps you must take to properly configure Storage Spaces Direct fault domains (`FaultDomainAwarenessDefault`) in the process. These steps aren't present when you add servers to clusters with two or more servers.
80
83
81
84
1. Validate the cluster by specifying the existing server and the new server: [Validate an Azure Stack HCI cluster - Azure Stack HCI | Microsoft Docs](../deploy/validate.md).
85
+
82
86
2. If cluster validation was successful, add the new server to the cluster: [Add or remove servers for an Azure Stack HCI cluster - Azure Stack HCI | Microsoft Docs](../manage/add-cluster.md).
87
+
83
88
3. Once the server is added, change the cluster's fault domain awareness from PhysicalDisk to ScaleScaleUnit: [Inline fault domain changes](../manage/single-node-scale-out.md#inline-fault-domain-changes).
89
+
84
90
4. Optionally, if more resiliency is needed, adjust the volume resiliency type from a 2-way mirror to a Nested 2-way mirror: [Single-server to two-node cluster](../manage/single-node-scale-out.md#single-server-to-two-node-cluster).
91
+
85
92
5.[Set up a cluster witness](../manage/witness.md).
Copy file name to clipboardExpand all lines: azure-stack/user/aks-how-to-use-cli.md
+14-10Lines changed: 14 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,17 +18,17 @@ ms.lastreviewed: 10/06/2022
18
18
19
19
This article is a guide to get you started using the Azure Kubernetes Service (AKS) service on Azure Stack Hub. It describes the main set of scenarios to get you familiarized with AKS on Azure Stack Hub. The functionality available in Azure Stack Hub is a [subset](aks-overview.md) of what is available in global Azure.
20
20
21
-
In the following sections you will:
21
+
In the following sections you:
22
22
23
23
1. Complete the prerequisites to use AKS on Azure Stack Hub.
24
24
25
25
2. Complete the lifecycle operations of an AKS cluster using Azure CLI and the Azure Stack Hub user portal.
26
26
27
27
### Install Azure CLI
28
28
29
-
You'll need to install the Azure CLI with AKS support for your machine. Prepare a clean machine Linux or Windows machine to install the preview version of the Azure CLI with AKS support. Ensure the machine doesn't have Azure CLI installed to avoid conflicting with preview of Azure CLI you'll install next. Most of the following instructions assume you're using a Linux VM, but you can find the equivalent steps in Windows in the product documentation.
29
+
You must install the Azure CLI with AKS support for your machine. Prepare a clean machine Linux or Windows machine to install the preview version of the Azure CLI with AKS support. Ensure the machine doesn't have Azure CLI installed to avoid conflicting with preview of Azure CLI you install next. Most of the following instructions assume you're using a Linux VM, but you can find the equivalent steps in Windows in the product documentation.
30
30
31
-
Don't upgrade Azure CLI after installing the Azure CLI with AKS support. If you do upgrade, it is replaced by the production ready version that lacks AKS support.
31
+
Don't upgrade Azure CLI after installing the Azure CLI with AKS support. If you do upgrade, it's replaced by the production ready version that lacks AKS support.
32
32
33
33
### [Ubuntu](#tab/ubuntu)
34
34
@@ -80,7 +80,7 @@ Azure CLI should be 2.28.0 or later.
80
80
---
81
81
### Connect to Azure Stack Hub
82
82
83
-
1. Connect to your Azure Stack Hub endpoint. You need to use Azure CLI to establish the specific Azure Stack Hub environment to which you're connecting. You can find the instructions at [Connect to Azure Stack Hub](/azure-stack/user/azure-stack-version-profiles-azurecli2?tabs=ad-win#connect-with-azure-cli)
83
+
1. Connect to your Azure Stack Hub endpoint. You need to use Azure CLI to establish the specific Azure Stack Hub environment to which you're connecting. You can find the instructions at [Connect to Azure Stack Hub](/azure-stack/user/azure-stack-version-profiles-azurecli2?tabs=ad-win#connect-with-azure-cli).
84
84
85
85
2. Register your environment so that Azure CLI can connect to the Azure Stack Hub Resource Manager endpoint for your instance. Update the URLs in the following snippet and run the following command:
86
86
@@ -115,7 +115,7 @@ Azure CLI should be 2.28.0 or later.
115
115
>
116
116
> In particular, for Linux machines see: [Microsoft Entra ID on Linux](azure-stack-version-profiles-azurecli2.md)
117
117
118
-
6. Set the subscription in your Azure CLI session as the default with:
118
+
6. Use the following command to set the subscription in your Azure CLI session as the default:
119
119
120
120
```azurecli
121
121
az account set --subscription <subscription-id>
@@ -139,7 +139,7 @@ Azure CLI should be 2.28.0 or later.
139
139
140
140
9. Rerun step 7 to verify the resource provider registration status. The registration can take several minutes to complete.
141
141
142
-
Once those prerequisite steps are completed, you can proceed to test the following scenarios.
142
+
Once those prerequisite steps are completed, you can test the following scenarios.
143
143
144
144
## Create an AKS cluster
145
145
@@ -190,7 +190,7 @@ You can find the global Azure instructions at [Deploy an Azure Kubernetes Servic
190
190
az group create --name myResourceGroup-Win --location <your stamp location>
191
191
```
192
192
193
-
2. Create an Azure Kubernetes az login
193
+
2. Create an Azure Kubernetes az login.
194
194
195
195
3. Service cluster.
196
196
@@ -215,7 +215,7 @@ You can find the global Azure instructions at [Deploy an Azure Kubernetes Servic
215
215
--kubernetes-version 1.20.7
216
216
```
217
217
218
-
4. Now you can proceed to repeat the tests for [Scale](#scale-cluster), [deploy a Windows app](aks-how-to-push-an-app-cli.md), and [Delete](#delete-cluster).
218
+
4. Now you can repeat the tests for [Scale](#scale-cluster), [deploy a Windows app](aks-how-to-push-an-app-cli.md), and [Delete](#delete-cluster).
219
219
220
220
---
221
221
@@ -239,7 +239,7 @@ You can find the global Azure instructions at [Deploy an Azure Kubernetes Servic
239
239
kubectl get nodes
240
240
```
241
241
242
-

242
+

243
243
244
244
## Scale cluster
245
245
@@ -290,7 +290,11 @@ az aks delete --name myakscluster --resource-group myResourceGroup
290
290
291
291
## Create AKS cluster with custom virtual network
292
292
293
-
Creating a cluster to be deployed in a user-provided network is a common scenario. Planning the network configuration takes some preparation. Also, notice that with AKS the default network plugin is Azure CNI, not Kubenet as is the case with AKS engine. With Azure CNI, every pod gets an IP address from the subnet and can be accessed directly (without the need for a Routing table as is the case with Kubenet). These IP addresses must be unique across your network space and must be planned. The following article walks you through the process of planning for your custom virtual network deployment. You can find various network configurations that work for your needs and test them. For an initial test, the following two steps show you the basic process:
293
+
Creating a cluster to be deployed in a user-provided network is a common scenario. Planning the network configuration takes some preparation. Also, notice that with AKS the default network plugin is Azure CNI, not Kubenet as is the case with AKS engine.
294
+
295
+
With Azure CNI, every pod gets an IP address from the subnet and can be accessed directly (without the need for a Routing table as is the case with Kubenet). These IP addresses must be unique across your network space and must be planned.
296
+
297
+
The following article walks you through the process of planning for your custom virtual network deployment. You can find various network configurations that work for your needs and test them. For an initial test, the following two steps show you the basic process:
294
298
295
299
1. Follow the instructions in [this article](/azure/aks/configure-azure-cni) to plan the deployment using Azure CNI. For example, you could use the portal to create a virtual network named "myAKSVnet" with IP range 10.0.0.0/8 with subnet "myAKSSubnet" and IP range 10.240.0.0/16 in a Resource Group named "myTest-rg." Then use the next step for the creation of the cluster.
0 commit comments