Skip to content

Commit

Permalink
Setting 'OnHostMaintenance' to 'TERMINATE' prevents live migration te…
Browse files Browse the repository at this point in the history
…mporarily for GPU Test
  • Loading branch information
powerkimhub committed Mar 22, 2024
1 parent 14ff235 commit 841ec6c
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -292,6 +292,14 @@ func (vmHandler *GCPVMHandler) StartVM(vmReqInfo irs.VMReqInfo) (irs.VMInfo, err
Tags: &compute.Tags{
Items: securityTags,
},

// Instances with guest accelerators, like GPUs, do not support live migration.
// This block of code is a temporary measure for testing GPU functionality.
// Setting 'OnHostMaintenance' to 'TERMINATE' prevents live migration
// by powerkim, 2024.03.22.
Scheduling: &compute.Scheduling{
OnHostMaintenance: "TERMINATE",
},
}

//Windows OS인 경우 administrator 계정 비번 설정 및 계정 활성화
Expand Down

0 comments on commit 841ec6c

Please sign in to comment.