Skip to content

Commit 634e162

Browse files
author
AbhishekMallick01
committed
AKS post release updates
1 parent 557a8a1 commit 634e162

File tree

3 files changed

+15
-14
lines changed

3 files changed

+15
-14
lines changed

articles/backup/azure-kubernetes-service-backup-troubleshoot.md

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Troubleshoot Azure Kubernetes Service backup
33
description: Symptoms, causes, and resolutions of Azure Kubernetes Service backup and restore.
44
ms.topic: troubleshooting
5-
ms.date: 03/14/2023
5+
ms.date: 03/15/2023
66
ms.service: backup
77
author: jyothisuri
88
ms.author: jsuri
@@ -51,20 +51,19 @@ The extension pods aren't exempt, and require the Azure Active Directory (Azure
5151

5252
1. Run the following command:
5353

54-
55-
```azurepowershell-interactive
54+
```azurecli-interactive
5655
az aks pod-identity exception add --resource-group shracrg --cluster-name shractestcluster --namespace dataprotection-microsoft --pod-labels app.kubernetes.io/name=dataprotection-microsoft-kubernetes
5756
```
5857

5958
2. To verify *Azurepodidentityexceptions* in cluster, run the following command:
6059

61-
```azurepowershell-interactive
60+
```azurecli-interactive
6261
kubectl get Azurepodidentityexceptions --all-namespaces
6362
```
6463

6564
3. To assign the *Storage Account Contributor* role to the extension identity, run the following command:
6665

67-
```azurepowershell-interactive
66+
```azurecli-interactive
6867
az role assignment create --assignee-object-id $(az k8s-extension show --name azure-aks-backup --cluster-name aksclustername --resource-group aksclusterresourcegroup --cluster-type managedClusters --query aksAssignedIdentity.principalId --output tsv) --role 'Storage Account Contributor' --scope /subscriptions/subscriptionid/resourceGroups/storageaccountresourcegroup/providers/Microsoft.Storage/storageAccounts/storageaccountname
6968
```
7069

@@ -83,31 +82,31 @@ This error appears due to absence of these FQDN rules because of which configura
8382

8483
1. To fetch *Existing CoreDNS-custom* YAML in your cluster (save it on your local for reference later), run the following command:
8584

86-
```azurepowershell-interactive
85+
```azurecli-interactive
8786
kubectl get configmap coredns-custom -n kube-system -o yaml
8887
```
8988

9089
2. To override mapping for *Central US DP* endpoint to public IP (download the YAML file attached), run the following command:
9190

92-
```azurepowershell-interactive
91+
```azurecli-interactive
9392
kubectl apply -f corednsms.yaml
9493
```
9594

9695
3. To force reload `coredns` pods, run the following command:
9796

98-
```azurepowershell-interactive
97+
```azurecli-interactive
9998
kubectl delete pod --namespace kube-system -l k8s-app=kube-dns
10099
```
101100

102101
4. To perform `NSlookup` from the *ExtensionAgent* pod to check if *coreDNS-custom* is working, run the following command:
103102

104-
```azurepowershell-interactive
103+
```azurecli-interactive
105104
kubectl exec -i -t pod/extension-agent-<pod guid that's there in your cluster> -n kube-system -- nslookup centralus.dp.kubernetesconfiguration.azure.com
106105
```
107106

108107
5. To check logs of the *ExtensionAgent* pod, run the following command:
109108

110-
```azurepowershell-interactive
109+
```azurecli-interactive
111110
kubectl logs pod/extension-agent-<pod guid that’s there in your cluster> -n kube-system --tail=200
112111
```
113112

articles/backup/azure-kubernetes-service-cluster-backup.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Back up Azure Kubernetes Service (AKS) using Azure Backup
33
description: This article explains how to back up Azure Kubernetes Service (AKS) using Azure Backup.
44
ms.topic: how-to
55
ms.service: backup
6-
ms.date: 03/03/2023
6+
ms.date: 03/15/2023
77
author: jyothisuri
88
ms.author: jsuri
99
---
@@ -26,6 +26,8 @@ Azure Backup now allows you to back up AKS clusters (cluster resources and persi
2626

2727
- Ensure that the `Microsoft.KubernetesConfiguration` and `Microsoft.DataProtection` providers are registered for your subscription before initiating backup configuration and restore operations.
2828

29+
- Ensure to perform [all the prerequisites](azure-kubernetes-service-cluster-backup-concept.md) before initiating backup or restore operation for AKS backup.
30+
2931
For more information on the supported scenarios, limitations, and availability, see the [support matrix](azure-kubernetes-service-cluster-backup-support-matrix.md).
3032

3133
## Create a Backup vault

articles/backup/azure-kubernetes-service-cluster-manage-backups.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Manage Azure Kubernetes Service (AKS) backups using Azure Backup
33
description: This article explains how to manage Azure Kubernetes Service (AKS) backups using Azure Backup.
44
ms.topic: how-to
55
ms.service: backup
6-
ms.date: 03/03/2023
6+
ms.date: 03/15/2023
77
author: jyothisuri
88
ms.author: jsuri
99
---
@@ -23,15 +23,15 @@ This section provides the set of Azure CLI commands to create, update, delete op
2323
To install the Backup Extension, use the following command:
2424

2525
```azurecli-interactive
26-
az k8s-extension create --name azure-aks-backup --extension-type Microsoft.DataProtection.Kubernetes --scope cluster --cluster-type managedClusters --cluster-name aksclustername --resource-group aksclusterrg --release-train preview --configuration-settings blobContainer=containername storageAccount=storageaccountname storageAccountResourceGroup=storageaccountrg storageAccountSubscriptionId=subscriptionid
26+
az k8s-extension create --name azure-aks-backup --extension-type Microsoft.DataProtection.Kubernetes --scope cluster --cluster-type managedClusters --cluster-name aksclustername --resource-group aksclusterrg --release-train stable --configuration-settings blobContainer=containername storageAccount=storageaccountname storageAccountResourceGroup=storageaccountrg storageAccountSubscriptionId=subscriptionid
2727
```
2828

2929
### Update resources in Backup Extension
3030

3131
To update blob container, CPU, and memory in the Backup Extension, use the following command:
3232

3333
```azurecli-interactive
34-
az k8s-extension update --name azure-aks-backup --cluster-type managedClusters --cluster-name aksclustername --resource-group aksclusterrg --release-train preview --configuration-settings [blobContainer=containername storageAccount=storageaccountname storageAccountResourceGroup=storageaccountrg storageAccountSubscriptionId=subscriptionid] [cpuLimit=1] [memoryLimit=1Gi]
34+
az k8s-extension update --name azure-aks-backup --cluster-type managedClusters --cluster-name aksclustername --resource-group aksclusterrg --release-train stable --configuration-settings [blobContainer=containername storageAccount=storageaccountname storageAccountResourceGroup=storageaccountrg storageAccountSubscriptionId=subscriptionid] [cpuLimit=1] [memoryLimit=1Gi]
3535
3636
[]: denotes the 3 different sub-groups of updates possible (discard the brackets while using the command)
3737

0 commit comments

Comments
 (0)