ProbeV1
Class sealed net10.0
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.
namespace Aspire.Hosting.Kubernetes.Resources;
public sealed class ProbeV1{ // ...} 11 members
Constructors1
Section titled ConstructorsProperties10
Section titled PropertiesExecget; set Gets or sets the execution action associated with a probe.
FailureThresholdget; setint? Gets or sets the failure threshold for the probe.
Grpcget; set Represents a GRPC-based action within a Kubernetes probe configuration.
HttpGetget; set Represents a configuration for an HTTP GET request action as part of a Kubernetes probe mechanism.
InitialDelaySecondsget; setint? Specifies the duration in seconds to wait before initiating the probe for the first time.
PeriodSecondsget; setint? Gets or sets the period in seconds between probe executions.
SuccessThresholdget; setint? Gets or sets the minimum consecutive successes for the probe to be considered successful after it has previously failed.
TcpSocketget; set TcpSocket specifies an action based on a TCP socket connection.
TerminationGracePeriodSecondsget; setlong? 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.
TimeoutSecondsget; setint? Specifies the number of seconds that a probe will wait for a response before timing out.