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
> The Arc data services extension install can take a couple of minutes to finish.
108
+
> The Arc data services extension install can take a few minutes to complete.
102
109
103
110
### Verify the Arc data services extension is created
104
111
105
-
You can verify if the Azure Arc-enabled data services extension is created either from the portal or by connecting directly to the Azure Arc-enabled Kubernetes cluster.
112
+
You can verify the status of the deployment of Azure Arc-enabled data services extension either from the portal or by connecting directly to the Azure Arc-enabled Kubernetes cluster.
106
113
107
-
#### Azure portal
114
+
#### Check status from Azure portal
108
115
1. Log in to the Azure portal and browse to the resource group where the Kubernetes connected cluster resource is located.
109
116
1. Select the Azure Arc-enabled kubernetes cluster (Type = "Kubernetes - Azure Arc") where the extension was deployed.
110
117
1. In the navigation on the left side, under **Settings**, select **Extensions**.
111
118
1. You should see the extension that was created earlier in an installed state.
1. Connect to your Kubernetes cluster via a Terminal window.
118
125
1. Run the below command and ensure the (1) namespace mentioned above is created and (2) the `bootstrapper` pod is in 'running' state before proceeding to the next step.
119
126
120
127
```console
121
-
kubectl get pods -n <name of namespace used in the json template file above>
128
+
kubectl get pods --name <name of namespace used in the json template file above>
122
129
```
123
130
124
131
For example, the following example gets the pods from `arc` namespace.
125
132
126
133
```console
127
134
#Example:
128
-
kubectl get pods -n arc
135
+
kubectl get pods --name arc
129
136
```
130
137
131
138
## Retrieve the managed identity and grant roles
@@ -150,7 +157,7 @@ az role assignment create --assignee $Env:MSI_OBJECT_ID --role "Monitoring Metri
150
157
151
158
```
152
159
153
-
## Create a custom location using custom location CLI extension
160
+
## Step 2: Create a custom location using ```customlocation``` CLI extension
154
161
155
162
A custom location is an Azure resource that is equivalent to a namespace in a Kubernetes cluster. Custom locations are used as a target to deploy resources to or from Azure. Learn more about custom locations in the [Custom locations on top of Azure Arc-enabled Kubernetes documentation](../kubernetes/conceptual-custom-locations.md).
156
163
@@ -160,24 +167,22 @@ A custom location is an Azure resource that is equivalent to a namespace in a Ku
160
167
161
168
```bash
162
169
export clName=mycustomlocation
163
-
export clNamespace=arc
164
-
export hostClusterId=$(az connectedk8s show -g ${resourceGroup} -n ${resourceName} --query id -o tsv)
165
-
export extensionId=$(az k8s-extension show -g ${resourceGroup} -c ${resourceName} --cluster-type connectedClusters --name ${ADSExtensionName} --query id -o tsv)
166
170
167
-
az customlocation create -g ${resourceGroup} -n ${clName} --namespace ${clNamespace} \
@@ -188,31 +193,30 @@ From the terminal, run the below command to list the custom locations, and valid
188
193
az customlocation list -o table
189
194
```
190
195
191
-
## Create the Azure Arc data controller
196
+
## Step 3: Create the Azure Arc data controller
192
197
193
198
After the extension and custom location are created, proceed to deploy the Azure Arc data controller as follows.
194
199
195
200
```
196
-
az arcdata dc create --name <name> --resource-group <resourcegroup> --location <location> --connectivity-mode direct --profile-name <profile name> --auto-upload-logs true --custom-location <name of custom location>
201
+
az arcdata dc create --name <name> --resource-group <resourcegroup> --location <location> --connectivity-mode direct --profile-name <profile name> --auto-upload-logs true --auto-upload-metrics true --custom-location <name of custom location>
197
202
# Example
198
-
az arcdata dc create -n arc-dc1 --resource-group my-resource-group --location eastasia --connectivity-mode direct --profile-name azure-arc-aks-premium-storage --auto-upload-logs true --custom-location mycustomlocation
203
+
az arcdata dc create --name arc-dc1 --resource-group my-resource-group --location eastasia --connectivity-mode direct --profile-name azure-arc-aks-premium-storage --auto-upload-logs true --auto-upload-metrics true --custom-location mycustomlocation
199
204
```
200
205
201
206
If you want to create the Azure Arc data controller using a custom configuration template, follow the steps described in [Create custom configuration profile](create-custom-configuration-template.md) and provide the path to the file as follows:
202
207
203
208
```
204
-
az arcdata dc create --name <name> --resource-group <resourcegroup> --location <location> --connectivity-mode direct --path ./azure-arc-custom --auto-upload-logs true --custom-location <name of custom location>
209
+
az arcdata dc create --name <name> --resource-group <resourcegroup> --location <location> --connectivity-mode direct --path ./azure-arc-custom --auto-upload-logs true --auto-upload-metrics true --custom-location <name of custom location>
205
210
# Example
206
-
az arcdata dc create --name arc-dc1 --resource-group my-resource-group --location eastasia --connectivity-mode direct --path ./azure-arc-custom --auto-upload-logs true --custom-location mycustomlocation
211
+
az arcdata dc create --name arc-dc1 --resource-group my-resource-group --location eastasia --connectivity-mode direct --path ./azure-arc-custom --auto-upload-logs true --auto-upload-metrics true --custom-location mycustomlocation
207
212
```
208
213
214
+
## Monitor the status of Azure Arc data controller deployment
209
215
210
-
## Monitor the creation
211
-
212
-
When the Azure portal deployment status shows the deployment was successful, you can check the status of the Arc data controller deployment on the cluster as follows:
216
+
The deployment status of the Arc data controller on the cluster can be monitored as follows:
0 commit comments