Class Probe
Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic.
Inheritance
Implements
Inherited Members
Namespace: Google.Apis.CloudRun.v1alpha1.Data
Assembly: Google.Apis.CloudRun.v1alpha1.dll
Syntax
public class Probe : IDirectResponseSchema
Properties
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
FailureThreshold
Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1. +optional
Declaration
[JsonProperty("failureThreshold")]
public virtual int? FailureThreshold { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Int32> |
Handler
The action taken to determine the health of a container
Declaration
[JsonProperty("handler")]
public virtual Handler Handler { get; set; }
Property Value
| Type | Description |
|---|---|
| Handler |
InitialDelaySeconds
Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes +optional
Declaration
[JsonProperty("initialDelaySeconds")]
public virtual int? InitialDelaySeconds { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Int32> |
PeriodSeconds
How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. +optional
Declaration
[JsonProperty("periodSeconds")]
public virtual int? PeriodSeconds { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Int32> |
SuccessThreshold
Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1. +optional
Declaration
[JsonProperty("successThreshold")]
public virtual int? SuccessThreshold { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Int32> |
TimeoutSeconds
Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes +optional
Declaration
[JsonProperty("timeoutSeconds")]
public virtual int? TimeoutSeconds { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Int32> |