This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!
Project Description

Rancon (aka rancher-consul)

We use consul as a service discovery mechanism, and a Consul-template / HAProxy combination to route traffic into our services. This python script is a helper to automatically enter Rancher services into Consul based on Rancher label selectors, so they can picked up by the load HAProxy load balancing layer.

This might not be of any use to anybody but me, but I’ll make it public anyway because I did not find another solution so I had to write it, and maybe someone else has the same problem.

CHANGELOG

0.11.0

Date: 2017-01-03

  • FIX: Service tag replacment exception

0.10.0

Date: 2017-01-03

  • FEATURE: Add “web interface” (basically only for metrics and health check)
  • FEATURE: Add health check under /health
  • FEATURE: Add prometheus metrics under /metrics
  • CHANGE: Deregistration behavior for services which failed registration (was: unregister, is now: keep)

0.9.0

Date: 2016-06-15

  • CHANGE: convert IDs, tags, names to all lowercase in consul
  • CHANGE: do not allow non-url characters in service IDs (basically nothing but [a-z0-9-])

0.8.0

Date: 2016-06-15

  • BREAKING: -i/--id parameter no longer global, moved to cleanup_id parameter of backend
  • CHANGE: output now logging based, so all to stderr, and -vvvv flags possible
  • FIX: bug in service lookup in Rancher
  • OPEN: https connections

0.7.0

Date: 2016-06-15

  • FEATURE: authentication now used
  • FIX: bug in service lookup in Rancher
  • OPEN: https connections (untested, might work)

0.6.1

Date: 2016-06-09

  • More verbosity during init process

0.6.0

Date: 2016-06-09

  • Unified naming scheme of used environment variables
  • Added convenience script “rancon.py”
  • Dockerfile fixes
  • Doc fixes

0.5.0

Date: 2016-06-07

  • Initial PyPI release
  • module works, docker setup not tested yet
  • documentation unfinished / not present
Release History

Release History

0.11.0

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.5.0

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
rancon-0.11.0-py3-none-any.whl (14.0 kB) Copy SHA256 Checksum SHA256 py3 Wheel Jan 3, 2017

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting