indigo-dc.marathon-lb

marathon-lb Role

This guide explains how to set up and run marathon-lb inside a Docker container using the mesosphere/marathon-lb image.

This role is specifically designed for deploying Mesos/Marathon as part of the INDIGO-DataCloud project.

Role Variables

  • marathon_lb_marathon_url: The URL for the Marathon endpoint (default: "http://marathon.service.consul:8080")
  • marathon_lb_ports: The port that haproxy will use (default: 9090)
  • marathon_lb_auth_creds: Username and password for accessing the Marathon HTTP API, formatted as 'user:pass'
  • marathon_lb_group: Only create config for apps with specified names (default: external)

Dependencies

  • indigo-dc.docker

Example Playbook

Here’s how you can use the marathon-lb role:

- hosts: servers
  roles:
     - { role: indigo-dc.marathon-lb, marathon_lb_auth_creds: "admin:s3cret" }

License

Apache License v2 [1]

[1] http://www.apache.org/licenses/LICENSE-2.0

Author information

Marica Antonacci
marica.antonacci@ba.infn.it
marica.antonacci@gmail.com

Informazioni sul progetto

Configure and start marathon-lb container

Installa
ansible-galaxy install indigo-dc.marathon-lb
Licenza
apache-2.0
Download
1.7k
Proprietario