AKS Engine: legacy tool for Kubernetes on Azure (see status)
Перейти к файлу
Jack Francis d15c32a82c enabled backoff on agents (#988)
- moved provision.sh variables ordinality around to accommodate agent usage
- added backoff vars to agent resources template
- re-ordered backoff vars in master resources template to accommodate changes
2017-07-13 16:59:03 -07:00
.github docs(github): include acs-engine version in issue template (#943) 2017-07-10 11:59:34 -07:00
cmd delay wrapping of parameters (#861) 2017-06-23 17:20:57 -07:00
docs update kubernetes doc (#860) 2017-07-05 16:48:46 -07:00
examples moved backoff-related config to api model (#964) 2017-07-13 15:09:05 -07:00
parts enabled backoff on agents (#988) 2017-07-13 16:59:03 -07:00
pkg enabled backoff on agents (#988) 2017-07-13 16:59:03 -07:00
scripts ref(*): remove gitignored templates.go (#973) 2017-07-13 14:12:07 -07:00
test CI improvements (#932) 2017-07-07 16:37:58 -07:00
vendor add validate tag for the purpose of required field (#886) 2017-07-07 13:39:55 -07:00
.dockerignore fix(dockerfile): pin version more correctly 2017-06-21 11:26:55 -07:00
.gitattributes Add devenv for building/testing/validating under Docker 2016-10-27 12:10:36 -07:00
.gitignore ignore templates.go (#915) 2017-07-07 11:54:03 -07:00
CONTRIBUTING.md PROPOSAL: version numbering scheme using SemVer 2.0 (#642) 2017-05-18 18:47:09 -07:00
Dockerfile updated azure cli bundle to 0.2.10-1 (#907) 2017-07-05 08:44:27 -07:00
LICENSE Add License 2016-10-06 07:18:42 -07:00
Makefile ref(*): remove gitignored templates.go (#973) 2017-07-13 14:12:07 -07:00
OWNERS PROPOSAL: version numbering scheme using SemVer 2.0 (#642) 2017-05-18 18:47:09 -07:00
README.md Update README.md (#802) 2017-06-19 16:20:53 -07:00
README_zh-CN.md Restructure commands. Introduce cobra/logrus 2017-05-10 10:26:58 -07:00
glide.lock add validate tag for the purpose of required field (#886) 2017-07-07 13:39:55 -07:00
glide.yaml add validate tag for the purpose of required field (#886) 2017-07-07 13:39:55 -07:00
labels.yaml docs(github): use labeler to manage project labels (#955) 2017-07-10 17:25:02 -07:00
main.go Iterate on changes 2017-05-15 09:56:34 -07:00

README.md

Microsoft Azure Container Service Engine - Builds Docker Enabled Clusters

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, Swarm Mode, or Swarm orchestrators. The input to the tool is a cluster definition. The cluster definition 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 the following customizations to your Docker enabled cluster:

  • choice of DC/OS, Kubernetes, Swarm Mode, or Swarm orchestrators
  • multiple agent pools where each agent pool can specify:
  • standard or premium VM Sizes,
  • node count,
  • Virtual Machine ScaleSets or Availability Sets,
  • Storage Account Disks or Managed Disks (under private preview),
  • Docker cluster sizes of 1200
  • Custom VNET

User guides

Contributing

Please follow these instructions before submitting a PR:

  1. Execute make ci to run the checkin validation 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 you're not introducing any sort of regression.

Usage (Template Generation)

Usage is best demonstrated with an example:

$ vim examples/kubernetes.classic.json

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

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

Deployment Usage

Generated templates can be deployed using the Azure XPlat CLI (v0.10**.0** only), the Azure CLI 2.0 or Powershell.

Deploying with Azure XPlat CLI

NOTE: Some deployments will fail if certain versions of the Azure XPlat CLI are used. It's recommended that you use Azure XPlat CLI 0.10**.0** until a new point release of 0.10.x is available with the fix.

$ azure login

$ azure account set "<SUBSCRIPTION NAME OR ID>"

$ azure config mode arm

$ azure group create \
    --name="<RESOURCE_GROUP_NAME>" \
    --location="<LOCATION>"

$ azure group deployment create \
    --name="<DEPLOYMENT NAME>" \
    --resource-group="<RESOURCE_GROUP_NAME>" \
    --template-file="./_output/<INSTANCE>/azuredeploy.json" \
    --parameters-file="./_output/<INSTANCE>/azuredeploy.parameters.json"

Deploying with Azure CLI 2.0

NOTE: Azure CLI 2.0 is still in preview, so changes may occur. Please reference the Azure CLI 2.0 GitHub Repo for updated commands and please ensure that your installation is up to date with the latest release. (Releases occur weekly!)

$ az login

$ az account set --subscription "<SUBSCRIPTION NAME OR ID>"

$ az group create \
    --name "<RESOURCE_GROUP_NAME>" \
    --location "<LOCATION>"

$ az group deployment create \
    --name "<DEPLOYMENT NAME>" \
    --resource-group "<RESOURCE_GROUP_NAME>" \
    --template-file "./_output/<INSTANCE>/azuredeploy.json" \
    --parameters "./_output/<INSTANCE>/azuredeploy.parameters.json"

Deploying with Powershell

Add-AzureRmAccount

Select-AzureRmSubscription -SubscriptionID <SUBSCRIPTION_ID>

New-AzureRmResourceGroup `
    -Name <RESOURCE_GROUP_NAME> `
    -Location <LOCATION>

New-AzureRmResourceGroupDeployment `
    -Name <DEPLOYMENT_NAME> `
    -ResourceGroupName <RESOURCE_GROUP_NAME> `
    -TemplateFile _output\<INSTANCE>\azuredeploy.json `
    -TemplateParameterFile _output\<INSTANCE>\azuredeploy.parameters.json

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.