Skip to content

Exit On Error does not exit if LaunchDarkly SaaS is unreachableΒ #549

@gravufo

Description

@gravufo

Describe the bug

We are currently implementing LaunchDarkly Relay Proxy on our clusters and were expecting EXIT_ON_ERROR to fail with an error at startup if LaunchDarkly SaaS is unreachable. The reason we want this behavior is that if LaunchDarkly is down and our proxies are restarted during that time and are only configured with in-memory cache, we end up with unusable pods. Ideally, they would never become ready unless they have an external cache or area able to reach the LaunchDarkly SaaS.

To reproduce

Deploy the LD-Relay and setup some network policy to prevent the pods from reaching LaunchDarkly's URLs. You will see the pod will still become healthy and ready.

Expected behavior

I would want the pod to fail at startup if LD is unreachable and no external cache is configured.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions