Skip to content

Commit 6dd952e

Browse files
Merge pull request #208990 from Nickomang/aks-dapr-sp-reg
Added info on registering service provider
2 parents a7a1e7d + ae4b563 commit 6dd952e

File tree

2 files changed

+44
-0
lines changed

2 files changed

+44
-0
lines changed

articles/aks/dapr-migration.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,28 @@ kubectl delete namespace dapr-system
7070
7171
---
7272

73+
## Register the `KubernetesConfiguration` service provider
74+
75+
If you have not previously used cluster extensions, you may need to register the service provider with your subscription. You can check the status of the provider registration using the [az provider list][az-provider-list] command, as shown in the following example:
76+
77+
```azurecli-interactive
78+
az provider list --query "[?contains(namespace,'Microsoft.KubernetesConfiguration')]" -o table
79+
```
80+
81+
The *Microsoft.KubernetesConfiguration* provider should report as *Registered*, as shown in the following example output:
82+
83+
```output
84+
Namespace RegistrationState RegistrationPolicy
85+
--------------------------------- ------------------- --------------------
86+
Microsoft.KubernetesConfiguration Registered RegistrationRequired
87+
```
88+
89+
If the provider shows as *NotRegistered*, register the provider using the [az provider register][az-provider-register] as shown in the following example:
90+
91+
```azurecli-interactive
92+
az provider register --namespace Microsoft.KubernetesConfiguration
93+
```
94+
7395
## Install Dapr via the AKS extension
7496

7597
Once you've uninstalled Dapr from your system, install the [Dapr extension for AKS and Arc-enabled Kubernetes](./dapr.md#create-the-extension-and-install-dapr-on-your-aks-or-arc-enabled-kubernetes-cluster).

articles/aks/dapr.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,28 @@ If the `k8s-extension` extension is already installed, you can update it to the
111111
az extension update --name k8s-extension
112112
```
113113

114+
### Register the `KubernetesConfiguration` service provider
115+
116+
If you have not previously used cluster extensions, you may need to register the service provider with your subscription. You can check the status of the provider registration using the [az provider list][az-provider-list] command, as shown in the following example:
117+
118+
```azurecli-interactive
119+
az provider list --query "[?contains(namespace,'Microsoft.KubernetesConfiguration')]" -o table
120+
```
121+
122+
The *Microsoft.KubernetesConfiguration* provider should report as *Registered*, as shown in the following example output:
123+
124+
```output
125+
Namespace RegistrationState RegistrationPolicy
126+
--------------------------------- ------------------- --------------------
127+
Microsoft.KubernetesConfiguration Registered RegistrationRequired
128+
```
129+
130+
If the provider shows as *NotRegistered*, register the provider using the [az provider register][az-provider-register] as shown in the following example:
131+
132+
```azurecli-interactive
133+
az provider register --namespace Microsoft.KubernetesConfiguration
134+
```
135+
114136
## Create the extension and install Dapr on your AKS or Arc-enabled Kubernetes cluster
115137

116138
When installing the Dapr extension, use the flag value that corresponds to your cluster type:

0 commit comments

Comments
 (0)