Create cluster policy configuration¶
Description¶
Create cluster policy configuration. This policy is used for task prioritization and fair-share allocation of idle compute. This helps prioritize critical workloads and distributes idle compute across entities.
Usage¶
Arguments¶
-
Name[required] The name for the cluster policy. The name must be unique within the SageMaker AI HyperPod cluster specified by
ClusterArn. You can use the same name in other clusters within a Region or across Regions. -
ClusterArn[required] ARN of the cluster.
-
SchedulerConfig[required] Configuration about the monitoring schedule.
-
DescriptionDescription of the cluster policy.
-
TagsTags of the cluster policy.
Value¶
A list with the following syntax:
Request syntax¶
svc$create_cluster_scheduler_config(
Name = "string",
ClusterArn = "string",
SchedulerConfig = list(
PriorityClasses = list(
list(
Name = "string",
Weight = 123
)
),
FairShare = "Enabled"|"Disabled",
IdleResourceSharing = "Enabled"|"Disabled"
),
Description = "string",
Tags = list(
list(
Key = "string",
Value = "string"
)
)
)