Skip to content

CheckHealth.ps1 bug #593

@scholtz

Description

@scholtz

Hello,

file https://github.com/microsoft/nav-docker/blob/main/generic/Run/CheckHealth.ps1 contains a bug that if custom $publicWebBaseUrl is configured, it checks for the health on public available endpoint. however if one runs the health checks in k8s in multiple instances, one pod would get information that it is healthy because other pod sends this information.

health check should not be done on public url, but inside the container

in the single pod instance where startup probe checks this endpoint, it will never start as the startup probe is never ready on the public url because the pod is not in state ready to allow public network routing

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