Interface RunTimeOperatorConfiguration
@ConfigMapping(prefix="quarkus.operator-sdk")
@ConfigRoot(phase=RUN_TIME)
public interface RunTimeOperatorConfiguration
-
Method Summary
Modifier and TypeMethodDescriptionHow long the operator will wait for informers to finish synchronizing their caches on startup before timing out.The max number of concurrent dispatches of reconciliation requests to controllers.The max number of concurrent workflow processing requests.Maps a controller name to its configuration.An optional list of comma-separated namespace names all controllers will watch if they do not specify their own list.Amount of seconds the SDK waits for reconciliation threads to terminate before shutting down.
-
Method Details
-
controllers
Map<String,RunTimeControllerConfiguration> controllers()Maps a controller name to its configuration. -
concurrentReconciliationThreads
The max number of concurrent dispatches of reconciliation requests to controllers. -
terminationTimeoutSeconds
Amount of seconds the SDK waits for reconciliation threads to terminate before shutting down. Setting this value will install a shutdown hook to wait for termination (causingOperator.installShutdownHook(Duration)to be called with `Duration.ofSeconds(terminationTimeoutSeconds)`). -
namespaces
An optional list of comma-separated namespace names all controllers will watch if they do not specify their own list. If a controller specifies its own list either via theControllerConfigurationannotation or via the associatedapplication.propertiesproperty, that value will be used instead of the operator-level default value that this configuration option provides.If this property is left empty then controllers will watch all namespaces by default (which is equivalent to setting this property to
Constants.WATCH_ALL_NAMESPACES, assuming they do not provide their own list of namespaces to watch. . The value can be set toConstants.WATCH_CURRENT_NAMESPACEto make all controllers watch the current namespace as specified by the kube config file the operator uses. -
concurrentWorkflowThreads
The max number of concurrent workflow processing requests. -
cacheSyncTimeout
How long the operator will wait for informers to finish synchronizing their caches on startup before timing out.
-