Skip to content

Commit e53ce69

Browse files
Update deploy-sql-big-data-aks.py
1 parent 31b08ab commit e53ce69

1 file changed

Lines changed: 4 additions & 9 deletions

File tree

samples/features/sql-big-data-cluster/deployment/aks/deploy-sql-big-data-aks.py

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -89,16 +89,11 @@ def executeCmd (cmd):
8989
command="mssqlctl bdc create -c custom --accept-eula yes"
9090
executeCmd (command)
9191

92-
print("")
93-
print("SQL Server big data cluster connection endpoints: ")
94-
95-
print("SQL Server master instance:")
96-
command="kubectl get service master-svc-external -o=custom-columns=""IP:.status.loadBalancer.ingress[0].ip,PORT:.spec.ports[0].port"" -n "+CLUSTER_NAME
97-
executeCmd(command)
92+
command="mssqlctl login --cluster-name " + CLUSTER_NAME
93+
executeCmd (command)
9894

9995
print("")
100-
print("HDFS/KNOX:")
101-
command="kubectl get service gateway-svc-external -o=custom-columns=""IP:status.loadBalancer.ingress[0].ip,PORT:.spec.ports[0].port"" -n "+CLUSTER_NAME
96+
print("SQL Server big data cluster endpoints: ")
97+
command="mssqlctl bdc endpoint list -o table"
10298
executeCmd(command)
10399

104-
print("")

0 commit comments

Comments
 (0)