Skip to content

Commit 715a988

Browse files
Merge pull request #288152 from flang-msft/fxl---shruti-PR-for-AKS-tutorial
Fxl---shruti pr for aks tutorial
2 parents c6127c0 + c2dd0dc commit 715a988

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

articles/azure-cache-for-redis/cache-tutorial-aks-get-started.md

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ ms.date: 10/01/2024
99

1010
# Tutorial: Connect to Azure Cache for Redis from your application hosted on Azure Kubernetes Service
1111

12-
In this tutorial, you adapt the [AKS sample voting application](https://github.com/Azure-Samples/azure-voting-app-redis/tree/master) to use with an Azure Cache for Redis instance instead. The original sample uses a Redis cache deployed as a container to your AKS cluster. Following some simple steps, you can configure the AKS sample voting application to connect to your Azure Cache for Redis instance.
12+
In this tutorial, you use this [sample](https://github.com/Azure-Samples/azure-cache-redis-samples/tree/main/tutorial/connect-from-aks) to connect with an Azure Cache for Redis instance.
1313

1414
## Prerequisites
1515

@@ -37,16 +37,18 @@ In this tutorial, you adapt the [AKS sample voting application](https://github.c
3737

3838
## Run sample locally
3939

40-
To run this sample locally, configure your user principal as a Redis User on your Redis instance. The code sample will use your user principal through (DefaultAzureCredential)[https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication/?tabs=command-line#use-defaultazurecredential-in-an-application] to connect to Redis instance.
40+
To run this sample locally, configure your user principal as a Redis User on your Redis instance. The code sample uses your user principal through [DefaultAzureCredential](/dotnet/azure/sdk/authentication/?tabs=command-line#use-defaultazurecredential-in-an-application) to connect to Redis instance.
4141

4242
## Configure your AKS cluster
4343

44-
Follow these [steps](/azure/aks/workload-identity-deploy-cluster) to configure a workload identity for your AKS cluster. Complete the following steps:
44+
Follow these [steps](/azure/aks/workload-identity-deploy-cluster) to configure a workload identity for your AKS cluster.
4545

46-
- Enable OIDC issuer and workload identity
47-
- Skip the step to create user assigned managed identity if you already created your managed identity. If you create a new managed identity, ensure that you create a new Redis User for your managed identity and assign appropriate data access permissions.
48-
- Create a Kubernetes Service account annotated with the client ID of your user assigned managed identity
49-
- Create a federated identity credential for your AKS cluster.
46+
Then, complete the following steps:
47+
48+
- Enable OIDC issuer and workload identity
49+
- Skip the step to create user assigned managed identity if you already created your managed identity. If you create a new managed identity, ensure that you create a new Redis User for your managed identity and assign appropriate data access permissions.
50+
- Create a Kubernetes Service account annotated with the client ID of your user assigned managed identity
51+
- Create a federated identity credential for your AKS cluster.
5052

5153
## Configure your workload that connects to Azure Cache for Redis
5254

@@ -194,4 +196,4 @@ kubectl delete pod entrademo-pod
194196

195197
- [Quickstart: Deploy an Azure Kubernetes Service (AKS) cluster using the Azure portal](/azure/aks/learn/quick-kubernetes-deploy-portal)
196198
- [Quickstart: Deploy and configure workload identity on an Azure Kubernetes Service (AKS) cluster](/azure/aks/workload-identity-deploy-cluster)
197-
- [Azure Cache for Redis Entra ID Authentication](/azure/azure-cache-for-redis/cache-azure-active-directory-for-authentication)
199+
- [Azure Cache for Redis Microsoft Entra ID Authentication](/azure/azure-cache-for-redis/cache-azure-active-directory-for-authentication)

0 commit comments

Comments
 (0)