Package io.quarkus.kubernetes.deployment
Class ProbeConfig
java.lang.Object
io.quarkus.kubernetes.deployment.ProbeConfig
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe command to use for the probe.(package private) IntegerThe failure threshold to use.The gRPC port to use for the probe (the format is either port or port:service).(package private) booleanIf enabled and `grpc-action` is not provided, it will use the generated service name and the gRPC port.The 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.(package private) DurationThe amount of time to wait before starting to probe.(package private) DurationThe period in which the action should be called.(package private) IntegerThe success threshold to use.The tcp socket to use for the probe (the format is host:port).(package private) DurationThe amount of time to wait for each action. -
Constructor Summary
Constructors -
Method Summary
-
Field 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
@ConfigItem(defaultValue="false") boolean grpcActionEnabledIf 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.
-
-
Constructor Details
-
ProbeConfig
public ProbeConfig()
-
-
Method Details
-
hasUserSuppliedAction
public boolean hasUserSuppliedAction()
-