Skip to content

Commit 7b206f2

Browse files
committed
Merge branch 'main' into live
2 parents f0697da + 4c49ac8 commit 7b206f2

2 files changed

Lines changed: 28 additions & 6 deletions

File tree

support/azure/azure-kubernetes/troubleshoot-common-azure-linux-aks.md

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
---
22
title: Troubleshoot common issues for Azure Linux Container Host for AKS
33
description: Troubleshoot commonly reported issues for Azure Linux container hosts on Azure Kubernetes Service (AKS).
4-
ms.date: 03/03/2023
4+
ms.date: 09/08/2023
5+
author: suhuruli
6+
ms.author: suhuruli
57
editor: v-jsitser
6-
ms.reviewer: suhuruli, v-leedennis
8+
ms.reviewer: v-leedennis
79
ms.service: azure-kubernetes-service
810
ms.subservice: common-issues
911
---
@@ -92,6 +94,22 @@ Azure Linux (and other RPM distributions) store certificates differently from Ub
9294

9395
On Azure Linux, the */etc/ssl/certs* path is a symbolic link to */etc/pki/tls/certs*. If a container expects to map */etc/ssl/certs* to use the *ca-certificates.crt* certificate file on Azure Linux, the container instead gets a symbolic link that points to nowhere. This behavior causes certificate-related errors in the container. The container also has to map */etc/pki* so that the container can follow the symbolic link chain. If the container has to work on both Ubuntu and Azure Linux hosts, you can map */etc/pki* by using the `DirectoryOrCreate` type in a [hostPath volume](https://kubernetes.io/docs/concepts/storage/volumes/#hostpath).
9496

97+
### Step 4: Update Azure CLI and the AKS preview extension
98+
99+
If you try to deploy an Azure Linux AKS cluster by using Azure CLI, you might receive an error message that states that the `AzureLinux` option isn't supported for the `OSSku` parameter. This message means that you might be using an outdated version of the Azure CLI or the AKS preview extension. To fix this issue, take one or both of the following two actions:
100+
101+
- If Azure CLI isn't up to date, install the latest version. To upgrade Azure CLI, run the following [az upgrade](/cli/azure/reference-index#az-upgrade) command:
102+
103+
```azurecli
104+
az upgrade
105+
```
106+
107+
- If you have an older version of the `aks-preview` extension installed, install a newer version so that the `OSSku` parameter has a value of `AzureLinux`. To upgrade the extension, run the following [az extension update](/cli/azure/extension#az-extension-update) command:
108+
109+
```azurecli
110+
az extension update --name aks-preview
111+
```
112+
95113
[!INCLUDE [Third-party information disclaimer](../../includes/third-party-disclaimer.md)]
96114

97115
[!INCLUDE [Third-party contact information disclaimer](../../includes/third-party-contact-disclaimer.md)]

support/azure/azure-kubernetes/welcome-azure-kubernetes.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ metadata:
1111
ms.topic: landing-page # Required
1212
author: genlin #Required; your GitHub user alias, with correct capitalization.
1313
ms.author: genli #Required; microsoft alias of author; optional team alias.
14-
ms.date: 01/24/2022
14+
ms.date: 09/08/2023
1515

1616
# linkListType: architecture | concept | deploy | download | get-started | how-to-guide | learn | overview | quickstart | reference | tutorial | video | whats-new
1717

@@ -164,7 +164,11 @@ landingContent:
164164
url: ./identify-high-cpu-consuming-containers-aks.md
165165
- text: Identify memory saturation in AKS clusters
166166
url: ./identify-memory-saturation-aks.md
167-
168-
169-
170167

168+
# Card
169+
- title: Troubleshoot Azure Linux container host issues
170+
linkLists:
171+
- linkListType: how-to-guide
172+
links:
173+
- text: Troubleshoot common issues with Azure Linux container hosts on AKS
174+
url: ./troubleshoot-common-azure-linux-aks.md

0 commit comments

Comments
 (0)