Skip to content

Commit

Permalink
CFE-1064: Add support for placementGroupPartition
Browse files Browse the repository at this point in the history
Signed-off-by: chiragkyal <ckyal@redhat.com>
  • Loading branch information
chiragkyal committed Jun 26, 2024
1 parent 2b57d70 commit c49b60e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkg/actuators/machine/instances.go
Original file line number Diff line number Diff line change
Expand Up @@ -592,6 +592,10 @@ func constructInstancePlacement(machine *machinev1beta1.Machine, machineProvider

if machineProviderConfig.PlacementGroupName != "" {
placement.GroupName = &machineProviderConfig.PlacementGroupName

if machineProviderConfig.PlacementGroupPartition != 0 {
placement.PartitionNumber = aws.Int64(int64(machineProviderConfig.PlacementGroupPartition))
}
}

instanceTenancy := machineProviderConfig.Placement.Tenancy
Expand Down

0 comments on commit c49b60e

Please sign in to comment.