Skip to content

Commit 20da44d

Browse files
Merge pull request #3257 from MicrosoftDocs/main638581463646312286sync_temp
For protected branch, push strategy should use PR and merge to target branch method to work around git push error
2 parents bd0c427 + 6d603f4 commit 20da44d

File tree

6 files changed

+96
-8
lines changed

6 files changed

+96
-8
lines changed

AKS-Hybrid/auto-scale-aks-arc.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ ms.topic: how-to
55
ms.custom: devx-track-azurecli
66
author: sethmanheim
77
ms.author: sethm
8-
ms.lastreviewed: 02/28/2024
8+
ms.date: 08/01/2024
99
ms.reviewer: abha
10-
ms.date: 02/28/2024
10+
ms.lastreviewed: 08/01/2024
1111

1212
# Intent: As a Kubernetes user, I want to use cluster autoscaling to grow my nodes to keep up with application demand.
1313
# Keyword: cluster autoscaling Kubernetes
@@ -59,7 +59,7 @@ It takes a few minutes to update the cluster and configure the cluster autoscale
5959
Disable the cluster autoscaler using the [`az aksarc update`](/cli/azure/aksarc#az-aksarc-update) command and the `--disable-cluster-autoscaler` parameter:
6060

6161
```azurecli-interactive
62-
az aks update \
62+
az aksarc update \
6363
--resource-group myResourceGroup \
6464
--name my-aks-arc-cluster \
6565
--disable-cluster-autoscaler
@@ -72,7 +72,7 @@ Nodes aren't removed when the cluster autoscaler is disabled.
7272
As your application demands change, you might need to adjust the cluster autoscaler node count to scale efficiently. Change the node count using the [`az aksarc update`](/cli/azure/aksarc#az-aksarc-update) command and update the cluster autoscaler using the `--update-cluster-autoscaler` parameter and specifying your updated `--min-count` and `--max-count` for the node.
7373

7474
```azurecli-interactive
75-
az aks update \
75+
az aksarc update \
7676
--resource-group myResourceGroup \
7777
--name myAKSCluster \
7878
--update-cluster-autoscaler \

AKS-Hybrid/cluster-labels.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
title: Use cluster labels in AKS enabled by Azure Arc
33
description: Learn how to use labels in Kubernetes clusters in AKS enabled by Arc.
44
ms.topic: how-to
5-
ms.date: 05/31/2024
5+
ms.date: 08/01/2024
66
author: sethmanheim
77
ms.author: sethm
8-
ms.lastreviewed: 05/31/2024
8+
ms.lastreviewed: 08/01/2024
99
ms.reviewer: guanghu
1010

1111
---
@@ -39,7 +39,7 @@ This article describes how to use labels in a Kubernetes cluster on AKS enabled
3939
The following example creates a node pool named `labelnp` with the label `dept=HR`:
4040

4141
```azurecli
42-
az aks nodepool add –resource-group myResourceGroup –cluster-name myAKSCluster –name labelnp –node-count 1 –labels dept=HR –no-wait
42+
az aksarc nodepool add –resource-group myResourceGroup –cluster-name myAKSCluster –name labelnp –node-count 1 –labels dept=HR –no-wait
4343
```
4444

4545
The following example output from the [`az aksarc nodepool list`](/cli/azure/aksarc/nodepool#az-aksarc-nodepool-list) command shows the `labelnp` node pool creates nodes with the specified `nodeLabels`:
17.8 KB
Loading
13.6 KB
Loading
Lines changed: 86 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,86 @@
1+
---
2+
title: Prepare SUSE Linux image for Azure Stack HCI VM via Azure CLI (preview)
3+
description: Learn how to prepare SUSE Linux images to create an Azure Stack HCI VM image (preview) by using Azure CLI.
4+
author: ronmiab
5+
ms.author: robess
6+
ms.topic: how-to
7+
ms.service: azure-stack
8+
ms.subservice: azure-stack-hci
9+
ms.custom:
10+
- devx-track-azurecli
11+
ms.date: 08/01/2024
12+
#Customer intent: As a Senior Content Developer, I want to provide customers with content and steps to help them successfully use SUSE Linux to create images on Azure Stack HCI.
13+
---
14+
15+
# Prepare SUSE Linux image for Azure Stack HCI virtual machines (preview)
16+
17+
[!INCLUDE [hci-applies-to-23h2](../../includes/hci-applies-to-23h2.md)]
18+
19+
This article describes how to use a SUSE Linux image to create a virtual machine (VM) on your Azure Stack HCI cluster. You use Azure CLI for the VM image creation.
20+
21+
## Prerequisites
22+
23+
Before you begin, meet the following prerequisites:
24+
25+
- Have access to an Azure Stack HCI cluster. This cluster is deployed, registered, and connected to Azure Arc. Go to the **Overview** page in the Azure Stack HCI cluster resource. On the **Server** tab in the right-pane, the **Azure Arc** should show as **Connected**.
26+
27+
- [Download the SUSE QCOW2](https://download.opensuse.org/repositories/Cloud:/Images:/Leap_15.6/images/openSUSE-Leap-15.6.x86_64-NoCloud.qcow2) image file to your local system. Alternatively, you can run the following PowerShell command to download the image:
28+
29+
```powershell
30+
PS C:\temp\images> wget "https://download.opensuse.org/repositories/Cloud:/Images:/Leap_15.6/images/openSUSE-Leap-15.6.x86_64-NoCloud.qcow2" -OutFile c:\temp\images\openSUSE-Leap-15.6.x86_64-NoCloud.qcow
31+
```
32+
33+
## Workflow
34+
35+
To convert the QCOW2 image to VHDX and create a VM image from the VHDX image.
36+
37+
1. [Convert QCOW2 to VHDX](#step-1-convert-qcow2-to-vhdx).
38+
2. [Create a SUSE VM image](#step-2-create-a-suse-vm-image).
39+
40+
The following sections provide detailed instructions for each step in the workflow.
41+
42+
## Step 1: Convert QCOW2 to VHDX
43+
44+
After the QCOW2 image is downloaded, use the **QEMU disk image utility for Windows** tool to convert the image to VHDX.
45+
46+
The QEMU disk image utility for Windows tool is used to convert, create, and consistently check various virtual disk formats. It's compatible with Hyper-V and other solutions and is optimized for Windows Server (x64).
47+
48+
Follow these steps to download the tool and convert the QCOW2 image file to VHDX.
49+
50+
1. Download the [QEMU disk image utility for Windows](https://cloudbase.it/qemu-img-windows/) tool by clicking the **Download binaries** button for file. Alternatively, you can run the following PowerShell command to download the tool:
51+
52+
```powershell
53+
PS C:\temp\tool> wget https://cloudbase.it/downloads/qemu-img-win-x64-2_3_0.zip -OutFile C:\temp\tool\qemu-img-win-x64-2_3_0.zip
54+
```
55+
56+
2. After the tool is downloaded, extract the files from the zip by running this command:
57+
58+
```powershell
59+
PS C:\temp\tool
60+
Expand-Archive 'c:\temp\tool\qemu-img-win-x64-2_3_0.zip'
61+
```
62+
63+
Here's an example:
64+
65+
:::image type="content" source="../manage/media/virtual-machine-image-suse/suse-qemu-extracted-zip.png" alt-text="Screenshot that shows the downloaded QEMU Disk Utility tool." lightbox="../manage/media/virtual-machine-image-suse/suse-qemu-extracted-zip.png":::
66+
67+
3. Then using the QEMU tool, convert and save the QCOW2 to VHDX by running this command:
68+
69+
```PowerShell
70+
PS C:\temp\tool\qemu-img-win-x64-2_3_0> ./qemu-img.exe convert c:\temp\images\openSUSE-Leap-15.6.x86_64-NoCloud.qcow2 -O vhdx -o subformat=dynamic c:\temp\images\openSUSE-Leap-15.6.x86_64-NoCloud.vhdx
71+
PS C:\temp\tool\qemu-img-win-x64-2_3_0>
72+
```
73+
74+
Here's an example:
75+
76+
:::image type="content" source="../manage/media/virtual-machine-image-suse/suse-qcow-2-to-vhdx.png" alt-text="Screenshot that shows the original QCOW2 image and the new VHDX image." lightbox="../manage/media/virtual-machine-image-suse/suse-qcow-2-to-vhdx.png":::
77+
78+
Now, you're ready to create your VM image.
79+
80+
## Step 2: Create a SUSE VM image
81+
82+
[!INCLUDE [hci-create-a-vm-image](../../includes/hci-create-a-vm-image.md)]
83+
84+
## Related content
85+
86+
- [Create logical networks for Azure Stack HCI](../manage/create-logical-networks.md) on your Azure Stack HCI cluster.

azure-stack/hci/toc.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,9 @@ items:
241241
- name: Using CentOS VM image
242242
href: manage/virtual-machine-image-centos.md
243243
- name: Using Red Hat Enterprise VM image
244-
href: manage/virtual-machine-image-red-hat-enterprise.md
244+
href: manage/virtual-machine-image-red-hat-enterprise.md
245+
- name: Using SUSE VM image
246+
href: manage/virtual-machine-image-suse.md
245247
- name: 3. Create logical networks
246248
href: manage/create-logical-networks.md
247249
- name: 4. Create network interfaces

0 commit comments

Comments
 (0)