Share via


ProbeV1 Class

Definition

Represents a probe configuration for Kubernetes containers. A probe is used to determine the health and readiness of a container by defining checks that can consist of various actions such as HTTP requests, executing commands, GRPC actions, or assessing TCP socket connectivity.

[YamlDotNet.Serialization.YamlSerializable]
public sealed class ProbeV1
[<YamlDotNet.Serialization.YamlSerializable>]
type ProbeV1 = class
Public NotInheritable Class ProbeV1
Inheritance
ProbeV1
Attributes
YamlDotNet.Serialization.YamlSerializableAttribute

Constructors

ProbeV1()

Properties

Exec

Gets or sets the execution action associated with a probe.

FailureThreshold

Gets or sets the failure threshold for the probe.

Grpc

Represents a GRPC-based action within a Kubernetes probe configuration.

HttpGet

Represents a configuration for an HTTP GET request action as part of a Kubernetes probe mechanism.

InitialDelaySeconds

Specifies the duration in seconds to wait before initiating the probe for the first time.

PeriodSeconds

Gets or sets the period in seconds between probe executions.

SuccessThreshold

Gets or sets the minimum consecutive successes for the probe to be considered successful after it has previously failed.

TcpSocket

TcpSocket specifies an action based on a TCP socket connection.

TerminationGracePeriodSeconds

Gets or sets the optional duration in seconds the system will wait for the pod to terminate gracefully after a probe triggers its termination. If the pod does not terminate within this time frame, it may be forcefully killed. A null value indicates that the termination grace period is not explicitly set.

TimeoutSeconds

Specifies the number of seconds that a probe will wait for a response before timing out.

Applies to