Skip to content

Update Cluster

sagemaker_update_cluster R Documentation

Updates a SageMaker HyperPod cluster

Description

Updates a SageMaker HyperPod cluster.

Usage

sagemaker_update_cluster(ClusterName, InstanceGroups)

Arguments

ClusterName

[required] Specify the name of the SageMaker HyperPod cluster you want to update.

InstanceGroups

[required] Specify the instance groups to update.

Value

A list with the following syntax:

list(
  ClusterArn = "string"
)

Request syntax

svc$update_cluster(
  ClusterName = "string",
  InstanceGroups = list(
    list(
      InstanceCount = 123,
      InstanceGroupName = "string",
      InstanceType = "ml.p4d.24xlarge"|"ml.p4de.24xlarge"|"ml.p5.48xlarge"|"ml.trn1.32xlarge"|"ml.trn1n.32xlarge"|"ml.g5.xlarge"|"ml.g5.2xlarge"|"ml.g5.4xlarge"|"ml.g5.8xlarge"|"ml.g5.12xlarge"|"ml.g5.16xlarge"|"ml.g5.24xlarge"|"ml.g5.48xlarge"|"ml.c5.large"|"ml.c5.xlarge"|"ml.c5.2xlarge"|"ml.c5.4xlarge"|"ml.c5.9xlarge"|"ml.c5.12xlarge"|"ml.c5.18xlarge"|"ml.c5.24xlarge"|"ml.c5n.large"|"ml.c5n.2xlarge"|"ml.c5n.4xlarge"|"ml.c5n.9xlarge"|"ml.c5n.18xlarge"|"ml.m5.large"|"ml.m5.xlarge"|"ml.m5.2xlarge"|"ml.m5.4xlarge"|"ml.m5.8xlarge"|"ml.m5.12xlarge"|"ml.m5.16xlarge"|"ml.m5.24xlarge"|"ml.t3.medium"|"ml.t3.large"|"ml.t3.xlarge"|"ml.t3.2xlarge",
      LifeCycleConfig = list(
        SourceS3Uri = "string",
        OnCreate = "string"
      ),
      ExecutionRole = "string",
      ThreadsPerCore = 123,
      InstanceStorageConfigs = list(
        list(
          EbsVolumeConfig = list(
            VolumeSizeInGB = 123
          )
        )
      )
    )
  )
)