Skip to content

Expose health status #96

@erikschul

Description

@erikschul

I would like to use wireproxy with kubernetes, but for the http proxy, I'm missing a health endpoint:

/livez:

  • 200 if tunnel is established (e.g. no config error, unresolvable dns, etc.)
  • 503 otherwise

/readyz:

  • 200 if latest keepalive received
  • 503 otherwise

This will use wireguard config PersistentKeepalive for period.
Kubernetes can use failureThreshold to ignore intermittent failures.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions