Questions? Feedback? powered by Olark live chat software
Ignorar Navegação

Azure Container Service - Swarm

Última atualização: 07/11/2016

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.

Este modelo de Gestor de Recursos do Azure (Azure Resource Manager, ARM) foi criado por um membro da comunidade e não pela Microsoft. Cada modelo de ARM está licenciado para si ao abrigo de um contrato de licença pelo respetivo proprietário e não pela Microsoft. A Microsoft não é responsável por modelos de ARM fornecidos e licenciados por membros da comunidade e não os analisa quanto a a segurança, compatibilidade ou desempenho. Os modelos de ARM da comunidade não são suportados ao abrigo de nenhum programa de suporte ou serviço da Microsoft e são disponibilizados TAL COMO ESTÃO sem qualquer tipo de garantia.

Parâmetros

Nome do Parâmetro Descrição
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.

Utilizar o modelo

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 e configurar o PowerShell para Azure
Linha 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
Instalar e Configurar a Interface de Linha de Comandos para Várias Plataformas do Azure