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
| Name | Type | JSON name | Description |
|---|---|---|---|
FailureThreshold | int? | failureThreshold | Consecutive failures before the probe fails (1..30; defaults to 3). |
InitialDelaySeconds | int? | initialDelaySeconds | Seconds to wait after the container starts before the first check (0..600; defaults to 0). |
Path | string? | path | For `HTTP`: the path to request, starting with `/` (defaults to `/`). |
PeriodSeconds | int? | periodSeconds | Seconds between checks (1..300; defaults to 10). |
Port | int? | port | The port to check; defaults to the app's `port`. |
SuccessThreshold | int? | successThreshold | Consecutive successes before the probe passes after a failure (1..10; defaults to 1). |
TimeoutSeconds | int? | timeoutSeconds | Seconds a check may take (1..60; defaults to 1). |
Type | Models.Apps.AppProbeType? | type | `HTTP` makes a GET request and expects a status of 200..399; `TCP` opens a connection to the port. |