Create policies
You can create your Cluster policy and Compute allocation configurations in the Policies tab. For following provides instructions on how to create the following configurations.
-
Create your Cluster policy to update how tasks are prioritized and idle compute is allocated.
-
Create Compute allocation to create a new compute allocation policy for a team.
Note
When you create a Compute allocation you will need to set up a Kubernetes role-based access control (RBAC) for data scientist users in the corresponding namespace to run tasks on HyperPod clusters orchestrated with Amazon EKS. The namespaces have the format
hyperpod-ns-
. To set up a Kubernetes RBAC, use the instructions in create team roleteam-name
.
For information about the HyperPod task governance EKS cluster policy concepts, see Policies.
Create HyperPod task governance policies
This procedure assumes that you have already created an Amazon EKS cluster set up with HyperPod. If you have not already done so, see Create a SageMaker HyperPod cluster.
-
Navigate to the Amazon SageMaker AI console
. -
On the left navigation pane, under HyperPod Clusters, choose Cluster Management.
-
Choose your Amazon EKS cluster listed under SageMaker HyperPod clusters.
-
Choose the Policies tab.
-
To create your Cluster policy:
-
Choose the corresponding Edit to update how tasks are prioritized and idle compute is allocated.
-
After you have made your changes, choose Submit.
-
-
To create a Compute allocation:
-
-
Choose the corresponding Create. This takes you to the compute allocation creation page.
-
After you have made your changes, choose Submit.
-