Skip to content

Commit 892c331

Browse files
committed
More
1 parent ec1d512 commit 892c331

File tree

3 files changed

+26
-27
lines changed

3 files changed

+26
-27
lines changed

AKS-Arc/kubernetes-walkthrough-powershell.md

Lines changed: 23 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,30 @@
11
---
2-
title: Use PowerShell to set up Kubernetes on Azure Local and Windows Server clusters
2+
title: Use PowerShell to set up Kubernetes on Windows Server clusters
33
description: Learn how to set up an AKS host and create Kubernetes clusters using Windows PowerShell.
44
author: sethmanheim
55
ms.topic: quickstart
6-
ms.date: 02/21/2025
6+
ms.date: 03/28/2025
77
ms.author: sethm
88
ms.lastreviewed: 05/02/2022
9-
ms.reviewer: mikek
9+
ms.reviewer: abha
1010
ms.custom:
1111
- mode-api
1212
- kr2b-contr-experiment
1313
- devx-track-azurepowershell
1414

15-
# Intent: As an IT Pro, I want to use Windows PowerShell to create an AKS on Azure Local and Windows Server cluster.
16-
# Keyword: AKS setup PowerShell
15+
# Intent: As an IT Pro, I want to use Windows PowerShell to create an AKS on Windows Server cluster.
16+
# Keyword: AKS set up PowerShell
1717
---
1818

19-
# Set up an Azure Kubernetes Service host on Azure Local and Windows Server and deploy a workload cluster using PowerShell
19+
# Set up an Azure Kubernetes Service host on Windows Server and deploy a workload cluster using PowerShell
2020

21-
> Applies to: Azure Local or Windows Server Datacenter
21+
> Applies to: Windows Server Datacenter
2222
23-
This quickstart guides you through setting up an Azure Kubernetes Service (AKS) host. You create Kubernetes clusters on Azure Local and Windows Server using PowerShell. To use Windows Admin Center instead, see [Set up with Windows Admin Center](setup.md).
23+
This quickstart guides you through setting up an Azure Kubernetes Service (AKS) host. You create Kubernetes clusters on Windows Server using PowerShell. To use Windows Admin Center instead, see [Set up with Windows Admin Center](setup.md).
2424

2525
> [!NOTE]
26-
> - If you have pre-staged cluster service objects and DNS records, see [Deploy an AKS host with prestaged cluster service objects and DNS records using PowerShell](prestage-cluster-service-host-create.md).
26+
> - If you pre-staged cluster service objects and DNS records, see [Deploy an AKS host with prestaged cluster service objects and DNS records using PowerShell](prestage-cluster-service-host-create.md).
2727
> - If you have a proxy server, see [Set up an AKS host and deploy a workload cluster using PowerShell and a proxy server](set-proxy-settings.md).
28-
> - Installing AKS on Azure Local after setting up Arc VMs is not supported. For more information, see [known issues with Arc VMs](/azure/azure-local/manage/troubleshoot-arc-enabled-vms#limitations-and-known-issues). If you want to install AKS on Azure Local, you must uninstall Arc Resource Bridge and then install AKS on Azure Local. You can deploy a new Arc Resource Bridge again after you clean up and install AKS, but it won't remember the VM entities you created previously.
2928
3029
## Before you begin
3130

@@ -68,17 +67,17 @@ Get-AzResourceProvider -ProviderNamespace Microsoft.KubernetesConfiguration
6867
Get-AzResourceProvider -ProviderNamespace Microsoft.ExtendedLocation
6968
```
7069

71-
## Step 1: Prepare your machine(s) for deployment
70+
## Step 1: prepare your machine(s) for deployment
7271

73-
Run checks on every physical node to see if all the requirements to install AKS enabled by Arc are satisfied. Open PowerShell as an administrator and run the following [Initialize-AksHciNode](./reference/ps/initialize-akshcinode.md) command on all nodes in your Azure Local and Windows Server cluster:
72+
Run checks on every physical node to see if all the requirements to install AKS enabled by Arc are satisfied. Open PowerShell as an administrator and run the following [Initialize-AksHciNode](./reference/ps/initialize-akshcinode.md) command on all nodes in your Windows Server cluster:
7473

7574
```powershell
7675
Initialize-AksHciNode
7776
```
7877

79-
## Step 2: Create a virtual network
78+
## Step 2: create a virtual network
8079

81-
Run the following commands on any one node in your Azure Local and Windows Server cluster.
80+
Run the following commands on any one node in your Windows Server cluster.
8281

8382
To get the names of your available switches, run the following command. Make sure the `SwitchType` of your VM switch is **External**:
8483

@@ -104,9 +103,9 @@ $vnet = New-AksHciNetworkSetting -name myvnet -vSwitchName "extSwitch" -k8sNodeI
104103
> [!NOTE]
105104
> You must customize the values shown in this example command for your environment.
106105
107-
## Step 3: Configure your deployment
106+
## Step 3: configure your deployment
108107

109-
Run the following commands on any node in your Azure Local and Windows Server cluster.
108+
Run the following commands on any node in your Windows Server cluster.
110109

111110
To create the configuration settings for the AKS host, use the [Set-AksHciConfig](./reference/ps/set-akshciconfig.md) command. You must specify the `imageDir`, `workingDir`, and `cloudConfigLocation` parameters. If you want to reset your configuration details, run the command again with new parameters.
112111

@@ -120,25 +119,25 @@ Set-AksHciConfig -imageDir $csvPath\Images -workingDir $csvPath\ImageStore -clou
120119
> [!NOTE]
121120
> You must customize the values shown in this example command for your environment.
122121
123-
## Step 4: Sign in to Azure and configure registration settings
122+
## Step 4: sign in to Azure and configure registration settings
124123

125124
<a name='option-1-use-your-azure-ad-account-if-you-have-owner-permissions'></a>
126125

127-
### Option 1: Use your Microsoft Entra account if you have "Owner" permissions
126+
### Option 1: use your Microsoft Entra account if you have "Owner" permissions
128127

129128
Run the following [Set-AksHciRegistration](/azure-stack/aks-hci/reference/ps/set-akshciregistration) PowerShell command with your subscription and resource group name to sign in to Azure. You must have an Azure subscription, and an existing Azure resource group in the Australia East, East US, Southeast Asia, or West Europe Azure regions:
130129

131130
```powershell
132131
Set-AksHciRegistration -subscriptionId "<subscriptionId>" -resourceGroupName "<resourceGroupName>"
133132
```
134133

135-
### Option 2: Use an Azure service principal
134+
### Option 2: use an Azure service principal
136135

137136
If you don't have access to a subscription on which you're an **Owner**, you can register your AKS host to Azure for billing using a service principal. For more information about how to use a service principal, see [register AKS on Azure Local and Windows Server using a service principal](reference/ps/set-akshciregistration.md#register-aks-hybrid-using-a-service-principal).
138137

139-
## Step 5: Start a new deployment
138+
## Step 5: start a new deployment
140139

141-
Run the following command on any node in your Azure Local or Windows Server cluster.
140+
Run the following command on any node in your Windows Server cluster.
142141

143142
After you configure your deployment, you must start it in order to install the AKS agents and services, and the AKS host. To begin deployment, run the following command:
144143

@@ -152,7 +151,7 @@ Install-AksHci
152151
> [!WARNING]
153152
> During installation of your AKS host, a **Kubernetes - Azure Arc** resource type is created in the resource group that's set during registration. Do not delete this resource, as it represents your AKS host. You can identify the resource by checking its distribution field for a value of `aks_management`. If you delete this resource, it results in an out-of-policy deployment.
154153
155-
## Step 6: Create a Kubernetes cluster
154+
## Step 6: create a Kubernetes cluster
156155

157156
After you install your AKS host, you can deploy a Kubernetes cluster. Open PowerShell as an administrator and run the following [New-AksHciCluster](./reference/ps/new-akshcicluster.md) command. This example command creates a new Kubernetes cluster with one Linux node pool named `linuxnodepool` with a node count of 1.
158157

@@ -196,7 +195,7 @@ VmSize : Standard_K8S3_v1
196195
Phase : Deployed
197196
```
198197

199-
## Step 7: Connect your cluster to Arc-enabled Kubernetes
198+
## Step 7: connect your cluster to Arc-enabled Kubernetes
200199

201200
Connect your cluster to Arc-enabled Kubernetes by running the [Enable-AksHciArcConnection](./reference/ps/enable-akshciarcconnection.md) command. The following example connects your Kubernetes cluster to Arc using the subscription and resource group details you passed in the `Set-AksHciRegistration` command:
202201

@@ -225,7 +224,7 @@ Set-AksHciNodePool -clusterName mycluster -name linuxnodepool -count 3
225224
```
226225

227226
> [!NOTE]
228-
> In previous versions of AKS on Azure Local and Windows Server, the [Set-AksHciCluster](/azure-stack/aks-hci/reference/ps/set-akshcicluster) command was also used to scale worker nodes. Now that AKS is introducing node pools in workload clusters, you can only use this command to scale worker nodes if your cluster was created with the old parameter set in [New-AksHciCluster](/azure-stack/aks-hci/reference/ps/new-akshcicluster).
227+
> In previous versions of AKS on Windows Server, the [Set-AksHciCluster](/azure-stack/aks-hci/reference/ps/set-akshcicluster) command was also used to scale worker nodes. Now that AKS is introducing node pools in workload clusters, you can only use this command to scale worker nodes if your cluster was created with the old parameter set in [New-AksHciCluster](/azure-stack/aks-hci/reference/ps/new-akshcicluster).
229228
230229
To scale worker nodes in a node pool, use the [Set-AksHciNodePool](/azure-stack/aks-hci/reference/ps/set-akshcinodepool) command.
231230

AKS-Arc/setup.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Quickstart to set up AKS enabled by Azure Arc using Windows Admin Center
33
description: Learn how to set up AKS enabled by Azure Arc using Windows Admin Center
44
author: sethmanheim
55
ms.topic: quickstart
6-
ms.date: 12/27/2023
6+
ms.date: 03/28/2025
77
ms.author: sethm
88
ms.lastreviewed: 03/16/2022
99
ms.reviewer: dawhite
@@ -77,7 +77,7 @@ Now that you verified the system settings, follow these steps:
7777

7878
[![Screenshot that illustrates a static IP configuration on the Host Configuration page.](.\media\setup\host-configuration-static.png)](.\media\setup\host-configuration-static.png#lightbox)
7979

80-
(Optional) Configure proxy settings as required for the AKS host. These settings are dependent on the proxy settings that are provisioned on the Azure Local host machine. Make sure you also provision the list of IP addresses that needs to bypass the proxy. When complete, select **Next: Review + Create**.
80+
(Optional) Configure proxy settings as required for the AKS host. Make sure you also provision the list of IP addresses that needs to bypass the proxy. When complete, select **Next: Review + Create**.
8181

8282
[![Screenshot that shows the optional proxy settings that you configure on the Host Configuration page.](.\media\setup\proxy-settings-host-configuration.png)](.\media\setup\proxy-settings-host-configuration.png#lightbox)
8383

AKS-Arc/tutorial-kubernetes-prepare-application.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.lastreviewed: 1/14/2022
88
ms.reviewer: jeguan
99
author: sethmanheim
1010

11-
# Intent: As an IT Pro, I want to learn how to prepare a multi-purpose application so I can add it to my AKS on Azure Local deployment.
11+
# Intent: As an IT Pro, I want to learn how to prepare a multi-purpose application so I can add it to my AKS deployment.
1212
# Keyword: multi-container Kubernetes service
1313

1414
---

0 commit comments

Comments
 (0)