indigo-dc.marathon-lb

marathon-lb 角色

在 Docker 容器中使用镜像 mesosphere/marathon-lb 配置和运行 marathon-lb。

该角色专为 INDIGO-DataCloud 项目中的 Mesos/Marathon 部署而开发。

角色变量

  • marathon_lb_marathon_url: Marathon 端点(默认值:"http://marathon.service.consul:8080")
  • marathon_lb_ports: haproxy 绑定端口(默认值:9090)
  • marathon_lb_auth_creds: Marathon HTTP API 的用户名/密码,格式为 'user:pass'
  • marathon_lb_group: 仅为列出指定名称的应用生成配置(默认值:external)

依赖

  • indigo-dc.docker

示例剧本

以下是如何使用 marathon-lb 角色的示例:

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

许可证

Apache 许可证 v2 [1]

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

作者信息

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

关于项目

Configure and start marathon-lb container

安装
ansible-galaxy install indigo-dc.marathon-lb
许可证
apache-2.0
下载
1.7k
拥有者