ethanrowe / auto-consul Goto Github PK
View Code? Open in Web Editor NEWRuby gem for bootstrapping consul cluster members
License: MIT License
Ruby gem for bootstrapping consul cluster members
License: MIT License
All existing commands should have meaningful exit codes:
The heartbeat
should probably exit with 255 if the agent isn't running (meaning it can't get information with the consul info
call), and 0 otherwise.
The runner should probably exit with consul's exit code if consul exits with non-zero status. And otherwise exit with 0.
It should be possible to get an actual list of commands with reasonable help. The help shows parameters but not the commands, which ain't awesome.
Given a --heartbeat
option, with a periodicity in seconds, the runner subcommand should issue heartbeats in parallel to the agent's running.
The agent should be monitored and the whole process should exit with the agent's exit code.
This will give us a single entry point for driving the whole utility as one unit.
Current auto-consul can automatically determine if it should be a server or an agent based upon passed in parameters. You should be able to tell auto-consul that it should explicitly be an agent or a server (even if this would violate the server numbers passed in via params)
Make sure signals are handled sanely in the runner now that we're going to make it manage multiple processes (the --heartbeat
option).
If you're using port forwarding (for a container or VM), the IP consul agent
advertises likely needs to be different from the binding IP. So, just as consul
itself separates these, so must auto-consul.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.