You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/azure-cache-for-redis/cache-tutorial-aks-get-started.md
+9-9Lines changed: 9 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -37,12 +37,12 @@ In this tutorial, you adapt the [AKS sample voting application](https://github.c
37
37
38
38
## Configure your AKS cluster
39
39
40
-
1.Follow these [steps](/azure/aks/workload-identity-deploy-cluster) to configure a workload identity for your AKS cluster. Complete the following steps:
40
+
Follow these [steps](/azure/aks/workload-identity-deploy-cluster) to configure a workload identity for your AKS cluster. Complete the following steps:
41
41
42
-
- Enable OIDC issuer and workload identity
43
-
- 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.
44
-
- Create a Kubernetes Service account annotated with the client ID of your user assigned managed identity
45
-
- Create a federated identity credential for your AKS cluster.
42
+
- Enable OIDC issuer and workload identity
43
+
- 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.
44
+
- Create a Kubernetes Service account annotated with the client ID of your user assigned managed identity
45
+
- Create a federated identity credential for your AKS cluster.
46
46
47
47
## Configure your workload that connects to Azure Cache for Redis
48
48
@@ -52,9 +52,9 @@ Next, set up the AKS workload to connect to Azure Cache for Redis after you conf
52
52
53
53
1. Build and push docker image to your Azure Container Registry using [az acr build](/cli/azure/acr#az-acr-build) command.
54
54
55
-
```bash
56
-
az acr build --image sample/connect-from-aks-sample:1.0 --registry yourcontainerregistry --file Dockerfile .
57
-
```
55
+
```bash
56
+
az acr build --image sample/connect-from-aks-sample:1.0 --registry yourcontainerregistry --file Dockerfile .
57
+
```
58
58
59
59
1. Attach your container registry to your AKS cluster using following command:
60
60
@@ -101,7 +101,7 @@ If you use Azure Cloud Shell, _kubectl_ is already installed, and you can skip t
101
101
102
102
## Run your workload
103
103
104
-
1. The following code describes the pod specification file that you use to run our workload. Take note that the pod has the label _azure.workloadidentity/use: "true"_ and is annotated with _serviceAccountName_ as required by AKS workload identity. Replace the value of CONNECTION_STRING, CACHE_NAME and USER_ASSIGNED_PRINCIPAL_ID environment variables that correspond with your cache and managed identity.
104
+
1. The following code describes the pod specification file that you use to run our workload. Take note that the pod has the label _azure.workloadidentity/use: "true"_ and is annotated with _serviceAccountName_ as required by AKS workload identity. Replace the value of CONNECTION_STRING, CACHE_NAME and USER_ASSIGNED_PRINCIPAL_ID environment variables that correspond with your cache and managed identity.
0 commit comments