Class RunTimeOperatorConfiguration


  • @ConfigRoot(name="operator-sdk",
                phase=RUN_TIME)
    public class RunTimeOperatorConfiguration
    extends Object
    • Field Detail

      • 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 the ControllerConfiguration annotation or via the associated application.properties property, 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 to Constants.WATCH_CURRENT_NAMESPACE to 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.
    • Constructor Detail

      • RunTimeOperatorConfiguration

        public RunTimeOperatorConfiguration()