gogeta配置:从yaml文件维护gogeta的etcd配置
gogeta-configure的Python项目详细描述
说明
给定一个yaml配置文件(gogeta.yaml),更新etcd中的密钥以允许gogeta代理主机名到后端
用法
usage: gogeta-configure [-h] [--debug] [--silent] [--update] [--list] [--dry-run] [--purge] [--version] [config_file] Update gogeta via etcd positional arguments: config_file YAML config file (use "-" to read from STDIN) optional arguments: -h, --help show this help message and exit --debug, -d Show debug logging --silent, -s Hide error logging --update, -u Update services --list, -l List services --dry-run, -D Do not change configuration --purge Purge all gogeta config from etcd --version, -v show program's version number and exit
示例配置
--- etcd: 127.0.0.1:4001 services: bar.example.com: - backend-3.backend - backend-4.backend foo.example.com: - backend-1.backend - backend-2.backend
源发行版的examples文件夹中提供了更多示例