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-arc/data/create-data-controller-using-kubernetes-native-tools.md
+1-4Lines changed: 1 addition & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -122,10 +122,6 @@ Edit the data controller configuration as needed:
122
122
**OPTIONAL**
123
123
- **name**: The default name of the data controller is `arc`, but you can change it if you want.
124
124
- **displayName**: Set this to the same value as the name attribute at the top of the file.
125
-
- **registry**: The Microsoft Container Registry is the default. If you are pulling the images from the Microsoft Container Registry and [pushing them to a private container registry](offline-deployment.md), enter the IP address or DNS name of your registry here.
126
-
- **dockerRegistry**: The secret to use to pull the images from a private container registry if required.
127
-
- **repository**: The default repository on the Microsoft Container Registry is `arcdata`. If you are using a private container registry, enter the path the folder/repository containing the Azure Arc-enabled data services container images.
128
-
- **imageTag**: The current latest version tag is defaulted in the template, but you can change it if you want to use an older version.
129
125
- **logsui-certificate-secret**: The name of the secret created on the Kubernetes cluster for the logs UI certificate.
130
126
- **metricsui-certificate-secret**: The name of the secret created on the Kubernetes cluster for the metrics UI certificate.
131
127
@@ -173,3 +169,4 @@ If you encounter any troubles with creation, please see the [troubleshooting gui
173
169
174
170
- [Create a SQL managed instance using Kubernetes-native tools](./create-sql-managed-instance-using-kubernetes-native-tools.md)
175
171
- [Create a PostgreSQL server using Kubernetes-native tools](./create-postgresql-server-kubernetes-native-tools.md)
- Download the latest pre-release Azure CLI extension `.whl` file from the link in the [Current preview release information](#Current previewreleaseinformation)
62
-
- Install the latest pre-release Azure CLI extension (`az extension add -s <location of downloaded .whl file>`).
1. Download the latest pre-release Azure CLI extension `.whl` file from the link in the [Current preview release information](#current-preview-release-information).
62
+
1. Install the latest pre-release Azure CLI extension (`az extension add -s <location of downloaded .whl file>`).
63
63
64
64
If you use the Azure Data Studio extension to install:
65
65
66
-
- Uninstall the Azure Data Studio extension. Select the Extensions panel and select on the **Azure Arc** extension, select **Uninstall**.
67
-
- Download the latest pre-release Azure Data Studio extension .vsix files from the links in the [Current preview release information](#Current previewreleaseinformation)
68
-
- Install the extensions by choosing File -> Install Extension from VSIX package and then browsing to the download location of the .vsix files. Install the `azcli` extension first and then `arc`.
66
+
1. Uninstall the Azure Data Studio extension. Select the Extensions panel and select on the **Azure Arc** extension, select **Uninstall**.
67
+
1. Download the latest pre-release Azure Data Studio extension .vsix files from the links in the [Current preview release information](#current-preview-release-information).
68
+
1. Install the extensions. Choose **File** > **Install Extension from VSIX package**. Locate the download location of the .vsix files. Install the `azcli` extension first and then `arc`.
69
69
70
70
### Install using Azure CLI
71
71
72
-
> [!NOTE]
73
-
> Deploying pre-release builds using direct connectivity mode from Azure CLI is not supported.
72
+
To install with the Azure CLI, follow the steps for your connectivity mode:
1. Follow the instructions to [create a custom configuration profile](create-custom-configuration-template.md).
80
-
1. Edit this custom configuration profile file. Enter the `docker` property values as required based on the information provided in the version history table on this page.
85
+
Use the example script below to set environment variables for your respective platform.
86
+
87
+
# [Linux](#tab/linux)
81
88
82
-
For example:
89
+
```console
90
+
## variables for the docker registry, repository, and image
91
+
export DOCKER_REGISTRY=<Docker registry>
92
+
export DOCKER_REPOSITORY=<Docker repository>
93
+
export DOCKER_IMAGE_TAG=<Docker image tag>
94
+
export DOCKER_IMAGE_POLICY=<Docker image policy>
95
+
```
83
96
84
-
```json
97
+
# [Windows (PowerShell)](#tab/windows)
85
98
86
-
"docker": {
87
-
"registry": "mcr.microsoft.com",
88
-
"repository": "arcdata/test",
89
-
"imageTag": "v1.8.0_2022-06-07_5ba6b837",
90
-
"imagePullPolicy": "Always"
91
-
},
99
+
```PowerShell
100
+
## variables for Metrics and Monitoring dashboard credentials
101
+
$ENV:DOCKER_REGISTRY="<Docker registry>"
102
+
$ENV:DOCKER_REPOSITORY="<Docker repository>"
103
+
$ENV:DOCKER_IMAGE_TAG="<Docker image tag>"
104
+
$ENV:DOCKER_IMAGE_POLICY="<Docker image policy>"
92
105
```
106
+
---
93
107
108
+
1. Follow the instructions to [create a custom configuration profile](create-custom-configuration-template.md).
94
109
1. Use the command `az arcdata dc create` as explained in [create a custom configuration profile](create-custom-configuration-template.md).
95
110
96
111
#### Direct connectivity mode
97
112
98
113
If you install using the Azure CLI:
99
114
100
-
1. Follow the instructions to [create a custom configuration profile](create-custom-configuration-template.md).
101
-
1. Edit this custom configuration profile file. Enter the `docker` property values as required based on the information provided in the version history table on this page.
102
-
103
-
For example:
115
+
1. Set environment variables. Set variables for:
116
+
- Docker registry
117
+
- Docker repository
118
+
- Docker image tag
119
+
- Docker image policy
120
+
- Arc data services extension version tag (`ARC_DATASERVICES_EXTENSION_VERSION_TAG`): Use the version of the **Arc enabled Kubernetes helm chart extension version** from the release details under [Current preview release information](#current-preview-release-information).
121
+
- Arc data services release train: `ARC_DATASERVICES_EXTENSION_RELEASE_TRAIN`: `{ test | preview }`.
104
122
105
-
```json
106
-
107
-
"docker": {
108
-
"registry": "mcr.microsoft.com",
109
-
"repository": "arcdata/test",
110
-
"imageTag": "v1.8.0_2022-06-07_5ba6b837",
111
-
"imagePullPolicy": "Always"
112
-
},
113
-
```
114
-
1. Set environment variables for:
123
+
Use the example script below to set environment variables for your respective platform.
115
124
116
-
-`ARC_DATASERVICES_EXTENSION_VERSION_TAG`: Use the version of the **Arc enabled Kubernetes helm chart extension version** from the release details under [Current preview release information](#current-preview-release-information).
1. Run `az arcdata dc create` as normal for the direct mode to:
134
151
@@ -143,25 +160,31 @@ If you install using the Azure CLI:
143
160
> [!NOTE]
144
161
> Deploying pre-release builds using direct connectivity mode from Azure Data Studio is not supported.
145
162
146
-
#### Indirect connectivity mode
163
+
You can install with Azure Data Studio (ADS) in indirect connectivity mode. To use Azure Data Studio to install:
147
164
148
-
If you use Azure Data Studio to install, complete the data controller deployment wizard as normal except click on **Script to notebook** at the end instead of **Deploy**. In the generated notebook, edit the `Set variables` cell to *add* the following lines:
165
+
1. Complete the data controller deployment wizard as normal except click on **Script to notebook** at the end instead of **Deploy**.
166
+
1. Update the following script. Replace `{ test | preview }` with the appropriate label.
167
+
1. In the generated notebook, edit the `Set variables` cell to *add* the following lines:
149
168
150
-
```python
151
-
# choose between arcdata/test or arcdata/preview as appropriate
# choose between arcdata/test or arcdata/preview as appropriate
171
+
os.environ["AZDATA_DOCKER_REPOSITORY"] ="{ test | preview }"
172
+
os.environ["AZDATA_DOCKER_TAG"] ="{ Current preview tag }
173
+
```
155
174
156
-
Run the notebook by clicking**Run All**.
175
+
1.Run the notebook, click**Run All**.
157
176
158
177
### Install using Azure portal
159
178
160
-
Follow the instructions to [Arc-enabled the Kubernetes cluster](create-data-controller-direct-prerequisites.md) as normal.
179
+
1. Follow the instructions to [Arc-enabled the Kubernetes cluster](create-data-controller-direct-prerequisites.md) as normal.
180
+
1. Open the Azure portal for the appropriate preview version:
161
181
162
-
Open the Azure portal by using this special URL: [https://portal.azure.com/?feature.canmodifystamps=true&Microsoft_Azure_HybridData_Platform=preview#home](https://portal.azure.com/?feature.canmodifystamps=true&Microsoft_Azure_HybridData_Platform=preview#home).
Follow the instructions to [Create the Azure Arc data controller from Azure portal - Direct connectivity mode](create-data-controller-direct-azure-portal.md) except that when choosing a deployment profile, select **Custom template** in the **Kubernetes configuration template** drop-down. Set the repository to either `arcdata/test` or `arcdata/preview` as appropriate and enter the desired tag in the **Image tag** field. Fill out the rest of the custom cluster configuration template fields as normal.
185
+
1. Follow the instructions to [Create the Azure Arc data controller from Azure portal - Direct connectivity mode](create-data-controller-direct-azure-portal.md) except that when choosing a deployment profile, select **Custom template** in the **Kubernetes configuration template** drop-down.
186
+
1. Set the repository to either `arcdata/test` or `arcdata/preview` as appropriate. Enter the desired tag in the **Image tag** field.
187
+
1. Fill out the rest of the custom cluster configuration template fields as normal.
0 commit comments