Skip to content

feat: add /healthz endpoint to frontend nginx for k8s probes - #1904

Open
jekabs-karklins wants to merge 1 commit into
developfrom
frontend-healthz-endpoint
Open

jekabs-karklins wants to merge 1 commit into
developfrom
frontend-healthz-endpoint

Conversation

@jekabs-karklins

@jekabs-karklins jekabs-karklins commented Oct 18, 2026 •

Copy link
Copy Markdown
Contributor

Description

Adding dedicated /healthz entpoint for the frontend.

Motivation

This is best practice and allows more control, than checking the liveliness against "/"
https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/

Kubernetes probes currently hit GET /, which serves index.html and writes
an access log line on every probe. /healthz returns a static 200 with
access logging disabled.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@jekabs-karklins
jekabs-karklins requested a review from a team as a code owner October 18, 2026 12:54
@jekabs-karklins
jekabs-karklins requested review from ACLay and removed request for a team October 18, 2026 12:54

@ACLay ACLay left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems sensible to have a proper healthcheck endpoint for the frontend, though I'm curious why the spelling healthz?

@ACLay ACLay left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we also add a HEALTHCHECK instruction to the dockerfile too?

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants