Skip to content

Commit 8c6bef4

Browse files
Merge pull request #284929 from suhuruli/suhuruli/azurelinux-docs-update
Update freshness of Azure Linux docs
2 parents 8de1108 + 36426d8 commit 8c6bef4

File tree

6 files changed

+44
-32
lines changed

6 files changed

+44
-32
lines changed

articles/azure-linux/concepts-core.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
---
22
title: Azure Linux Container Host for AKS basic core concepts
33
description: Learn the basic core concepts that make up the Azure Linux Container Host for AKS.
4-
author: htaubenfeld
5-
ms.author: htaubenfeld
4+
author: suhuruli
5+
ms.author: suhuruli
66
ms.service: microsoft-linux
77
ms.topic: conceptual
8-
ms.date: 09/29/2023
8+
ms.date: 08/18/2024
99
ms.custom: template-concept, linux-related-content
1010
---
1111

1212
# Core concepts for the Azure Linux Container Host for AKS
1313

14-
Microsoft Azure Linux is an open-sourced project maintained by Microsoft, which means that Microsoft is responsible for the entire Azure Linux Container Host stack, from the Linux kernel to the [Common Vulnerabilities and Exposures (CVEs)](https://cve.mitre.org/) infrastructure, support, and end-to-end validation. Microsoft makes it easy for you to create an AKS cluster with Azure Linux, without worrying about details such as verification and critical security vulnerability patches from a third party distribution.
14+
Microsoft Azure Linux is an open-sourced project maintained by Microsoft, which means that Microsoft is responsible for the entire Azure Linux Container Host stack, from the Linux kernel to the Common Vulnerabilities and Exposures (CVEs) infrastructure, support, and end-to-end validation. Microsoft makes it easy for you to create an AKS cluster with Azure Linux, without worrying about details such as verification and critical security vulnerability patches from a third party distribution.
1515

1616
## CVE infrastructure
1717

articles/azure-linux/concepts-packages.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
---
22
title: Azure Linux Container Host for AKS packages
33
description: Learn about the packages supported by the Azure Linux Container Host for AKS.
4-
author: htaubenfeld
5-
ms.author: htaubenfeld
4+
author: suhuruli
5+
ms.author: suhuruli
66
ms.service: microsoft-linux
77
ms.topic: conceptual
8-
ms.date: 05/10/2023
8+
ms.date: 08/18/2024
99
ms.custom: template-concept, linux-related-content
1010
---
1111

@@ -17,7 +17,7 @@ The Azure Linux Container Host for AKS is based on the Microsoft Azure Linux dis
1717

1818
The Azure Linux Container Host package list includes all the needed dependencies to run an Azure Linux VM and also pulls in any necessary Azure Kubernetes Service dependencies. A list of all the packages in the Azure Linux Container Host can be viewed [here](https://github.com/Azure/AgentBaker/blob/master/vhdbuilder/release-notes/AKSCBLMariner/gen2/latest.txt).
1919

20-
Whenever a new image is released by AKS, the [AKSCBLMariner release notes folder](https://github.com/Azure/AgentBaker/tree/master/vhdbuilder/release-notes/AKSCBLMariner/gen2) is updated with a new `latest.txt` file, which details the most up-to-date package list. You can also view previous image package lists and the historical versions of each package in the most recent image release in the GitHub repository. For each prior image release, you can find a corresponding `.txt` file with the naming convention `YYYY.MM.DD.txt`, where `YYYY.MM.DD` is the date of each previous image release.
20+
Whenever a new image is released by AKS, the [AKS Azure Linux release notes folder](https://github.com/Azure/AgentBaker/blob/master/vhdbuilder/release-notes/AKSAzureLinux/gen2/latest.txt) is updated with a new `latest.txt` file, which details the most up-to-date package list. You can also view previous image package lists and the historical versions of each package in the most recent image release in the GitHub repository. For each prior image release, you can find a corresponding `.txt` file with the naming convention `YYYY.MM.DD.txt`, where `YYYY.MM.DD` is the date of each previous image release.
2121

2222

2323
> [!NOTE]
@@ -49,7 +49,7 @@ To determine the `nodeImageVersion`, run the following command:
4949
az aks show -g <groupname> -n <clustername> | grep nodeImageVersion
5050
```
5151

52-
Then, as described above, check the [AKSCBLMariner release notes folder](https://github.com/Azure/AgentBaker/tree/master/vhdbuilder/release-notes/AKSCBLMariner/gen2) for the file that corresponds with the previously determined node image version date. In the file, the *Installed Packages Begin* section lists all the package versions in your cluster.
52+
Then, as described above, check the [AKS Azure Linux release notes folder](https://github.com/Azure/AgentBaker/blob/master/vhdbuilder/release-notes/AKSAzureLinux/gen2) for the file that corresponds with the previously determined node image version date. In the file, the *Installed Packages Begin* section lists all the package versions in your cluster.
5353

5454

5555
## Next steps

articles/azure-linux/how-to-install-certs.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
---
22
title: Installing certificates on the Azure Linux Container Host for AKS
33
description: How to install certificates on the Azure Linux Container Host for AKS.
4-
author: htaubenfeld
5-
ms.author: htaubenfeld
4+
author: suhuruli
5+
ms.author: suhuruli
66
ms.editor: schaffererin
77
ms.service: microsoft-linux
88
ms.topic: how-to
9-
ms.date: 06/30/2023
9+
ms.date: 08/18/2023
1010
ms.custom: template-how-to-pattern, linux-related-content
1111
---
1212

1313
# Installing certificates on the Azure Linux Container host for AKS
1414

15-
By default, the Azure Linux Container Host for AKS image has a minimal set of root certs to trust certain Microsoft resources, such as packages.microsoft.com. All Microsoft certificates aren't automatically included in our image, which is consistent with the least-privilege principle and gives you the flexibility to opt in to just the root certificates you need and to customize your image.
15+
By default, the Azure Linux Container Host for AKS image has a minimal set of root certs to trust certain Microsoft resources, such as `packages.microsoft.com`. All Microsoft certificates aren't automatically included in our image, which is consistent with the least-privilege principle and gives you the flexibility to opt in to just the root certificates you need and to customize your image.
1616

1717
The `ca-certificates-base` is preinstalled in the container host image and contains certificates from a small set of Microsoft-owned CAs. It consists of certificates from Microsoft's root and intermediate CAs. This package allows your container host to trust a minimal set of servers, all of which were verified and had their certificates issued by Microsoft.
1818

articles/azure-linux/troubleshoot-packages.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
---
22
title: Troubleshooting Azure Linux Container Host for AKS package upgrade issues
33
description: How to troubleshoot Azure Linux Container Host for AKS package upgrade issues.
4-
author: htaubenfeld
5-
ms.author: htaubenfeld
4+
author: suhuruli
5+
ms.author: suhuruli
66
ms.service: microsoft-linux
77
ms.custom: linux-related-content
88
ms.topic: troubleshooting
9-
ms.date: 05/10/2023
9+
ms.date: 08/18/2024
1010
---
1111

1212
# Troubleshoot issues with package upgrades on the Azure Linux Container Host
@@ -22,11 +22,11 @@ However, sometimes the packages in the Azure Linux Container Host fail to receiv
2222

2323
## Cause
2424

25-
Some packages, such as the Linux Kernel, require a reboot for the updates to take effect. To facilitate automatic reboots, the Azure Linux VM runs the check-restart service, which creates the /var/run/reboot-required file when a package update requires a reboot.
25+
Some packages, such as the Linux Kernel, require a reboot for the updates to take effect. To facilitate automatic reboots, the Azure Linux VM runs the check-restart service, which creates the `/var/run/reboot-required` file when a package update requires a reboot.
2626

2727
## Solution
2828

29-
To ensure that Kubernetes acts on the request for a reboot, we recommend setting up the [kured daemonset](/azure/aks/node-updates-kured). [Kured](https://github.com/kubereboot/kured) monitors your nodes for the /var/run/reboot-required file and, when it's found, drains the work off the node and reboots it.
29+
To ensure that Kubernetes acts on the request for a reboot, we recommend setting up the [kured daemonset](/azure/aks/node-updates-kured). [Kured](https://github.com/kubereboot/kured) monitors your nodes for the `/var/run/reboot-required` file and, when it's found, drains the work off the node and reboots it.
3030

3131
## Next steps
3232

articles/azure-linux/tutorial-azure-linux-telemetry-monitor.md

Lines changed: 21 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
---
22
title: Azure Linux Container Host for AKS tutorial - Enable telemetry and monitoring for the Azure Linux Container Host
33
description: In this Azure Linux Container Host for AKS tutorial, you'll learn how to enable telemetry and monitoring for the Azure Linux Container Host.
4-
author: htaubenfeld
5-
ms.author: htaubenfeld
4+
author: suhuruli
5+
ms.author: suhuruli
66
ms.service: microsoft-linux
77
ms.custom: linux-related-content
88
ms.topic: tutorial
9-
ms.date: 04/18/2023
9+
ms.date: 08/18/2024
1010
---
1111

1212
# Tutorial: Enable telemetry and monitoring for your Azure Linux Container Host cluster
@@ -28,21 +28,33 @@ In the next and last tutorial, you'll learn how to upgrade your Azure Linux node
2828

2929
## 1 - Enable monitoring
3030

31-
### Use a default Log Analytics workspace
31+
### Option 1: Use a default Log Analytics workspace
3232

3333
The following step enables monitoring for your Azure Linux Container Host cluster using Azure CLI. In this example, you aren't required to precreate or specify an existing workspace. This command simplifies the process for you by creating a default workspace in the default resource group of the AKS cluster subscription. If one doesn't already exist in the region, the default workspace created will resemble the format *DefaultWorkspace-< GUID >-< Region >*.
3434

3535
```azurecli
3636
az aks enable-addons -a monitoring -n testAzureLinuxCluster -g testAzureLinuxResourceGroup
3737
```
3838

39-
The output will resemble the following example:
39+
The first few lines of the output should contain the following in the `addonProfiles` configuration :
4040

4141
```output
42-
provisioningState : Succeeded
42+
{
43+
"aadProfile": null,
44+
"addonProfiles": {
45+
"omsagent": {
46+
"config": {
47+
"logAnalyticsWorkspaceResourceID": "/subscriptions/<WorkspaceSubscription>/resourceGroups/DefaultResourceGroup-EUS2/providers/Microsoft.OperationalInsights/workspaces/DefaultWorkspace-<WorkspaceSubscription>-EUS2",
48+
"useAADAuth": "true"
49+
},
50+
"enabled": true,
51+
"identity": null
52+
}
53+
},
54+
}
4355
```
4456

45-
### Specify a Log Analytics workspace
57+
### Option 2: Specify a Log Analytics workspace
4658

4759
In this example, you can specify a Log Analytics workspace to enable monitoring of your Azure Linux Container Host cluster. The resource ID of the workspace will be in the form `"/subscriptions/<SubscriptionId>/resourceGroups/<ResourceGroupName>/providers/Microsoft.OperationalInsights/workspaces/<WorkspaceName>"`.
4860

@@ -68,8 +80,8 @@ The output should resemble the following example, which indicates that it was de
6880

6981
```output
7082
User@aksuser:~$ kubectl get ds ama-logs --namespace=kube-system
71-
NAME DESIRED CURRENT READY UP-TO-DATE AVAILABLE NODE SELECTOR AGE
72-
ama-logs 2 2 2 2 2 beta.kubernetes.io/os=linux 1d
83+
NAME DESIRED CURRENT READY UP-TO-DATE AVAILABLE NODE SELECTOR AGE
84+
ama-logs 3 3 3 3 3 <none> 3m22s
7385
```
7486

7587
To verify deployment of the solution, run the following command:

articles/azure-linux/tutorial-azure-linux-upgrade.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
---
22
title: Azure Linux Container Host for AKS tutorial - Upgrade Azure Linux Container Host nodes
33
description: In this Azure Linux Container Host for AKS tutorial, you learn how to upgrade Azure Linux Container Host nodes.
4-
author: htaubenfeld
5-
ms.author: htaubenfeld
4+
author: suhuruli
5+
ms.author: suhuruli
66
ms.service: microsoft-linux
77
ms.custom: linux-related-content
88
ms.topic: tutorial
9-
ms.date: 05/10/2023
9+
ms.date: 08/18/2024
1010
---
1111

1212
# Tutorial: Upgrade Azure Linux Container Host nodes
@@ -59,9 +59,9 @@ For more information on upgrade channels, see [Using cluster auto-upgrade](/azur
5959

6060
## Enable automatic package upgrades
6161

62-
Similar to setting your clusters to auto-upgrade, you can use the same set once and forget mechanism for package upgrades by enabling the node-os upgrade channel. If automatic package upgrades are enabled, the dnf-automatic systemd service runs daily and installs any updated packages that have been published.
62+
Similar to setting your clusters to auto-upgrade, you can use the same set once and forget mechanism for package upgrades by enabling the node-os upgrade channel. If automatic package upgrades are enabled, the `dnf-automatic` systemd service runs daily and installs any updated packages that have been published.
6363

64-
To set the node-os upgrade channel on existing cluster, update the `--node-os-upgrade-channel` parameter, similar to the following example, which automatically enables package upgrades. Note that for some settings of [Node OS Upgrade Channel](/azure/aks/auto-upgrade-node-image), `dnf-automatic` is disabled by default.
64+
To set the node-os upgrade channel on existing cluster, update the `--node-os-upgrade-channel` parameter, similar to the following example, which automatically enables package upgrades.
6565

6666
```azurecli-interactive
6767
az aks update --resource-group testAzureLinuxResourceGroup --name testAzureLinuxCluster --node-os-upgrade-channel Unmanaged

0 commit comments

Comments
 (0)