@Configuration(proxyBeanMethods=false) @Conditional(value=org.springframework.boot.actuate.autoconfigure.kubernetes.ProbesHealthContributorAutoConfiguration.KubernetesOrPropertyCondition.class) @AutoConfigureAfter(value=ApplicationAvailabilityAutoConfiguration.class) public class ProbesHealthContributorAutoConfiguration extends Object
Constructor and Description |
---|
ProbesHealthContributorAutoConfiguration() |
Modifier and Type | Method and Description |
---|---|
LivenessProbeHealthIndicator |
livenessProbeHealthIndicator(ApplicationAvailabilityProvider applicationAvailabilityProvider) |
HealthEndpointGroupsRegistryCustomizer |
probesRegistryCustomizer() |
ReadinessProbeHealthIndicator |
readinessProbeHealthIndicator(ApplicationAvailabilityProvider applicationAvailabilityProvider) |
public ProbesHealthContributorAutoConfiguration()
@Bean @ConditionalOnEnabledHealthIndicator(value="livenessProbe") @ConditionalOnMissingBean public LivenessProbeHealthIndicator livenessProbeHealthIndicator(ApplicationAvailabilityProvider applicationAvailabilityProvider)
@Bean @ConditionalOnEnabledHealthIndicator(value="readinessProbe") @ConditionalOnMissingBean public ReadinessProbeHealthIndicator readinessProbeHealthIndicator(ApplicationAvailabilityProvider applicationAvailabilityProvider)
@Bean public HealthEndpointGroupsRegistryCustomizer probesRegistryCustomizer()