create_cluster_scheduler_config
¶
create_cluster_scheduler_config(
*,
config_overrides: Optional[SageMakerClientConfig] = None,
name: Optional[EntityName] = None,
cluster_arn: Optional[ClusterArn] = None,
scheduler_config: Optional[SchedulerConfig] = None,
description: Optional[EntityDescription] = None,
tags: Optional[TagList] = None,
) -> CreateClusterSchedulerConfigResponse
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.
Parameters:
-
name(Optional[EntityName], default:None) –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. -
cluster_arn(Optional[ClusterArn], default:None) –ARN of the cluster.
-
scheduler_config(Optional[SchedulerConfig], default:None) –Configuration about the monitoring schedule.
-
description(Optional[EntityDescription], default:None) –Description of the cluster policy.
-
tags(Optional[TagList], default:None) –Tags of the cluster policy.
Raises:
-
ConflictException–There was a conflict when you attempted to modify a SageMaker entity such as an
ExperimentorArtifact. -
ResourceLimitExceeded–You have exceeded an SageMaker resource limit. For example, you might have too many training jobs created.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_sagemaker/_services/sage_maker.py
3481 3482 3483 3484 3485 3486 3487 3488 3489 3490 3491 3492 3493 3494 3495 3496 3497 3498 3499 3500 3501 3502 3503 3504 3505 3506 3507 3508 3509 3510 3511 3512 3513 3514 3515 3516 3517 3518 3519 3520 3521 3522 3523 3524 3525 3526 3527 3528 3529 3530 3531 3532 3533 3534 3535 3536 3537 3538 3539 3540 3541 3542 3543 3544 3545 | |