KubernetesProbesExtensions Class

Definition

Extensions for setting up probes for Kubernetes.

C#
public static class KubernetesProbesExtensions
Inheritance
KubernetesProbesExtensions

Methods

AddKubernetesProbes(IServiceCollection, Action<KubernetesProbesOptions>)

Registers liveness, startup and readiness probes using the configured options.

AddKubernetesProbes(IServiceCollection, IConfigurationSection)

Registers liveness, startup and readiness probes using the configured options.

AddKubernetesProbes(IServiceCollection)

Registers liveness, startup and readiness probes using the default options.

Applies to

Product Versions
.NET 8 (package-provided), 9 (package-provided), 10 (package-provided)