Skip to content

Commit b22878d

Browse files
Merge pull request #276827 from RichardChen820/user/junbchen/extensionInstallation
App Configuration K8s provider add installation method
2 parents 7b24a8e + f2fe923 commit b22878d

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

articles/azure-app-configuration/quickstart-azure-kubernetes-service.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -226,6 +226,7 @@ Add following key-values to the App Configuration store and leave **Label** and
226226
|Settings:Message|*Hello from Azure App Configuration*|
227227
228228
### Set up the App Configuration Kubernetes Provider
229+
229230
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:
230231
231232
```console
@@ -241,6 +242,9 @@ Add following key-values to the App Configuration store and leave **Label** and
241242
--create-namespace
242243
```
243244
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+
244248
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.
245249
246250
```yaml
@@ -269,7 +273,7 @@ Add following key-values to the App Configuration store and leave **Label** and
269273
> - 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.
270274
> - The ConfigMap will be deleted if the App Configuration Kubernetes Provider is uninstalled.
271275
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.
273277
274278
```yaml
275279
apiVersion: apps/v1
@@ -302,13 +306,13 @@ Add following key-values to the App Configuration store and leave **Label** and
302306
name: configmap-created-by-appconfig-provider
303307
```
304308
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.
306310
307311
```console
308312
kubectl apply -f ./Deployment -n appconfig-demo
309313
```
310314
311-
4. Refresh the browser. The page shows updated content.
315+
1. Refresh the browser. The page shows updated content.
312316
313317
![Screenshot showing Kubernetes Provider after using configMap.](./media/quickstarts/kubernetes-provider-app-launch-after.png)
314318

0 commit comments

Comments
 (0)