WE HAVE MOVED: Please join us at Azure/aks-engine!
Перейти к файлу
Cecile Robert-Michon 5e08e6aa24 change codecov yaml (#3316) 2018-06-20 13:57:52 -07:00
.circleci Enable openshift e2e tests on centos (#2910) 2018-06-19 09:15:18 -04:00
.codecov change codecov yaml (#3316) 2018-06-20 13:57:52 -07:00
.github
.prowci
cmd Support --set flag in deploy command (#3188) 2018-06-11 16:41:37 -07:00
docs Increase unit tests coverage in package api (#3207) 2018-06-14 19:52:56 -04:00
examples Add e2e test for openshift vnet (#3274) 2018-06-15 16:27:57 -04:00
extensions Set extension for custom DNS (#3264) 2018-06-15 12:40:45 -07:00
jenkins
loc
parts fix missing exit (#3315) 2018-06-20 11:54:35 -07:00
pkg More unit tests (#3300) 2018-06-20 11:09:31 -07:00
releases
scripts
test Adding tests to ensure plugins for container monitoring are running fine. (#3298) 2018-06-20 11:08:05 -07:00
translations
vendor
windows
.dockerignore
.gitattributes
.gitignore
CONTRIBUTING.md
Dockerfile
Dockerfile.k8swin
LICENSE
Makefile
OWNERS
README.md
README_zh-CN.md
glide.lock
glide.yaml
labels.yaml
main.go
test.mk
versioning.mk

README.md

Microsoft Azure Container Service Engine - Builds Docker Enabled Clusters

Coverage Status CircleCI

Overview

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

User guides

Contributing

Follow the developers guide to set up your environment.

To build acs-engine, run make build. If you are developing with a working Docker environment, you can also run make dev first to start a Docker container and run make build inside the container.

Please follow these instructions before submitting a PR:

  1. Execute make test to run unit tests.

  2. Manually test deployments if you are making modifications to the templates. For example, if you have to change the expected resulting templates then you should deploy the relevant example cluster definitions to ensure that you are not introducing any regressions.

  3. Make sure that your changes are properly documented and include relevant unit tests.

Usage

Generate Templates

Usage is best demonstrated with an example:

$ vim examples/classic/kubernetes.classic.json

# insert your preferred, unique DNS prefix
# insert your SSH public key

$ ./acs-engine generate examples/classic/kubernetes.classic.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.)

Code of conduct

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.