Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type JobControllerConfiguration ¶ added in v0.4.0
type JobControllerConfiguration struct { // Enable gang scheduling by abstract GangScheduler. EnableGangScheduling bool // MaxConcurrentReconciles is the maximum number of concurrent Reconciles which can be run. // Defaults to 1. MaxConcurrentReconciles int // ReconcilerSyncLoopPeriod is the amount of time the reconciler sync states loop // wait between two reconciler sync. // It is set to 15 sec by default. // TODO(cph): maybe we can let it grows by multiple in the future // and up to 5 minutes to reduce idle loop. // e.g. 15s, 30s, 60s, 120s... ReconcilerSyncLoopPeriod v1.Duration // Name of global default gang scheduler. GangSchedulerName string // HostNetworkPortRange specifies host ports range to randomize for hostnetwork-enabled jobs. HostNetworkPortRange net.PortRange // The container builder image name, Kaniko image ModelImageBuilder string }
JobControllerConfiguration contains configuration of operator.
var (
CtrlConfig JobControllerConfiguration
)
Click to show internal directories.
Click to hide internal directories.