Skip to main content

%(0)s - Query Traefik to figure out the state of Docker backends

Project description

docker-ps-traefik

docker-ps-traefik is a standalone script with no Python dependencies besides what is found in the standard distribution.

It works like docker ps, except there is an additional column to indicate container health (from Traefik's point of view).

traefik must be configured for docker integration, and it must have both API (--api) and Prometheus turned on in its configuration.

Uses of this script:

  • as a systems administration tool
  • as a helper to facilitate zero-downtime rollover

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 docker_ps_traefik, version 0.1.1
Filename, size File type Python version Upload date Hashes
Filename, size docker_ps_traefik-0.1.1-py2.py3-none-any.whl (14.4 kB) File type Wheel Python version py2.py3 Upload date Hashes View hashes
Filename, size docker_ps_traefik-0.1.1.tar.gz (5.6 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