We currently run this in our K8's cluster, and had issues the last time cloudflare was down where pods would fail their probes, be killed by K8's, only to be restarted and die again. It ended up causing us some issues.
Logs just showed the following message over and over for every restart:
time="2021-11-26 16:13:40" level=fatal msg="HTTP status 502: service failure"
Is there a way if cloudflare is down for the pods to fail gracefully and log that fact?
We currently run this in our K8's cluster, and had issues the last time cloudflare was down where pods would fail their probes, be killed by K8's, only to be restarted and die again. It ended up causing us some issues. Logs just showed the following message over and over for every restart:
time="2021-11-26 16:13:40" level=fatal msg="HTTP status 502: service failure"
Is there a way if cloudflare is down for the pods to fail gracefully and log that fact?