Package io.quarkus.kubernetes.deployment
Interface ProbeConfig
public interface ProbeConfig
-
Method Summary
Modifier and TypeMethodDescriptionThe command to use for the probe.The failure threshold to use.The gRPC port to use for the probe (the format is either port or port:service).booleanIf enabled and `grpc-action` is not provided, it will use the generated service name and the gRPC port.default booleanThe http path to use for the probe.The port number to use when configuring the http get action.The port name for selecting the port of the HTTP get action.The scheme of the HTTP get action.The amount of time to wait before starting to probe.period()The period in which the action should be called.The success threshold to use.The tcp socket to use for the probe (the format is host:port).timeout()The amount of time to wait for each action.
-
Method Details
-
httpActionPort
The port number to use when configuring the http get action. If not configured, the port corresponding to thehttpActionPortNamewill be used. -
httpActionPortName
The port name for selecting the port of the HTTP get action. -
httpActionPath
The http path to use for the probe. For this to work, the container port also needs to be set.Assuming the container port has been set (as per above comment), if execAction or tcpSocketAction are not set, an HTTP probe will be used automatically even if no path is set (which will result in the root path being used). If Smallrye Health is used, the path will automatically be set according to the health check path.
-
httpActionScheme
The scheme of the HTTP get action. Can be either "HTTP" or "HTTPS". -
execAction
The command to use for the probe. -
tcpSocketAction
The tcp socket to use for the probe (the format is host:port). -
grpcAction
The gRPC port to use for the probe (the format is either port or port:service). -
grpcActionEnabled
@WithDefault("false") boolean grpcActionEnabled()If enabled and `grpc-action` is not provided, it will use the generated service name and the gRPC port. -
initialDelay
The amount of time to wait before starting to probe. -
period
The period in which the action should be called. -
timeout
The amount of time to wait for each action. -
successThreshold
The success threshold to use. -
failureThreshold
The failure threshold to use. -
hasUserSuppliedAction
default boolean hasUserSuppliedAction()
-