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
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -74,7 +74,7 @@ In this section, it creates an ASP.NET Core web application that consumes enviro
74
74
dotnet publish -c Release -o published
75
75
```
76
76
77
-
1. Create a file named *Dockerfile* in the directory containing your .csproj file, open it in a text editor, and enter the following content. A Dockerfile is a text file that doesn't have an extension and that is used to create a container image.
77
+
1. Create a file named *Dockerfile* at the root of your project directory, open it in a text editor, and enter the following content. A Dockerfile is a text file that doesn't have an extension and that is used to create a container image.
78
78
79
79
```dockerfile
80
80
FROM mcr.microsoft.com/dotnet/aspnet:6.0 AS runtime
@@ -201,7 +201,7 @@ Now that you have an application running in AKS, you'll deploy the App Configura
201
201
### Install App Configuration Kubernetes Provider to AKS cluster
202
202
1. Run the following command to get access credentials for your AKS cluster. Replace the value of the `name` and `resource-group` parameters with your AKS instance:
203
203
204
-
```bash
204
+
```console
205
205
az aks get-credentials --name <your-aks-instance-name> --resource-group <your-aks-resource-group>
206
206
```
207
207
@@ -238,7 +238,7 @@ Now that you have an application running in AKS, you'll deploy the App Configura
238
238
> - The provider keeps the data of configMap as a mirror of key-values from Azure App Configuration. Any changes to the configMap through other approaches will be reverted.
239
239
> - Deleting provider will delete the corresponding configMap along with it. If the configMap is deleted solely, the provider will recreate it.
240
240
241
-
1. Update the *deployment.yaml* in *AKS-AppConfiguration-Demo* directory to use the configMap `configmap-created-by-appconfig-provider` as environment variable.
241
+
1. Update the *deployment.yaml* file in *AKS-AppConfiguration-Demo* directory to use the configMap `configmap-created-by-appconfig-provider` as environment variable.
242
242
243
243
Replace the whole `env` section
244
244
```yaml
@@ -255,13 +255,13 @@ Now that you have an application running in AKS, you'll deploy the App Configura
255
255
name: configmap-created-by-appconfig-provider
256
256
```
257
257
258
-
1. Run the following command to deploy the `AzureAppConfigurationProvider` resource.
258
+
2. Run the following command to deploy the *appConfigurationProvider.yaml* and *deployment.yaml*.
0 commit comments