ShaneKm
ShaneKm

Reputation: 21308

HealthChecks Setup in Kubernetes

I've setup healthchecks for my app running in kubernetes. https://github.com/Xabaril/AspNetCore.Diagnostics.HealthChecks/blob/master/doc/k8s-ui-discovery.md

I see the healthchecks working under /healthui endpoint:

enter image description here

Kubernetes service yaml: enter image description here

I have HealthCheckUI defined in my ConfigMaps yaml:

enter image description here

However I get an exception:

enter image description here

How does one setup HealthChecksUI in kubernetes?

Upvotes: 1

Views: 477

Answers (1)

Zambozo
Zambozo

Reputation: 476

The error is about access forbidden. Not about Healtchecks, have a look at the service account you are using if it has enough permission for listing services.

Upvotes: 2

Related Questions