Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ArmadaConfig ¶
type ArmadaConfig struct { Auth authconfig.AuthConfig GrpcPort uint16 HttpPort uint16 MetricsPort uint16 CorsAllowedOrigins []string PriorityHalfTime time.Duration CancelJobsBatchSize int Redis redis.UniversalOptions Events EventsConfig EventsNats NatsConfig EventsJetstream JetstreamConfig EventsRedis redis.UniversalOptions Scheduling SchedulingConfig QueueManagement QueueManagementConfig DatabaseRetention DatabaseRetentionPolicy EventRetention EventRetentionPolicy Pulsar PulsarConfig Postgres PostgresConfig // Used for Pulsar submit API deduplication Metrics MetricsConfig }
type DatabaseRetentionPolicy ¶ added in v0.2.10
type EventRetentionPolicy ¶ added in v0.0.11
type EventsConfig ¶ added in v0.2.12
type EventsConfig struct { StoreQueue string // Queue group for event storage processors JobStatusQueue string // Queue group for running job status processor ProcessorBatchSize int // Maximum event batch size ProcessorMaxTimeBetweenBatches time.Duration // Maximum time between batches ProcessorTimeout time.Duration // Timeout for reporting event or stopping batcher before erroring out }
type JetstreamConfig ¶ added in v0.2.11
type LeaseSettings ¶ added in v0.1.0
type MetricsConfig ¶ added in v0.1.23
type NatsConfig ¶ added in v0.1.6
type PostgresConfig ¶ added in v0.3.0
type PulsarConfig ¶ added in v0.3.0
type PulsarConfig struct { // Flag controlling if Pulsar is enabled or not. Enabled bool // Pulsar URL URL string // Path to the trusted TLS certificate file (must exist) TLSTrustCertsFilePath string // Whether Pulsar client accept untrusted TLS certificate from broker TLSAllowInsecureConnection bool // Whether the Pulsar client will validate the hostname in the broker's TLS Cert matches the actual hostname. TLSValidateHostname bool // Max number of connections to a single broker that will be kept in the pool. (Default: 1 connection) MaxConnectionsPerBroker int // Whether Pulsar authentication is enabled AuthenticationEnabled bool // Authentication type. For now only "JWT" auth is valid AuthenticationType string // Path to the JWT token (must exist). This must be set if AutheticationType is "JWT" JwtTokenPath string JobsetEventsTopic string RedisFromPulsarSubscription string PulsarFromPulsarSubscription string // Compression to use. Valid values are "None", "LZ4", "Zlib", "Zstd". Default is "None" CompressionType string // Compression Level to use. Valid values are "Default", "Better", "Faster". Default is "Default" CompressionLevel string // Used to construct an executorconfig.IngressConfiguration, // which is used when converting Armada-specific IngressConfig and ServiceConfig objects into k8s objects. HostnameSuffix string CertNameSuffix string Annotations map[string]string // Settings for deduplication, which relies on a postgres server. DedupTable string }
type QueueManagementConfig ¶ added in v0.1.20
type QueueManagementConfig struct { AutoCreateQueues bool DefaultPriorityFactor queue.PriorityFactor DefaultQueuedJobsLimit int }
type SchedulingConfig ¶ added in v0.0.2
type SchedulingConfig struct { UseProbabilisticSchedulingForAllResources bool QueueLeaseBatchSize uint MinimumResourceToSchedule common.ComputeResourcesFloat MaximumLeasePayloadSizeBytes int MaximalClusterFractionToSchedule map[string]float64 MaximalResourceFractionToSchedulePerQueue map[string]float64 MaximalResourceFractionPerQueue map[string]float64 MaximumJobsToSchedule int Lease LeaseSettings DefaultJobLimits common.ComputeResources DefaultJobTolerations []v1.Toleration MaxRetries uint // Maximum number of retries before a Job is failed ResourceScarcity map[string]float64 PoolResourceScarcity map[string]map[string]float64 MaxPodSpecSizeBytes uint MinJobResources v1.ResourceList }
func (*SchedulingConfig) GetResourceScarcity ¶ added in v0.1.25
func (c *SchedulingConfig) GetResourceScarcity(pool string) map[string]float64
Click to show internal directories.
Click to hide internal directories.