Closed edgarasg closed 2 years ago
https://www.consul.io/docs/discovery/checks#http-interval
The basic idea is to return such HTTP status codes conditionally:
200
bootstrapped: true
429
bootstrapped: false
500
status: down
This would be handy for automated rolling upgrade procedure.
If we agree on this change, I can make a PR.
Browsing through the code I've found /bootstrapped, so closing this.
/bootstrapped
https://www.consul.io/docs/discovery/checks#http-interval
The basic idea is to return such HTTP status codes conditionally:
200
ifbootstrapped: true
429
ifbootstrapped: false
500
ifstatus: down
This would be handy for automated rolling upgrade procedure.