CDIST-TYPE__CONSUL_SERVICE(7) | cdist | CDIST-TYPE__CONSUL_SERVICE(7) |
cdist-type__consul_service - Manages consul services
Generate and deploy service definitions for a consul agent. See http://www.consul.io/docs/agent/services.html for parameter documentation.
Use either script together with interval, or use ttl.
None.
__consul_service redis \
--tag master \
--tag production \
--port 8000 \
--check-script /usr/local/bin/check_redis.py \
--check-interval 10s __consul_service webapp \
--port 80 \
--check-ttl 10s
Steven Armstrong <steven-cdist--@--armstrong.cc>
Copyright (C) 2015 Steven Armstrong. You can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
ungleich GmbH 2020
February 7, 2021 | 6.9.4 |