]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
cephadm: add alertmanager deployment feature
authorPaul Cuzner <pcuzner@redhat.com>
Wed, 29 Jan 2020 03:10:37 +0000 (16:10 +1300)
committerSage Weil <sage@redhat.com>
Sat, 15 Feb 2020 17:25:32 +0000 (11:25 -0600)
commita8b03fd3e0bfb83c586a62a83a7f059a675f13f2
tree87d2b02a2e7d0e29f5810fea130bd1c48ab0c79c
parentb650e758388c86556d8915f96359ccb6b91c504f
cephadm: add alertmanager deployment feature

Deploy now accepts a daemon_type of alertmanager. Since alertmanager
is a cluster aware service, the monitoring metadata has been updated to
allow a daemon to use multiple ports. In addition, when config_json is
received, any 'key' prefixed by '_' is skipped when creating files in the
daemons etc directory. Keys that use the '_' prefix hold config data that
can be used elsewhere. In the case of the alertmanager a _peers parameter
is required which is used to add --cluster.peer=<ip>:<port> to the
container command to form the alertmanager cluster

Signed-off-by: Paul Cuzner <pcuzner@redhat.com>
src/cephadm/cephadm