Fabio Grätz
05/30/2023, 3:11 PMAriel Kaspit
05/30/2023, 3:16 PMflyteadmin
, flyteconsole
and redoc
Fabio Grätz
05/30/2023, 3:27 PMAriel Kaspit
05/30/2023, 3:33 PMFabio Grätz
05/30/2023, 3:33 PMAriel Kaspit
05/31/2023, 3:00 PMapiVersion: <http://cloud.google.com/v1|cloud.google.com/v1>
kind: BackendConfig
metadata:
name: flyteadmin-backendconfig-grpc
namespace: flyte
spec:
securityPolicy:
name: allow-only-cloudflare-source-ips
healthCheck:
requestPath: /grpc.health.v1.Health/Check
port: 8089
type: HTTP2
---
apiVersion: <http://cloud.google.com/v1|cloud.google.com/v1>
kind: BackendConfig
metadata:
name: flyteadmin-backendconfig-http
namespace: flyte
spec:
securityPolicy:
name: allow-only-cloudflare-source-ips
healthCheck:
requestPath: /healthcheck
port: 8088
I tried lots of different paths, and also tried this path /grpc.health.v1.Health/Check
since I found this article which explains how to enable healthchecks for gRPC on Kubernetes. But it requires an extra configuration.
Anyway, it wasn’t specified in the documentation so it took me an extra time unfortunately.