Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

gogeta-configure: Maintain etcd configuration for gogeta from YAML file

Project description

Description

Given a YAML config file (gogeta.yaml), updates keys in etcd to allow gogeta to proxy hostnames to backends

Usage

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

Example Config

---
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

More examples are available in the examples folder of the source distribution

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for gogeta-configure, version 0.0.3
Filename, size File type Python version Upload date Hashes
Filename, size gogeta-configure-0.0.3.tar.gz (3.7 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page