consul
consul copied to clipboard
Add -reason flag to leave
Would there be any interest in adding/accepting a feature to add -reason flag to leave similar to maint?
This comes in handy when we initiate a consul leave from init scripts or if just the user wants to add a reason consul leave -reason='node was going bonkers'.
This is an interesting idea but it might require some tricky plumbing down into Serf and back to propagate the message.
I'm going to close this out as there hasn't been a lot of interest in this, and it's fairly tricky to plumb the message around since leave happens at the gossip layer. It's probably not worth the complexity.