Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

289
Visualizações
Autoscale Docker Swarm Services

We are using Ansible along with AWS Autoscaling Groups to scale our docker swarm cluster. Right now this is working because we run the services in global mode so we automatically get one of each container type per docker node. However this is not very efficient because we end up with more containers of some services than we need.

Is anyone doing something similar but having docker swarm scale out specific services based on their resource utilization? It looks like it would be possible by leveraging docker stats to figure out which containers need to scale but don't want to re-invent the wheel if there's already a good solution for this.

EDIT: not looking for how to scale the swarm cluster itself but individual services running on it.

over 4 years ago · Santiago Trujillo
1 Respostas
Responde à pergunta

0

Take a look at kubernetes.

Kubernetes (commonly referred to as "K8s") is an open source container cluster manager originally designed by Google. It aims to provide a "platform for automating deployment, scaling, and operations of application containers across clusters of hosts". It usually works with the Docker container tool and coordinates between a wide cluster of hosts running Docker.

Now lets get to the point:

Kubernetes Horizontal Autoscaling:

With Horizontal Pod Autoscaling, Kubernetes automatically scales the number of pods in a replication controller, deployment or replica set based on observed CPU utilization (or, with alpha support, on some other, application-provided metrics).

enter image description here

More info

over 4 years ago · Santiago Trujillo Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda