frontend: add simple /healthz endpoint

Decouple frontend health checks from GET /, which relies on other services to
be reachable. See #34.

Closes #34.

Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
This commit is contained in:
Ahmet Alp Balkan 2018-09-04 22:42:46 -07:00
parent efef44c2d7
commit 0f23d6bbf9
No known key found for this signature in database
GPG key ID: 5C02521D7B216AD6
2 changed files with 3 additions and 2 deletions

View file

@ -30,7 +30,7 @@ spec:
readinessProbe:
initialDelaySeconds: 10
httpGet:
path: "/"
path: "/_healthz"
port: 8080
httpHeaders:
- name: "Cookie"