本文属于机器翻译版本。若本译文内容与英语原文存在差异,则一律以英文原文为准。
更新配置的示例 IMDSv1
以下是使用 3.7.0 及更早 AWS ParallelCluster 版本IMDSv1时支持的集群配置示例。
Region:
us-east-1
Imds: ImdsSupport: v1.0 Image: Os:alinux2
HeadNode: InstanceType:t2.micro
Networking: SubnetId:subnet-abcdef01234567890
Ssh KeyName:key-name
CustomActions: OnNodeConfigured: Script:Script-path
Scheduling: Scheduler: slurm SlurmQueues: - Name:queue1
CustomActions: OnNodeConfigured: Script:Script-path
ComputeResources: - Name:t2micro
Instances: - InstanceType:t2.micro
MinCount:1
1 Networking: SubnetIds: -subnet-abcdef01234567890