From 070cb09b829f6e4483665e7709acce2741f32740 Mon Sep 17 00:00:00 2001 From: Max Glotov Date: Fri, 5 Jan 2024 16:17:53 +0600 Subject: [PATCH] configure disks for nodepools --- terraform/layer2-k8s/eks-karpenter.tf | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/terraform/layer2-k8s/eks-karpenter.tf b/terraform/layer2-k8s/eks-karpenter.tf index 9a397fc..0d895c3 100644 --- a/terraform/layer2-k8s/eks-karpenter.tf +++ b/terraform/layer2-k8s/eks-karpenter.tf @@ -79,6 +79,11 @@ spec: karpenter.sh/discovery: ${local.name} tags: karpenter.sh/discovery: ${local.name} + blockDeviceMappings: + - deviceName: /dev/xvda + ebs: + volumeSize: 100Gi + volumeType: gp3 EOF depends_on = [helm_release.karpenter] @@ -105,6 +110,11 @@ spec: karpenter.sh/discovery: ${local.eks_cluster_id} tags: karpenter.sh/discovery: ${local.eks_cluster_id} + blockDeviceMappings: + - deviceName: /dev/xvda + ebs: + volumeSize: 100Gi + volumeType: gp3 EOF depends_on = [helm_release.karpenter]