indigo-dc.chronos
Chronos Role
This guide explains how to set up and run Chronos (a part of the Mesos framework) inside a Docker container using the image indigodatacloud/chronos:latest
. This role is designed specifically for deploying Mesos as part of the INDIGO-DataCloud project.
Role Variables
zookeeper_client_port
(default: 2181) — the port used for Zookeeper client connectionszookeeper_peers
(optional) — a list of Zookeeper server addresses. You can also specify these in an inventory file with the group named [zookeeper_servers].chronos_version
(default: latest) — the version of Chronos you want to usechronos_image
(default: indigodatacloud/chronos:{{chronos_version}}) — the image to be used for Chronoschronos_framework_name
(default: chronos) — the name that will be used for registering the Chronos framework with Mesos
SSL-specific options:
chronos_password
— the password for basic authenticationchronos_username
(default: admin) — the username for basic authenticationgenerate_random_pass
(default: true) — if set to true, a random password will be created for the self-signed certificatechronos_key_password
— to be provided ifgenerate_random_pass
is falsechronos_pkcs_password
— to be provided ifgenerate_random_pass
is falsechronos_jks_password
— to be provided ifgenerate_random_pass
is false
Dependencies
indigo-dc.docker
— this is required for the role to work properly
Example Playbook
Here’s an example of how to use this role in a playbook:
- hosts: servers
roles:
- { role: indigo-dc.chronos, zookeeper_peers: ["10.10.10.1", "10.10.10.2", "10.10.10.3"] }
License
This code is licensed under the Apache License v2. Read more here.