From 2a856c5b99cc83436cb5c7f6ab590ff126bdca15 Mon Sep 17 00:00:00 2001 From: Vedant Pareek Date: Thu, 18 Jul 2024 09:27:07 +0530 Subject: [PATCH 1/2] disabled fargate support for karpenter because of loki --- upgrade-guide.md | 3 ++- variables.tf | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/upgrade-guide.md b/upgrade-guide.md index 956cfa8..8943ea3 100644 --- a/upgrade-guide.md +++ b/upgrade-guide.md @@ -8,8 +8,9 @@ This guide will help you to migrate your terraform code across versions. Keeping 2. Ensure that you runnning on the EKS version `1.30` which is the default version in `0.5.2` ## Upgrade changes (manual) -1. Execute the terraform apply with version `0.6.0`. If it fails run the below command to import access entry for cluster creator +1. Execute the terraform apply with version `0.6.1`. If it fails run the below command to import access entry for cluster creator ``` terragrunt import 'module.aws-eks-kubernetes-cluster.aws_eks_access_entry.this["cluster_creator"]' "$IAM_PRINCIPAL_ARN" terragrunt import 'module.aws-eks-kubernetes-cluster.aws_eks_access_policy_association.this["cluster_creator_admin"]' $CLUSTER_NAME#$IAM_PRINCIPAL_ARN#arn:aws:eks::aws:cluster-access-policy/AmazonEKSClusterAdminPolicy ``` +2. If you still face any issue, go ahead and delete the access entry created in the EKS console Access tab and then run `terraform apply` \ No newline at end of file diff --git a/variables.tf b/variables.tf index 4968f45..1ae96cc 100644 --- a/variables.tf +++ b/variables.tf @@ -298,7 +298,7 @@ variable "tags" { variable "karpenter_fargate_profile_enabled" { description = "Enable Karpenter Fargate profile" type = bool - default = true + default = false } variable "karpenter_fargate_profile_namespace" { From 22a1db84681e1195b2211fdd8b431e4197468265 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Thu, 18 Jul 2024 03:57:47 +0000 Subject: [PATCH 2/2] terraform-docs: automated action --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 5cd86e6..9785e09 100644 --- a/README.md +++ b/README.md @@ -68,7 +68,7 @@ No resources. | [initial\_node\_pool\_min\_size](#input\_initial\_node\_pool\_min\_size) | Minimum size for the initial node pool | `number` | `2` | no | | [karpenter\_fargate\_profile\_attach\_cni\_policy](#input\_karpenter\_fargate\_profile\_attach\_cni\_policy) | Attach CNI policy to IAM role for Karpenter Fargate profile | `bool` | `true` | no | | [karpenter\_fargate\_profile\_create\_iam\_role](#input\_karpenter\_fargate\_profile\_create\_iam\_role) | Create IAM role for Karpenter Fargate profile | `bool` | `true` | no | -| [karpenter\_fargate\_profile\_enabled](#input\_karpenter\_fargate\_profile\_enabled) | Enable Karpenter Fargate profile | `bool` | `true` | no | +| [karpenter\_fargate\_profile\_enabled](#input\_karpenter\_fargate\_profile\_enabled) | Enable Karpenter Fargate profile | `bool` | `false` | no | | [karpenter\_fargate\_profile\_namespace](#input\_karpenter\_fargate\_profile\_namespace) | value of the namespace where Karpenter is installed | `string` | `"karpenter"` | no | | [node\_security\_group\_additional\_rules](#input\_node\_security\_group\_additional\_rules) | List of additional security group rules to add to the node security group created. Set `source_cluster_security_group = true` inside rules to set the `cluster_security_group` as source | `any` | `{}` | no | | [node\_security\_group\_tags](#input\_node\_security\_group\_tags) | List of node security group tags | `any` | `{}` | no |