Azure Container Service - Swarm

Última actualización: 21/03/2017

Deploy an Azure Container Service instance for the hosting and management of Docker Containers. Azure Container Service optimizes the configuration of popular open source tools and technologies specifically for Azure. You get an open solution (either DCOS, powered by Apache Mesos, Kubernetes, or Docker Swarm) that offers portability for both your containers and your application configuration. You select the size, the number of hosts, and choice of orchestrator tools, and Container Service handles everything else. We work closely with the open source community and, by exposing the standard API endpoints for our orchestration engine, we ensure that the most popular open source tools are not only compatible with Azure Container Service, but in most cases will work out of the box. This includes current tools such as visualizers, monitoring, continuous integration, and command line tools, as well as future tools and features as they become available.

Esta plantilla de Azure Resource Manager (ARM) la creó un miembro de la comunidad, no Microsoft. Su propietario (no Microsoft) le permite usar las plantillas de ARM con arreglo a un contrato de licencia. Microsoft no se responsabiliza de ninguna plantilla de ARM que le proporcionen los miembros de la comunidad (o cuya licencia le otorguen) en cuanto a su seguridad, compatibilidad ni rendimiento. Las plantillas de ARM de la comunidad no reciben ningún tipo de soporte en ningún servicio ni programa de soporte de Microsoft. Dichas plantillas se proporcionan TAL CUAL, sin garantía de ningún tipo.

Parámetros

Nombre del parámetro Descripción
dnsNamePrefix Sets the domain name prefix for the cluster. The concatenation of the domain name and the regionalized DNS zone make up the fully qualified domain name associated with the public IP address.
agentCount The number of swarm nodes for the cluster. This value can be from 1 to 100
agentVMSize The size of the Virtual Machine.
linuxAdminUsername User name for the Linux Virtual Machines.
orchestratorType The type of orchestrator used to manage the applications on the cluster.
masterCount The number of Swarm managers for the cluster.
sshRSAPublicKey Configure all linux machines with the SSH RSA public key string. Your key should include three parts, for example 'ssh-rsa AAAAB...snip...UcyupgH azureuser@linuxvm'
enableDiagnostics Enable or disable VM diagnostics.

Uso de la plantilla

PowerShell

New-AzureRmResourceGroupDeployment -Name <deployment-name> -ResourceGroupName <resource-group-name> -TemplateUri https://raw.githubusercontent.com/azure/azure-quickstart-templates/master/101-acs-swarm/azuredeploy.json
Instalar y configurar PowerShell de Azure

Línea de comandos

azure config mode arm
azure group deployment create <my-resource-group> <my-deployment-name> --template-uri https://raw.githubusercontent.com/azure/azure-quickstart-templates/master/101-acs-swarm/azuredeploy.json
Instalación y configuración de la interfaz de línea de comandos multiplataforma de Azure