Skip to content

Commit

Permalink
added default to make e2e work
Browse files Browse the repository at this point in the history
  • Loading branch information
freschri committed Mar 5, 2024
1 parent ca30807 commit 8de27e0
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -97,10 +97,6 @@ export default class SingleNewEksGpuOpenSourceObservabilityPattern {
}

function addGpuNodeGroup(gpuNodeGroupProps: GpuNodeGroupProps): blueprints.ManagedNodeGroup {
if (gpuNodeGroupProps === undefined) {
throw new Error("Missing node group configuration");
}

return {
id: "mng-linux-gpu-01",
amiType: eks.NodegroupAmiType.AL2_X86_64_GPU,
Expand All @@ -118,7 +114,7 @@ function addGpuNodeGroup(gpuNodeGroupProps: GpuNodeGroupProps): blueprints.Manag
requireImdsv2: false,
blockDevices: [
{
deviceName: gpuNodeGroupProps.ebsDeviceName,
deviceName: gpuNodeGroupProps.ebsDeviceName ?? "/dev/xvda",
volume: ec2.BlockDeviceVolume.ebs(gpuNodeGroupProps.ebsSize),
}
]
Expand Down

0 comments on commit 8de27e0

Please sign in to comment.