-
-
Notifications
You must be signed in to change notification settings - Fork 103
Open
Labels
enhancementNew fea
87ED
ture or requestNew feature or requesthelp wantedExtra attention is neededExtra attention is neededv2v2 releasev2 release
Description
Search for duplicate feature request
- I already searched, and this feature request or improvement is not a duplicate.
Feature scope
Completely new feature
Feature request related to a problem
Kubernetes expects /livez
and /readyz
health check endpoints.
https://kubernetes.io/docs/reference/using-api/health-checks/
How to add them to sws?
Describe the solution you'd like
Description in docs how to do it.
Describe alternatives you've considered
using nginx directives:
location /livez {
access_log off;
return 200 "ok\n";
add_header Content-Type text/plain;
}
location /readyz {
access_log off;
return 200 "ok\n";
add_header Content-Type text/plain;
}
Build target
All targets
Additional context
I also tried this:
[[advanced.rewrites]]
source = "/livez"
destination = "/health"
[[advanced.rewrites]]
source = "/readyz"
destination = "/health"
But it did not work unfortunately...
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requesthelp wantedExtra attention is neededExtra attention is neededv2v2 releasev2 release