1 个仓库
Executing shell commands or scripts automatically after configuration templates are rendered to notify or restart services.
Distinct from Conditional Post-Command Executions: The candidates focus on blog rendering, conditional worker commands, or WebSocket connections, whereas this is for configuration management automation.
Explore 1 awesome GitHub repository matching devops & infrastructure · Post-Render Command Executions. Refine with filters or upvote what's useful.
Consul Template 是一个配置渲染器和动态配置管理器,通过使用来自 Consul 和 Vault 的数据填充模板来生成文件。它作为服务发现模板引擎和密钥管理集成器,将集群目录和健康数据转换为格式化的配置文件。 该工具通过充当进程监督者和通知者而脱颖而出,能够在模板更新后自动执行 Shell 命令或重启应用程序。它具有一个用于监控远程键值存储的长轮询观察器,并采用共享锁定机制来协调跨多个实例的更新,防止同时重启服务。 该系统涵盖了广泛的功能,包括用于 PKI 证书和 Vault 凭据的自动化密钥轮换、用于 JSON 和 YAML 的数据格式转换,以及用于自定义数据处理的外部二进制插件的执行。它还提供基础设施引导和分布式渲染同步,通过基于领导者的查询去重来减少 API 负载。
Consul Template runs shell scripts or commands automatically after templates render to reload applications or restart services.