Currently when KCR is down, no de-register event is fired when a pod is deleted. Even when KCR comes back up, the pod is not de-registered.
This can be solved by having the ability to configure the DeregisterCriticalServiceAfter. This will be part of the check when a pod registers. Refer here for sample Payload. Even if KCR dies, when it comes back up, since the consul service is registered with this parameter, consul will deregister the service after the configure period.
Currently when KCR is down, no de-register event is fired when a pod is deleted. Even when KCR comes back up, the pod is not de-registered.
This can be solved by having the ability to configure the DeregisterCriticalServiceAfter. This will be part of the check when a pod registers. Refer here for sample Payload. Even if KCR dies, when it comes back up, since the consul service is registered with this parameter, consul will deregister the service after the configure period.