mirror of
https://github.com/Microsoft/sql-server-samples.git
synced 2025-12-08 14:58:54 +00:00
Deploy BDC in private AKS cluster with User-defined Route (UDR)
This repository contains the scripts that you can use to deploy a BDC cluster in Azure Kubernetes Service (AKS) private cluster with advanced networking ( CNI ).
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.
Prerequisites
You can run those scripts on the following client envionrment with Linux OS or WSL/WSL2.
The following table link listed common big data cluster tools and how to install them:
https://docs.microsoft.com/en-us/sql/big-data-cluster/deploy-big-data-tools?view=sql-server-ver15
Instructions
deploy-private-aks.sh
- Download the script on the location that you are planning to use for the deployment
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-private-aks.sh
- Make the script executable
chmod +x deploy-private-aks.sh
- Run the script (make sure you are running with sudo)
sudo ./deploy-private-aks.sh
deploy-private-aks-udr.sh
- Download the script on the location that you are planning to use for the deployment
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-private-aks-udr.sh
- Make the script executable
chmod +x deploy-private-aks-udr.sh
- Run the script (make sure you are running with sudo)
sudo ./deploy-private-aks-udr.sh
deploy-bdc.sh
- Download the script on the location that you are planning to use for the deployment
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
- Make the script executable
chmod +x deploy-bdc.sh
- Run the script (make sure you are running with sudo)
sudo ./deploy-bdc.sh