ControllerOptions
Interface: ControllerOptions
Defined in: kubernetes/src/operator/controller.ts:76
Options of a model controller
Properties
concurrency
concurrency:
number
Defined in: kubernetes/src/operator/controller.ts:80
Keys reconciled at the same time
finalizer?
optionalfinalizer?:string
Defined in: kubernetes/src/operator/controller.ts:92
Finalizer added to the objects, to call finalize before they are deleted
maxBackoff
maxBackoff:
number
Defined in: kubernetes/src/operator/controller.ts:88
Maximum milliseconds before reconciling again an object that failed
maxRetries
maxRetries:
number
Defined in: kubernetes/src/operator/controller.ts:96
Attempts of a status or finalizer write on conflicts
onError?
optionalonError?: (name,err,delay) =>void
Defined in: kubernetes/src/operator/controller.ts:104
Called when a reconciliation fails
Parameters
name
string
err
unknown
delay
number
Returns
void
onQueueDepth?
optionalonQueueDepth?: (depth) =>void
Defined in: kubernetes/src/operator/controller.ts:108
Called when the queue depth changes
Parameters
depth
number
Returns
void
onReconciled?
optionalonReconciled?: (result,duration) =>void
Defined in: kubernetes/src/operator/controller.ts:100
Called after each reconciliation
Parameters
result
"error" | "success"
duration
number
Returns
void
resyncPeriod
resyncPeriod:
number
Defined in: kubernetes/src/operator/controller.ts:84
Milliseconds between two reconciliations of every object