File tree Expand file tree Collapse file tree
samples/features/azure-arc/deployment/kubeadm/ubuntu-single-node-vm Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -6,6 +6,9 @@ sudo kubeadm reset --force
66
77# Clean up azdata-cli package.
88#
9+ azdata extension remove --name azdata-cli-dc
10+ azdata extension remove --name azdata-cli-postgres
11+ azdata extension remove --name azdata-cli-sqlinstance
912unalias azdata
1013unalias az
1114sudo dpkg --remove --force-all azdata-cli
Original file line number Diff line number Diff line change @@ -125,11 +125,15 @@ echo "Azdata has been successfully installed."
125125
126126# Installing azdata extensions
127127#
128+ echo " Installing azdata extension for Arc data controller..."
129+ azdata extension add --source https://private-repo.microsoft.com/python/azure-arc-data/private-preview-may-2020/pypi-azdata-cli-extensions/azdata_cli_dc-0.0.1-py2.py3-none-any.whl --yes
130+
128131echo " Installing azdata extension for postgres..."
129132azdata extension add --source https://private-repo.microsoft.com/python/azure-arc-data/private-preview-may-2020/pypi-azdata-cli-extensions/azdata_cli_postgres-0.0.1-py2.py3-none-any.whl --yes
130133
131134echo " Installing azdata extension for sql..."
132- azdata extension add --source https://private-repo.microsoft.com/python/azure-arc-data/private-preview-may-2020/pypi-azdata-cli-extensions/azdata_cli_hybrid-0.0.1-py2.py3-none-any.whl --yes
135+ azdata extension add --source https://private-repo.microsoft.com/python/azure-arc-data/private-preview-may-2020/pypi-azdata-cli-extensions/azdata_cli_sqlinstance-0.0.1-py2.py3-none-any.whl --yes
136+
133137echo " Azdata extensions installed successfully."
134138
135139# Install Azure CLI
@@ -299,7 +303,7 @@ echo "Starting to deploy azdata cluster..."
299303
300304# Command to create cluster for single node cluster.
301305#
302- azdata control create -n $CLUSTER_NAME -c azure-arc-kubeadm-private-preview --accept-eula $ACCEPT_EULA
306+ azdata arc dc create -n $CLUSTER_NAME -c azure-arc-kubeadm-private-preview --accept-eula $ACCEPT_EULA
303307echo " Azure Arc Data Controller cluster created."
304308
305309# Setting context to cluster.
You can’t perform that action at this time.
0 commit comments