consul icon indicating copy to clipboard operation
consul copied to clipboard

Add -reason flag to leave

Open aj-jester opened this issue 11 years ago • 2 comments

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

aj-jester avatar Aug 21 '15 17:08 aj-jester

This is an interesting idea but it might require some tricky plumbing down into Serf and back to propagate the message.

slackpad avatar Aug 25 '15 23:08 slackpad

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.

slackpad avatar May 02 '17 22:05 slackpad