Class RunTimeOperatorConfiguration
- java.lang.Object
-
- io.quarkiverse.operatorsdk.runtime.RunTimeOperatorConfiguration
-
@ConfigRoot(name="operator-sdk", phase=RUN_TIME) public class RunTimeOperatorConfiguration extends Object
-
-
Field Summary
Fields Modifier and Type Field Description DurationcacheSyncTimeoutHow long the operator will wait for informers to finish synchronizing their caches on startup before timing out.Optional<Integer>concurrentReconciliationThreadsThe max number of concurrent dispatches of reconciliation requests to controllers.Optional<Integer>concurrentWorkflowThreadsThe max number of concurrent workflow processing requests.Map<String,RunTimeControllerConfiguration>controllersMaps a controller name to its configuration.Optional<List<String>>namespacesAn optional list of comma-separated namespace names all controllers will watch if they do not specify their own list.Optional<Integer>terminationTimeoutSecondsAmount of seconds the SDK waits for reconciliation threads to terminate before shutting down.
-
Constructor Summary
Constructors Constructor Description RunTimeOperatorConfiguration()
-
-
-
Field Detail
-
controllers
@ConfigItem public Map<String,RunTimeControllerConfiguration> controllers
Maps a controller name to its configuration.
-
concurrentReconciliationThreads
@ConfigItem public Optional<Integer> concurrentReconciliationThreads
The max number of concurrent dispatches of reconciliation requests to controllers.
-
terminationTimeoutSeconds
@ConfigItem public Optional<Integer> terminationTimeoutSeconds
Amount of seconds the SDK waits for reconciliation threads to terminate before shutting down.
-
namespaces
@ConfigItem public Optional<List<String>> 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
@ConfigItem public Optional<Integer> concurrentWorkflowThreads
The max number of concurrent workflow processing requests.
-
cacheSyncTimeout
@ConfigItem(defaultValue="2M") public Duration cacheSyncTimeout
How long the operator will wait for informers to finish synchronizing their caches on startup before timing out.
-
-