diff --git a/cdk.json b/cdk.json index dc36022b..7e98f78a 100644 --- a/cdk.json +++ b/cdk.json @@ -45,7 +45,8 @@ "desiredSize": 2, "minSize": 2, "maxSize": 3, - "ebsSize": 50 + "ebsSize": 50, + "ebsDeviceName": "/dev/xvda" }, "existing.cluster.name": "single-new-eks-observability-accelerator", "existing.kubectl.rolename": "YOUR_KUBECTL_ROLE" diff --git a/lib/single-new-eks-opensource-observability-pattern/gpu-index.ts b/lib/single-new-eks-opensource-observability-pattern/gpu-index.ts index e0132f1a..c846a236 100644 --- a/lib/single-new-eks-opensource-observability-pattern/gpu-index.ts +++ b/lib/single-new-eks-opensource-observability-pattern/gpu-index.ts @@ -114,7 +114,7 @@ function addGpuNodeGroup(gpuNodeGroupProps: GpuNodeGroupProps): blueprints.Manag requireImdsv2: false, blockDevices: [ { - deviceName: gpuNodeGroupProps.ebsDeviceName ?? "/dev/xvda", + deviceName: gpuNodeGroupProps.ebsDeviceName, volume: ec2.BlockDeviceVolume.ebs(gpuNodeGroupProps.ebsSize), } ]