Skip to content

Commit 6ee5e0b

Browse files
Update the installation section of Kubernetes Provider quickstart
1 parent 155720e commit 6ee5e0b

File tree

1 file changed

+36
-10
lines changed

1 file changed

+36
-10
lines changed

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

Lines changed: 36 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -227,23 +227,49 @@ Add following key-values to the App Configuration store and leave **Label** and
227227
228228
### Set up the App Configuration Kubernetes Provider
229229
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+
1. Install Azure App Configuration Kubernetes Provider to your AKS cluster:
231231
232-
```console
233-
az aks get-credentials --name <your-aks-instance-name> --resource-group <your-aks-resource-group>
232+
#### [AKS extension](#tab/extension)
233+
234+
Install the k8s-extension Azure CLI extension by running the following commands:
235+
236+
```azurecli
237+
az extension add --name k8s-extension
238+
```
239+
240+
Register the `KubernetesConfiguration` resource provider:
241+
242+
```azurecli
243+
az provider register --namespace Microsoft.KubernetesConfiguration
244+
```
245+
246+
Install the latest version of Azure App Configuration Kubernetes Provider via the Azure App Configuration extension. Replace the value of the `cluster-name` and `resource-group` parameters with your AKS instance:
247+
248+
```azurecli
249+
az k8s-extension create --cluster-type managedClusters \
250+
--cluster-name <your-aks-instance-name> \
251+
--resource-group <your-aks-resource-group> \
252+
--name appconfigurationkubernetesprovider \
253+
--extension-type Microsoft.AppConfiguration
234254
```
255+
256+
For more information or detailed installation instructions of Azure App Configuration AKS extension, please refer to the [Azure App Configuration extension for Azure Kubernetes Service](/azure/aks/azure-app-configuration).
257+
258+
#### [Helm chart](#tab/helm)
235259
236-
1. Install Azure App Configuration Kubernetes Provider to your AKS cluster using `helm`:
260+
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:
237261
262+
```azurecli
263+
az aks get-credentials --name <your-aks-instance-name> --resource-group <your-aks-resource-group>
264+
```
265+
266+
Install the helm chart:
238267
```console
239268
helm install azureappconfiguration.kubernetesprovider \
240-
oci://mcr.microsoft.com/azure-app-configuration/helmchart/kubernetes-provider \
241-
--namespace azappconfig-system \
242-
--create-namespace
269+
oci://mcr.microsoft.com/azure-app-configuration/helmchart/kubernetes-provider \
270+
--namespace azappconfig-system \
271+
--create-namespace
243272
```
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](/azure/aks/azure-app-configuration).
247273
248274
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.
249275

0 commit comments

Comments
 (0)