ProbeV1
Classsealednet10.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 PropertiesHttpGetget; 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.
SuccessThresholdget; setint? Gets or sets the minimum consecutive successes for the probe to be considered successful after it has previously failed.
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.