本文為英文版的機器翻譯版本,如內容有任何歧義或不一致之處,概以英文版為準。
如何更新 IMDSv1 組態的範例
以下是使用 AWS ParallelCluster 3.7.0 及更舊版本時支援 IMDSv1 的叢集組態範例。
Region:us-east-1Imds: ImdsSupport: v1.0 Image: Os:alinux2HeadNode: InstanceType:t2.microNetworking: SubnetId:subnet-abcdef01234567890Ssh: KeyName:key-nameCustomActions: OnNodeConfigured: Script:Script-pathScheduling: Scheduler: slurm SlurmQueues: - Name:queue1CustomActions: OnNodeConfigured: Script:Script-pathComputeResources: - Name:t2microInstances: - InstanceType:t2.microMinCount:11 Networking: SubnetIds: -subnet-abcdef01234567890