@@ -31,22 +31,16 @@ export AZDATA_PRIVATE_PREVIEW_DEB_PACKAGE="https://aka.ms/aadatacontrollerazdata
31
31
32
32
# Kube version.
33
33
#
34
- KUBE_DPKG_VERSION=1.15.0 -00
35
- KUBE_VERSION=1.15.0
34
+ KUBE_DPKG_VERSION=1.16.3 -00
35
+ KUBE_VERSION=1.16.3
36
36
37
37
# Wait for 5 minutes for the cluster to be ready.
38
38
#
39
39
TIMEOUT=600
40
40
RETRY_INTERVAL=5
41
41
42
- # Github related contstants
43
- #
44
- GITHUB_AADATACONTROLLER_BRANCH=master
45
-
46
42
# Variables used for azdata cluster creation.
47
43
#
48
- export AZDATA_USERNAME=admin
49
- export AZDATA_PASSWORD=$password
50
44
51
45
export DOMAIN_SERVICE_ACCOUNT_USERNAME=admin
52
46
export DOMAIN_SERVICE_ACCOUNT_PASSWORD=$password
@@ -58,7 +52,7 @@ export MSSQL_SA_PASSWORD=$password
58
52
export KNOX_PASSWORD=$password
59
53
60
54
export ACCEPT_EULA=yes
61
- export CLUSTER_NAME=mssql -cluster
55
+ export CLUSTER_NAME=azure-arc -cluster
62
56
export PV_COUNT=" 40"
63
57
64
58
# Make a directory for installing the scripts and logs.
@@ -69,7 +63,7 @@ cd $AZUREARCDATACONTROLLER_DIR/
69
63
touch $LOG_FILE
70
64
71
65
{
72
- # Install all necessary packages: kuberenetes, docker, python3, python3-pip, request, azdata.
66
+ # Install all necessary packages: kuberenetes, docker, request, azdata.
73
67
#
74
68
echo " "
75
69
echo " ######################################################################################"
@@ -187,9 +181,9 @@ sudo sysctl -w net.ipv6.conf.all.disable_ipv6=1
187
181
sudo sysctl -w net.ipv6.conf.default.disable_ipv6=1
188
182
sudo sysctl -w net.ipv6.conf.lo.disable_ipv6=1
189
183
190
- echo net.ipv6.conf.all.disable_ipv6=1 > /etc/sysctl.conf
191
- echo net.ipv6.conf.default.disable_ipv6=1 > /etc/sysctl.conf
192
- echo net.ipv6.conf.lo.disable_ipv6=1 > /etc/sysctl.conf
184
+ echo net.ipv6.conf.all.disable_ipv6=1 >> /etc/sysctl.conf
185
+ echo net.ipv6.conf.default.disable_ipv6=1 >> /etc/sysctl.conf
186
+ echo net.ipv6.conf.lo.disable_ipv6=1 >> /etc/sysctl.conf
193
187
194
188
195
189
sysctl net.bridge.bridge-nf-call-iptables=1
@@ -230,15 +224,15 @@ kubectl taint nodes ${master_node} node-role.kubernetes.io/master:NoSchedule-
230
224
231
225
# Local storage provisioning.
232
226
#
233
- kubectl apply -f https://raw.githubusercontent.com/ananto-msft /sql-server-samples/$GITHUB_AADATACONTROLLER_BRANCH /samples/features/azure-arc-data-controller /deployment/kubeadm/ubuntu/local-storage-provisioner.yaml
227
+ kubectl apply -f https://raw.githubusercontent.com/microsoft /sql-server-samples/master /samples/features/azure-arc/deployment/kubeadm/ubuntu/local-storage-provisioner.yaml
234
228
235
229
# Install the software defined network.
236
230
#
237
231
kubectl apply -f https://raw.githubusercontent.com/coreos/flannel/master/Documentation/kube-flannel.yml
238
232
239
233
# helm init
240
234
#
241
- kubectl apply -f https://raw.githubusercontent.com/ananto-msft /sql-server-samples/$GITHUB_AADATACONTROLLER_BRANCH /samples/features/azure-arc-data-controller /deployment/kubeadm/ubuntu/rbac.yaml
235
+ kubectl apply -f https://raw.githubusercontent.com/microsoft /sql-server-samples/master /samples/features/azure-arc/deployment/kubeadm/ubuntu/rbac.yaml
242
236
243
237
# Verify that the cluster is ready to be used.
244
238
#
@@ -279,7 +273,7 @@ echo "Starting to deploy azdata cluster..."
279
273
280
274
# Command to create cluster for single node cluster.
281
275
#
282
- azdata control create -c tina -kubeadm-private-preview --accept-eula $ACCEPT_EULA
276
+ azdata control create -n $CLUSTER_NAME -c azure-arc-data -kubeadm-private-preview --accept-eula $ACCEPT_EULA
283
277
echo " Azure Arc Data Controller cluster created."
284
278
285
279
# Setting context to cluster.
@@ -289,7 +283,6 @@ kubectl config set-context --current --namespace $CLUSTER_NAME
289
283
# Login and get endpoint list for the cluster.
290
284
#
291
285
azdata login -n $CLUSTER_NAME
292
- azdata bdc endpoint list --output table
293
286
294
287
if [ -d " $HOME /.azdata/" ]; then
295
288
sudo chown -R $( id -u $SUDO_USER ) :$( id -g $SUDO_USER ) $HOME /.azdata/
0 commit comments