Module Values_0.SchedulerConfigSource

Cluster policy configuration. This policy is used for task prioritization and fair-share allocation. This helps prioritize critical workloads and distributes idle compute across entities.

Sourcetype nonrec t = {
  1. priorityClasses : PriorityClassList.t option;
    (*

    List of the priority classes, PriorityClass, of the cluster policy. When specified, these class configurations define how tasks are queued.

    *)
  2. fairShare : FairShare.t option;
    (*

    When enabled, entities borrow idle compute based on their assigned FairShareWeight. When disabled, entities borrow idle compute based on a first-come first-serve basis. Default is Enabled.

    *)
  3. idleResourceSharing : IdleResourceSharing.t option;
    (*

    Configuration for sharing idle compute resources across entities in the cluster. When enabled, unallocated resources are automatically calculated and made available for entities to borrow.

    *)
}
Sourceval make : ?priorityClasses:??? -> ?fairShare:??? -> ?idleResourceSharing:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `List of [> `Structure of (string * [> `Integer of PriorityWeight.t | `String of ClusterSchedulerPriorityClassName.t ]) list ] list ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t