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 not specified. If this property is left empty then controllers will watch all namespaces by default. Sets the default value for all controllers.
      • finalizer

        @ConfigItem
        public Optional<String> finalizer
        The optional name of the finalizer to use for controllers. If none is provided, one will be automatically generated. It should be noted that having several controllers use the same finalizer might create issues and this configuration item is mostly useful when we don't want to use finalizers at all by default (using the Controller.NO_FINALIZER value). Sets the default value for all controllers.
    • Constructor Detail

      • RunTimeOperatorConfiguration

        public RunTimeOperatorConfiguration()