Skip to content

Create Cluster Scheduler Config

sagemaker_create_cluster_scheduler_config R Documentation

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

sagemaker_create_cluster_scheduler_config(Name, ClusterArn,
  SchedulerConfig, Description, Tags)

Arguments

Name

[required] Name for the cluster policy.

ClusterArn

[required] ARN of the cluster.

SchedulerConfig

[required] Configuration about the monitoring schedule.

Description

Description of the cluster policy.

Tags

Tags of the cluster policy.

Value

A list with the following syntax:

list(
  ClusterSchedulerConfigArn = "string",
  ClusterSchedulerConfigId = "string"
)

Request syntax

svc$create_cluster_scheduler_config(
  Name = "string",
  ClusterArn = "string",
  SchedulerConfig = list(
    PriorityClasses = list(
      list(
        Name = "string",
        Weight = 123
      )
    ),
    FairShare = "Enabled"|"Disabled"
  ),
  Description = "string",
  Tags = list(
    list(
      Key = "string",
      Value = "string"
    )
  )
)