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
@@ -31,7 +31,7 @@ In this quickstart, you will incorporate Azure App Configuration Kubernetes Prov
31
31
> The Azure Cloud Shell is a free, interactive shell that you can use to run the command line instructions in this article. It has common Azure tools preinstalled, including the .NET Core SDK. If you're logged in to your Azure subscription, launch your [Azure Cloud Shell](https://shell.azure.com) from shell.azure.com. You can learn more about Azure Cloud Shell by [reading our documentation](../cloud-shell/overview.md)
32
32
>
33
33
34
-
## Create an application consuming environment variables
34
+
## Create an application consumes environment variables
35
35
If you already have an application that is consuming environment variables as configuration, you can just skip this step. We just create an ASP.NET Core Web App `MyWebApp` as an example.
36
36
37
37
1. Use the .NET Core command-line interface (CLI) to create a new ASP.NET Core web app project. Run the following command to create an ASP.NET Core web app in a new TestAppConfig folder:
@@ -154,7 +154,7 @@ If you already have an application, you can containerize it in a way that depend
154
154
## Create and deploy Kubernetes resources
155
155
156
156
1. Create a *AKS-AppConfiguration-Demo* directory in the root directory of your project.
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 the Azure AppConfiguration store you created in the previous step.
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.
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
-
1. 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
+
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.
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
-
1. Create *service.yaml* in the *AKS-AppConfiguration-Demo* with the following YAML content.
195
+
4. 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
@@ -230,7 +230,7 @@ kubectl get configmap demo-configmap -n quickstart-appconfig
230
230
```
231
231
232
232
## Validate key-values from Azure App Configuration are affecting the app.
233
-
Run the following command and get the External IP that exposed by the LoadBalancer service. Use it to visit the web app, You'll see that the configuration settings from the Azure App Configuration store are affecting the page.
233
+
Run the following command and get the External IP that exposed by the LoadBalancer service. Use it to visit the web app, you'll see that the configuration settings from the Azure App Configuration store are affecting the page.
234
234
```bash
235
235
kubectl get service configmap-demo-service -n quickstart-appconfig
0 commit comments