Home

envoy.config.core.v3.HealthCheck

Example

Disclaimer: The example is meant to show what methods are available on the object and does not necessarily constitute working code.
local types = import 'types.libsonnet';

types.envoy.config.core.v3.HealthCheck
.withAltPort(1)
.withAlwaysLogHealthCheckFailures(false)
.withCustomHealthCheck(types.envoy.config.core.v3.HealthCheck.CustomHealthCheck)
.withEventLogPath('string')
.withEventService(types.envoy.config.core.v3.EventServiceConfig)
.withGrpcHealthCheck(types.envoy.config.core.v3.HealthCheck.GrpcHealthCheck)
.withHealthyEdgeInterval(types.google.protobuf.Duration)
.withHealthyThreshold(1)
.withHttpHealthCheck(types.envoy.config.core.v3.HealthCheck.HttpHealthCheck)
.withInitialJitter(types.google.protobuf.Duration)
.withInterval(types.google.protobuf.Duration)
.withIntervalJitter(types.google.protobuf.Duration)
.withIntervalJitterPercent(1)
.withNoTrafficHealthyInterval(types.google.protobuf.Duration)
.withNoTrafficInterval(types.google.protobuf.Duration)
.withReuseConnection(false)
.withTcpHealthCheck(types.envoy.config.core.v3.HealthCheck.TcpHealthCheck)
.withTimeout(types.google.protobuf.Duration)
.withTlsOptions(types.envoy.config.core.v3.HealthCheck.TlsOptions)
.withTransportSocketMatchCriteria(types.google.protobuf.Struct)
.withUnhealthyEdgeInterval(types.google.protobuf.Duration)
.withUnhealthyInterval(types.google.protobuf.Duration)
.withUnhealthyThreshold(1)
._validate()

Nested Messages

Fields

Name Type One-of group Required Constraints
alt_port google.protobuf.UInt32Value  
always_log_health_check_failures bool  
custom_health_check envoy.config.core.v3.HealthCheck.CustomHealthCheck health_checker  
event_log_path string  
event_service envoy.config.core.v3.EventServiceConfig  
grpc_health_check envoy.config.core.v3.HealthCheck.GrpcHealthCheck health_checker  
healthy_edge_interval google.protobuf.Duration   {"Duration":{"gt":{}}}
healthy_threshold google.protobuf.UInt32Value yes 
http_health_check envoy.config.core.v3.HealthCheck.HttpHealthCheck health_checker  
initial_jitter google.protobuf.Duration  
interval google.protobuf.Duration   {"Duration":{"gt":{},"required":true}}
interval_jitter google.protobuf.Duration  
interval_jitter_percent uint32  
no_traffic_healthy_interval google.protobuf.Duration   {"Duration":{"gt":{}}}
no_traffic_interval google.protobuf.Duration   {"Duration":{"gt":{}}}
reuse_connection google.protobuf.BoolValue  
tcp_health_check envoy.config.core.v3.HealthCheck.TcpHealthCheck health_checker  
timeout google.protobuf.Duration   {"Duration":{"gt":{},"required":true}}
tls_options envoy.config.core.v3.HealthCheck.TlsOptions  
transport_socket_match_criteria google.protobuf.Struct  
unhealthy_edge_interval google.protobuf.Duration   {"Duration":{"gt":{}}}
unhealthy_interval google.protobuf.Duration   {"Duration":{"gt":{}}}
unhealthy_threshold google.protobuf.UInt32Value yes