adjustments

This commit is contained in:
cloudmelon
2020-08-28 19:46:16 +01:00
parent 5942126b08
commit 41f69affa2
3 changed files with 13 additions and 6 deletions
@@ -4,13 +4,14 @@ This repository contains the scripts that you can use to deploy a BDC cluster in
This repository contains 3 bash scripts :
- **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.
- **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 ).
- **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.
- **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.
## Prerequisites
You can run those scripts on the following client envionrment with Linux OS or WSL/WSL2.
You can run those scripts on the following client environment with Linux OS or WSL/WSL2.
The following table link listed common big data cluster tools and how to install them:
@@ -61,10 +62,11 @@ sudo ./deploy-private-aks-udr.sh
### deploy-bdc.sh
1. Download the script on the location that you are planning to use for the deployment
``` bash
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
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
```
2. Make the script executable
@@ -2,6 +2,11 @@
#Get Subscription ID and Azure service principal as input. It is used as default for controller, SQL Server Master instance (sa account) and Knox.
#
##
# You can also create service principal instead of using an existing one
#az ad sp create-for-rbac -n "bdcaks-sp" --skip-assignment
##
read -p "Your Azure Subscription: " subscription
echo
read -p "Your Resource Group Name: " resourcegroup
@@ -101,8 +106,6 @@ az network vnet subnet update -g $RESOURCE_GROUP --vnet-name $VNET_NAME --name $
#Create SP and Assign Permission to Virtual Network
az ad sp create-for-rbac -n "bdcaks-sp" --skip-assignment
export APPID=$sp_id
export PASSWORD=$sp_pwd
export VNETID=$(az network vnet show -g $RESOURCE_GROUP --name $VNET_NAME --query id -o tsv)
@@ -135,4 +138,4 @@ az aks create \
--generate-ssh-keys
az aks get-credentials -g $RESOURCE_GROUP -n $AKS_NAME
@@ -58,3 +58,5 @@ az aks create \
--node-vm-size Standard_D13_v2 \
--node-count 2 \
--generate-ssh-keys
az aks get-credentials -g $RESOURCE_GROUP -n $AKS_NAME