ClusterSchedulerConfig
Source:
src/AWS/SageMaker/ClusterSchedulerConfig.ts
A SageMaker HyperPod cluster policy (task governance) — configures how an EKS-orchestrated HyperPod cluster prioritizes tasks and allocates idle compute across teams via priority classes and fair-share weights.
Creating Cluster Policies
Section titled “Creating Cluster Policies”import * as AWS from "alchemy/AWS";
const policy = yield* AWS.SageMaker.ClusterSchedulerConfig("Scheduler", { clusterArn: hyperpod.clusterArn, schedulerConfig: { PriorityClasses: [ { Name: "inference", Weight: 100 }, { Name: "training", Weight: 75 }, ], FairShare: "Enabled", }, description: "Prioritize inference over training",});