Docker environment at D4Science

From Gcube Wiki
Revision as of 19:11, 22 October 2020 by Andrea.dellamico (Talk | contribs) (Created page with " == D4Science docker infrastructure == A production cluster is available, based on Docker Swarm [https://docs.docker.com/engine/swarm/]. The cluster consists of: * three ma...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

D4Science docker infrastructure

A production cluster is available, based on Docker Swarm [1]. The cluster consists of:

  • three manager nodes
  • currently, five worker nodes.

The running services are exposed using a double set of HAPROXY load balancers:

  • A L4 layer, used to reach the http/https services exposed by the L7 layer
  • A L7 layer, running in the swarm, configured to dinamically resolve the backend names using the Docker internal DNS service

Provisioning of the Docker Swarm

The Swarm, with portainer [2] and the L7 HAPROXY [3] installation is managed by ansible, starting from the role [4]

The load balancers architecture

  • Describe how the L4 and L7 HAPROXY service work together
  • Describe how the L7 HAPROXY talks to the backend services

Docker Stack

  • The services can be deployed into the Docker cluster as stacks [5] using a specially crafted compose file. The Open ASFA case can be used as a working example [6]