|
| 1 | +# Deploy BDC on Azure Kubernetes Service cluster |
| 2 | + |
| 3 | +SQL Server Big Data Clusters allow you to deploy scalable clusters of SQL Server, Spark, and HDFS containers running on Kubernetes, it allows you to easily combine and analyze your high-value relational data with high-volume big data. |
| 4 | + |
| 5 | +This repository contains the scripts that you can use to deploy a BDC cluster on Azure Kubernetes Service (AKS) cluster with basic networking ( Kubenet ) and advanced networking ( CNI ). |
| 6 | + |
| 7 | +This repository contains 3 bash scripts : |
| 8 | +- **deploy-cni-aks.sh** : You can use it to deploy AKS cluster using CNI networking, it fits the use case that you need to deploy BDC with AKS cluster with CNI networking plugin for integration with existing virtual networks in Azure, and this network model allows greater separation of resources and controls in an enterprise environment. |
| 9 | + |
| 10 | +- **deploy-kubenet-aks.sh** : You can use it to deploy AKS cluster using kubenet networking, it fits the use case that you need to deploy BDC with AKS cluster with kubenet networking. Kubenet is a basic network plugin, on Linux only. AKS cluster by default is on kubenet networking, after provisioning it, it also creates an Azure virtual network and a subnet, where your nodes get an IP address from the subnet and all pods receive an IP address from a logically different address space to the subnet of the nodes. |
| 11 | + |
| 12 | +- **deploy-bdc.sh** : You can use it to deploy Big Data Clusters ( BDC ) AKS cluster. Please find the inline comments about the deployment steps and configurations which allows your customization. |
| 13 | + |
| 14 | +## Above all |
| 15 | + |
| 16 | +SQL Server Big Data Clusters is a fully containerized solution orchestrated by Kubernetes. Starting with CU12, each release of SQL Server Big Data Clusters is tested against a fixed configuration of components. The configuration is evaluated with each release and adjustments are made to stay in-line with the ecosystem as Kubernetes continues to evolve. Further information see [Tested Configurations from SQL Server Big Data Clusters platform release notes](https://docs.microsoft.com/en-us/sql/big-data-cluster/release-notes-big-data-cluster?view=sql-server-ver15#tested-configurations). |
| 17 | + |
| 18 | +Please note that a no later than 1.13 version for Kubernetes server to deploy your big data clusters. Therefore you need to use --kubernetes-version parameter to specify a version different than the default for AKS. |
| 19 | + |
| 20 | +## Prerequisites |
| 21 | + |
| 22 | +You can run those scripts on the following client environment with Linux OS or WSL/WSL2. |
| 23 | + |
| 24 | +The following link listed common big data cluster tools and how to install them: |
| 25 | + |
| 26 | +https://docs.microsoft.com/en-us/sql/big-data-cluster/deploy-big-data-tools?view=sql-server-ver15 |
| 27 | + |
| 28 | + |
| 29 | +## Instructions |
| 30 | + |
| 31 | +### deploy-cni-aks.sh |
| 32 | + |
| 33 | +1. Download the script on the location that you are planning to use for the deployment |
| 34 | + |
| 35 | +``` bash |
| 36 | +curl --output deploy-cni-aks.sh https://raw.githubusercontent.com/microsoft/sql-server-samples/master/samples/features/sql-big-data-cluster/deployment/platform-ops/scripts/deploy-cni-aks.sh |
| 37 | +``` |
| 38 | + |
| 39 | +2. Make the script executable |
| 40 | + |
| 41 | +``` bash |
| 42 | +chmod +x deploy-cni-aks.sh |
| 43 | +``` |
| 44 | + |
| 45 | +3. Run the script (make sure you are running with sudo) |
| 46 | + |
| 47 | +``` bash |
| 48 | +sudo ./deploy-cni-aks.sh |
| 49 | +``` |
| 50 | + |
| 51 | +### deploy-kubenet-aks.sh |
| 52 | + |
| 53 | +1. Download the script on the location that you are planning to use for the deployment |
| 54 | + |
| 55 | +``` bash |
| 56 | +curl --output deploy-kubenet-aks.sh https://raw.githubusercontent.com/microsoft/sql-server-samples/master/samples/features/sql-big-data-cluster/deployment/platform-ops/scripts/deploy-kubenet-aks.sh |
| 57 | +``` |
| 58 | + |
| 59 | +2. Make the script executable |
| 60 | + |
| 61 | +``` bash |
| 62 | +chmod +x deploy-kubenet-aks.sh |
| 63 | +``` |
| 64 | + |
| 65 | +3. Run the script (make sure you are running with sudo) |
| 66 | + |
| 67 | +``` bash |
| 68 | +sudo ./deploy-kubenet-aks.sh |
| 69 | +``` |
| 70 | + |
| 71 | +### deploy-bdc-aks.sh |
| 72 | + |
| 73 | + |
| 74 | +1. Download the script on the location that you are planning to use for the deployment |
| 75 | + |
| 76 | +``` bash |
| 77 | +curl --output deploy-bdc-aks.sh https://raw.githubusercontent.com/microsoft/sql-server-samples/master/samples/features/sql-big-data-cluster/deployment/platform-ops/scripts/deploy-bdc-aks.sh |
| 78 | +``` |
| 79 | + |
| 80 | +2. Make the script executable |
| 81 | + |
| 82 | +``` bash |
| 83 | +chmod +x deploy-bdc-aks.sh |
| 84 | +``` |
| 85 | + |
| 86 | +3. Run the script (make sure you are running with sudo) |
| 87 | + |
| 88 | +``` bash |
| 89 | +sudo ./deploy-bdc-aks.sh |
| 90 | +``` |
| 91 | + |
0 commit comments