WE HAVE MOVED: Please join us at Azure/aks-engine!
Перейти к файлу
Liming Liu a83db69b2f remove one extra english paragraph in zh-cn readme. (#4281) 2018-11-22 11:37:56 -08:00
.circleci E2E: rationalize node check + kube-system check, no kms (#4273) 2018-11-21 11:12:09 -08:00
.codecov
.github
.prowci
cmd Enable multiple Windows vmss agent pools - refactor pool names (#3907) 2018-11-14 12:06:08 -08:00
docs [docs] Add documentation for GPU w/ docker-engine (#4268) 2018-11-21 11:54:07 -08:00
examples Update to Docker 18.09 for Windows (#4223) 2018-11-09 16:52:28 -08:00
extensions Fix typo in prometheus-grafana-k8s extension (#4039) 2018-10-16 09:30:59 -07:00
jenkins retire Azure CDN for container image repository proxying (#3535) 2018-07-24 13:19:31 -07:00
loc
packer Add DockerEngine feature flag (#4262) 2018-11-20 09:04:51 -08:00
parts install gpu drivers before extracting hyperkube (#4276) 2018-11-21 11:47:01 -08:00
pkg remove dead code. (#4282) 2018-11-22 11:35:33 -08:00
releases
scripts update azure-const.sh with new location of azure constants python file (#4247) 2018-11-13 17:46:03 -08:00
test Windows e2e scale up / down test Fixes#3632 (#4264) 2018-11-21 11:54:53 -08:00
translations
vendor update dependencies to point to latest k8s api release (#4157) 2018-11-05 14:08:00 -08:00
windows
.dockerignore
.gitattributes
.gitignore Using dep 0.5.0 and adding dep check to the CI/CD cycle (#3709) 2018-08-30 14:20:22 -07:00
.vsts-ci.yaml Moby container runtime (#3896) 2018-10-24 13:30:49 -07:00
CONTRIBUTING.md
Dockerfile Layer `ADD source-code` prior to `make bootstrap` layer in Dockerfile (#3767) 2018-08-30 12:23:08 -07:00
Dockerfile.k8swin
Gopkg.lock update dependencies to point to latest k8s api release (#4157) 2018-11-05 14:08:00 -08:00
Gopkg.toml update dependencies to point to latest k8s api release (#4157) 2018-11-05 14:08:00 -08:00
LICENSE
Makefile updating azureconst and adding PB6 skus (#4265) 2018-11-20 09:07:45 -08:00
OWNERS adding Tariq to the owners text file (#3842) 2018-09-13 12:49:28 -07:00
README.md Doc style, minor updates pass (#4017) 2018-10-16 10:21:31 -06:00
README_zh-CN.md remove one extra english paragraph in zh-cn readme. (#4281) 2018-11-22 11:37:56 -08:00
labels.yaml
main.go
makedev.ps1 Update go-dev tools image for go 1.11.1 (#3947) 2018-10-04 17:01:23 -06:00
packer.mk Improve VHD VSTS pipeline output URL (#3682) 2018-08-16 10:10:55 -07:00
test.mk
versioning.mk

README.md

Microsoft Azure Container Service Engine - Builds Docker Enabled Clusters

Coverage Status CircleCI GoDoc

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

More info, including a thorough walkthrough is here.

User guides

These guides show how to create your first deployment for each orchestrator:

These guides cover more advanced features to try out after you have built your first cluster:

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 (or makedev.ps1 on Windows) 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/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.)

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.