Files
sql-server-samples/samples/features/sql-big-data-cluster/app-deploy
..
2019-02-24 18:56:08 -08:00
2019-02-24 18:52:32 -08:00
2019-02-28 15:06:50 -08:00
2019-02-16 20:49:11 -08:00
2019-02-27 17:31:16 -08:00

Samples on how to deploy applications to SQL Server big data cluster

Pre-requisites

  • SQL Server big data cluster CTP 2.3 or later

  • mssqlctl CLI familiarity. If you are unfamiliar with mssqlctl please refer to - App Deployment in SQL Server big data cluster for more information.

  • Tip mssqlctl app -h will display the various commands to manage the app

Available samples

Python

These samples demonstrates how you can deploy a simple Python app into SQL Server big data cluster as container app as web service that is swagger compliant for building your application.

Sample Description
addpy This sample takes two numbers and returns the sum
magic8ball Runs a Magic 8-Ball

R

These samples demonstrates how you can deploy a simple R app into SQL Server big data cluster as container app as web service that is swagger compliant for building your application.

Sample Description
RollDice This sample demonstrates the use of data frames by rolling dices

MLeap

Sample Description
mleap This sample demonstrates how you use a MLeap bundle (a Spark model serialized in this format) and run it outside of Spark. The sample is based on the MLeap sample available here http://mleap-docs.combust.ml/mleap-serving/. We are using the MLeap Serving container that is published in Docker Hub. The MLeap Serving is deployed as container in SQL Server big data cluster as a container app with a web service that takes the Leap Frame as the input.

Sql Server Integration Services

Sample Description
SSIS This sample demonstrates how you can run SSIS applications as a containerized application leveraging the cron capability in Kubernetes. This example uses a Data Transformation Services Package File Format (DTSX) file developed using Visual Studio that, when executed, takes a database backup. This will run as a cron job which creates the backups every minute. Please follow the README.md for detailed instructions.

For more information, see these articles:

How to deploy and app on SQL Server 2019 big data cluster (preview)