Skip to content

Commit 41f69af

Browse files
author
cloudmelon
committed
adjustments
1 parent 5942126 commit 41f69af

File tree

3 files changed

+13
-6
lines changed

3 files changed

+13
-6
lines changed

samples/features/sql-big-data-cluster/deployment/private-aks/README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,14 @@ This repository contains the scripts that you can use to deploy a BDC cluster in
44

55
This repository contains 3 bash scripts :
66
- **deploy-private-aks.sh** : You can use it to deploy private AKS cluster with private endpoint, it fits the use case that you need to deploy BDC with a private endpoint with AKS private cluster.
7+
78
- **deploy-private-aks-udr.sh** : You can use it to deploy private AKS cluster with private endpoint, it fits the use case that you need to deploy BDC with a private endpoint with AKS private cluster and limit egress traffic with UDR ( User-defined Routes ).
8-
- **deploy-bdc.sh** : You can use it to deploy Big Data Clusters ( BDC ) in private deployment mode on private AKS cluster with or without User-defined routes based on your project requirements.
9+
- **deploy-bdc.sh** : You can use it to deploy Big Data Clusters ( BDC ) in private deployment mode on private AKS cluster with or without User-defined routes based on your project requirements. Note : Please use this scripts in the Azure VM which manages your AKS private cluster.
910

1011

1112
## Prerequisites
1213

13-
You can run those scripts on the following client envionrment with Linux OS or WSL/WSL2.
14+
You can run those scripts on the following client environment with Linux OS or WSL/WSL2.
1415

1516
The following table link listed common big data cluster tools and how to install them:
1617

@@ -61,10 +62,11 @@ sudo ./deploy-private-aks-udr.sh
6162

6263
### deploy-bdc.sh
6364

65+
6466
1. Download the script on the location that you are planning to use for the deployment
6567

6668
``` bash
67-
curl --output setup-bdc.sh https://raw.githubusercontent.com/microsoft/sql-server-samples/master/samples/features/sql-big-data-cluster/deployment/private-aks/scripts/deploy-bdc.sh
69+
curl --output deploy-bdc https://raw.githubusercontent.com/microsoft/sql-server-samples/master/samples/features/sql-big-data-cluster/deployment/private-aks/scripts/deploy-bdc.sh
6870
```
6971

7072
2. Make the script executable

samples/features/sql-big-data-cluster/deployment/private-aks/scripts/deploy-private-aks-udr.sh

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22
#Get Subscription ID and Azure service principal as input. It is used as default for controller, SQL Server Master instance (sa account) and Knox.
33
#
44

5+
##
6+
# You can also create service principal instead of using an existing one
7+
#az ad sp create-for-rbac -n "bdcaks-sp" --skip-assignment
8+
##
9+
510
read -p "Your Azure Subscription: " subscription
611
echo
712
read -p "Your Resource Group Name: " resourcegroup
@@ -101,8 +106,6 @@ az network vnet subnet update -g $RESOURCE_GROUP --vnet-name $VNET_NAME --name $
101106

102107

103108
#Create SP and Assign Permission to Virtual Network
104-
az ad sp create-for-rbac -n "bdcaks-sp" --skip-assignment
105-
106109
export APPID=$sp_id
107110
export PASSWORD=$sp_pwd
108111
export VNETID=$(az network vnet show -g $RESOURCE_GROUP --name $VNET_NAME --query id -o tsv)
@@ -135,4 +138,4 @@ az aks create \
135138
--generate-ssh-keys
136139

137140

138-
141+
az aks get-credentials -g $RESOURCE_GROUP -n $AKS_NAME

samples/features/sql-big-data-cluster/deployment/private-aks/scripts/deploy-private-aks.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,3 +58,5 @@ az aks create \
5858
--node-vm-size Standard_D13_v2 \
5959
--node-count 2 \
6060
--generate-ssh-keys
61+
62+
az aks get-credentials -g $RESOURCE_GROUP -n $AKS_NAME

0 commit comments

Comments
 (0)