SDK reference / Models / Apps

AppProbe

Kind: class

Namespace: Egulu.Sdk.Models.Apps

One health check of a container app, mapped to a Knative (Kubernetes) probe. A change makes a new revision.

Properties

NameTypeJSON nameDescription
FailureThresholdint?failureThresholdConsecutive failures before the probe fails (1..30; defaults to 3).
InitialDelaySecondsint?initialDelaySecondsSeconds to wait after the container starts before the first check (0..600; defaults to 0).
Pathstring?pathFor `HTTP`: the path to request, starting with `/` (defaults to `/`).
PeriodSecondsint?periodSecondsSeconds between checks (1..300; defaults to 10).
Portint?portThe port to check; defaults to the app's `port`.
SuccessThresholdint?successThresholdConsecutive successes before the probe passes after a failure (1..10; defaults to 1).
TimeoutSecondsint?timeoutSecondsSeconds a check may take (1..60; defaults to 1).
TypeModels.Apps.AppProbeType?type`HTTP` makes a GET request and expects a status of 200..399; `TCP` opens a connection to the port.