This codebase has been deprecated in favor of aks-engine, the natural evolution from acs-engine:
https://github.com/Azure/aks-engine
All future development and maintenance will occur there as an outcome of this deprecation. We're sorry for any inconvenience!
We've moved the Kubernetes code over 100% as-is (with the exception of the boilerplate renaming overhead that accompanies such a move); we're confident this housekeeping manouver will more effectively track the close affinity between the AKS managed service and the "build and manage your own configurable Kubernetes" stories that folks use this tool for.
See you at https://github.com/Azure/aks-engine!
The historical documentation remains below.
The Azure Container Service Engine (acs-engine
) generates ARM (Azure Resource Manager) templates for Docker enabled clusters on Microsoft Azure with your choice of DC/OS, Kubernetes, OpenShift, Swarm Mode, or Swarm orchestrators. The input to the tool is a cluster definition. The cluster definition (or apimodel) is very similar to (in many cases the same as) the ARM template syntax used to deploy a Microsoft Azure Container Service cluster.
The cluster definition file enables you to customize your Docker enabled cluster in many ways including:
- Choice of DC/OS, Kubernetes, OpenShift, Swarm Mode, or Swarm orchestrators
- Multiple agent pools where each agent pool can specify:
- Standard or premium VM Sizes, including GPU optimized VM sizes
- Node count
- Virtual Machine ScaleSets or Availability Sets
- Storage Account Disks or Managed Disks
- OS and distro
- Custom VNET
- Extensions
More info, including a thorough walkthrough is here.
These guides show how to create your first deployment for each orchestrator:
- DC/OS Walkthrough - shows how to create a DC/OS cluster on Azure
- Kubernetes Walkthrough - shows how to create a Linux or Windows Kubernetes cluster on Azure
- OpenShift Walkthrough - shows how to create an OpenShift cluster on Azure
- Swarm Mode Walkthrough - shows how to create a Docker Swarm Mode cluster on Azure
- Standalone Swarm Walkthrough - shows how to create a Docker Standalone Swarm cluster on Azure
These guides cover more advanced features to try out after you have built your first cluster:
- Cluster Definition - describes the components of the cluster definition file
- Custom VNET - shows how to use a custom VNET
- Attached Disks - shows how to attach up to 4 disks per node
- Managed Disks - shows how to use managed disks
- Large Clusters - shows how to create cluster sizes of up to 1200 nodes
Usage is best demonstrated with an example:
$ vim examples/kubernetes.json
# insert your preferred, unique DNS prefix
# insert your SSH public key
$ ./acs-engine generate examples/kubernetes.json
This produces a new directory inside _output/
that contains an ARM template for deploying Kubernetes into Azure. (In the case of Kubernetes, some additional needed assets are generated and placed in the output directory.)
This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.