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-app-configuration/quickstart-azure-kubernetes-service.md
+10-10Lines changed: 10 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -76,7 +76,7 @@ If you already have an application that is consuming environment variables as co
76
76
77
77
## Containerize the application
78
78
If you already have an application, you can containerize it in a way that depends on your application. We just show you how to build the `MyWebApp` project to an image.
79
-
1. Run the (dotnet publish)[/dotnet/core/tools/dotnet-publish] command to build the app in release mode and create the assets in the published folder.
79
+
1. Run the [dotnet publish](/dotnet/core/tools/dotnet-publish) command to build the app in release mode and create the assets in the published folder.
80
80
``` dotnetcli
81
81
dotnet publish -c Release -o published
82
82
```
@@ -132,11 +132,11 @@ If you already have an application, you can containerize it in a way that depend
132
132
|Settings__FontColor|*Red*|
133
133
|Settings__Message|*Hello from Azure App Configuration*|
134
134
135
-
2. Enable System Assigned Managed Identity of AKS NodePool
135
+
1. Enable System Assigned Managed Identity of AKS NodePool
136
136
137
137
Go to the corresponding Virtual Machine Scale Sets resource of AKS, and enable system-assigned managed identity on the Virtual Machine Scale Sets by following this [doc](/azure/active-directory/managed-identities-azure-resources/qs-configure-portal-windows-vmss#enable-system-assigned-managed-identity-on-an-existing-virtual-machine-scale-set).
138
138
139
-
3. Assign Data Reader role to the System Assigned Managed Identity
139
+
1. Assign Data Reader role to the System Assigned Managed Identity
140
140
141
141
Once the system-assigned managed identity has been enabled, you need to grant it read access to Azure AppConfiguration. You can do it by following the instructions in this [doc](/azure/azure-app-configuration/howto-integrate-azure-managed-service-identity?tabs=core5x&pivots=framework-dotnet#grant-access-to-app-configuration).
142
142
@@ -146,15 +146,15 @@ If you already have an application, you can containerize it in a way that depend
146
146
```bash
147
147
az aks get-credentials --name my_aks --resource-group my_aks_resource_group
148
148
```
149
-
2. Install Azure App Configuration Kubernetes Provider to your AKS cluster using `helm`:
149
+
1. Install Azure App Configuration Kubernetes Provider to your AKS cluster using `helm`:
1. Create a *AKS-AppConfiguration-Demo* directory in the root directory of your project.
157
-
2. Create *appConfigurationProvider.yaml* in the *AKS-AppConfiguration-Demo* directory with the following YAML content. Replace the value of the `endpoint` field with the endpoint of your Azure AppConfiguration store.
157
+
1. Create *appConfigurationProvider.yaml* in the *AKS-AppConfiguration-Demo* directory with the following YAML content. Replace the value of the `endpoint` field with the endpoint of your Azure AppConfiguration store.
158
158
``` yaml
159
159
apiVersion: azconfig.io/v1beta1
160
160
kind: AzureAppConfigurationProvider
@@ -165,7 +165,7 @@ If you already have an application, you can containerize it in a way that depend
165
165
target:
166
166
configMapName: demo-configmap
167
167
```
168
-
3. Create *deployment.yaml* in the *AKS-AppConfiguration-Demo* directory with the following YAML content. Replace the value of `template.containers.image` with the image you created in the previous step.
168
+
1. Create *deployment.yaml* in the *AKS-AppConfiguration-Demo* directory with the following YAML content. Replace the value of `template.spec.containers.image` with the image you created in the previous step.
169
169
``` yaml
170
170
apiVersion: apps/v1
171
171
kind: Deployment
@@ -192,7 +192,7 @@ If you already have an application, you can containerize it in a way that depend
192
192
- configMapRef:
193
193
name: demo-configmap
194
194
```
195
-
4. Create *service.yaml* in the *AKS-AppConfiguration-Demo* with the following YAML content.
195
+
1. Create *service.yaml* in the *AKS-AppConfiguration-Demo* with the following YAML content.
196
196
``` yaml
197
197
apiVersion: v1
198
198
kind: Service
@@ -205,7 +205,7 @@ If you already have an application, you can containerize it in a way that depend
0 commit comments