Interface RunTimeOperatorConfiguration


@ConfigMapping(prefix="quarkus.operator-sdk") @ConfigRoot(phase=RUN_TIME) public interface RunTimeOperatorConfiguration
  • Method Details

    • controllers

      Maps a controller name to its configuration.
    • concurrentReconciliationThreads

      Optional<Integer> concurrentReconciliationThreads()
      The max number of concurrent dispatches of reconciliation requests to controllers.
    • terminationTimeoutSeconds

      Optional<Integer> 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 (causing Operator.installShutdownHook(Duration) to be called with `Duration.ofSeconds(terminationTimeoutSeconds)`).
    • namespaces

      @WithDefault("QOSDK_USE_BUILDTIME_NAMESPACES") 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

      Optional<Integer> concurrentWorkflowThreads()
      The max number of concurrent workflow processing requests.
    • cacheSyncTimeout

      @WithDefault("2M") Duration cacheSyncTimeout()
      How long the operator will wait for informers to finish synchronizing their caches on startup before timing out.