--
You received this message because you are subscribed to the Google Groups "Consul" group.
To unsubscribe from this group and stop receiving emails from it, send an email to consul-tool...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Hey Daniel.I think you are doing it correctly. In the Consul model, the health checks are performed at theedges (agents) not by the central servers. The API’s are used to push state updates to theservers.Because of this, there is no notion of TTLs or scripts etc in the low level catalog API’s,because those are concepts that only make sense on agents.It sounds like all of this is part of your architecture anyways. To update the health check,you just call the register endpoint again with the updated status. The endpoint does an“upsert” kind of operation, so you just invoke it again. This is what the agents are doinginternally as well.Best Regards,Armon Dadgar
Because of this, there is no notion of TTLs or scripts etc in the low level catalog API’s,because those are concepts that only make sense on agents.
--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
GitHub Issues: https://github.com/hashicorp/consul/issues
IRC: #consul on Freenode
---
You received this message because you are subscribed to the Google Groups "Consul" group.
To unsubscribe from this group and stop receiving emails from it, send an email to consul-tool...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/consul-tool/f8074dcb-647c-49cb-a765-207d9876b167%40googlegroups.com.