Package: @effect/cluster
Module: RunnerHealth
A layer which will check the Kubernetes API to see if a Runner is healthy.
The provided HttpClient will need to add the pod’s CA certificate to its trusted root certificates in order to communicate with the Kubernetes API.
The pod service account will also need to have permissions to list pods in order to use this layer.
Signature
declare const layerK8s: (options?: { readonly namespace?: string | undefined; readonly labelSelector?: string | undefined; } | undefined) => Layer.Layer<RunnerHealth, never, K8s.K8sHttpClient>
Since v1.0.0