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
+7-3Lines changed: 7 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -226,6 +226,7 @@ Add following key-values to the App Configuration store and leave **Label** and
226
226
|Settings:Message|*Hello from Azure App Configuration*|
227
227
228
228
### Set up the App Configuration Kubernetes Provider
229
+
229
230
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:
230
231
231
232
```console
@@ -241,6 +242,9 @@ Add following key-values to the App Configuration store and leave **Label** and
241
242
--create-namespace
242
243
```
243
244
245
+
> [!TIP]
246
+
> The App Configuration Kubernetes Provider is also available as an AKS extension. This integration allows for seamless installation and management via the Azure CLI, ARM templates, or Bicep templates. Utilizing the AKS extension facilitates automatic minor/patch version updates, ensuring your system is always up-to-date. For detailed installation instructions, please refer to the [Azure App Configuration extension for Azure Kubernetes Service](../aks/azure-app-configuration.md).
247
+
244
248
1. Add an *appConfigurationProvider.yaml* file to the *Deployment* directory with the following content to create an `AzureAppConfigurationProvider` resource. `AzureAppConfigurationProvider` is a custom resource that defines what data to download from an Azure App Configuration store and creates a ConfigMap.
245
249
246
250
```yaml
@@ -269,7 +273,7 @@ Add following key-values to the App Configuration store and leave **Label** and
269
273
> - The ConfigMap will be reset based on the present data in your App Configuration store if it's deleted or modified by any other means.
270
274
> - The ConfigMap will be deleted if the App Configuration Kubernetes Provider is uninstalled.
271
275
272
-
2. Update the *deployment.yaml* file in the *Deployment* directory to use the ConfigMap `configmap-created-by-appconfig-provider` as a mounted data volume. It is important to ensure that the `volumeMounts.mountPath` matches the `WORKDIR` specified in your *Dockerfile* and the *config* directory created before.
276
+
1. Update the *deployment.yaml* file in the *Deployment* directory to use the ConfigMap `configmap-created-by-appconfig-provider` as a mounted data volume. It is important to ensure that the `volumeMounts.mountPath` matches the `WORKDIR` specified in your *Dockerfile* and the *config* directory created before.
273
277
274
278
```yaml
275
279
apiVersion: apps/v1
@@ -302,13 +306,13 @@ Add following key-values to the App Configuration store and leave **Label** and
302
306
name: configmap-created-by-appconfig-provider
303
307
```
304
308
305
-
3. Run the following command to deploy the changes. Replace the namespace if you are using your existing AKS application.
309
+
1. Run the following command to deploy the changes. Replace the namespace if you are using your existing AKS application.
306
310
307
311
```console
308
312
kubectl apply -f ./Deployment -n appconfig-demo
309
313
```
310
314
311
-
4. Refresh the browser. The page shows updated content.
315
+
1. Refresh the browser. The page shows updated content.
312
316
313
317

0 commit comments