aws-ia / terraform-aws-eks-blueprints-addons

Terraform module which provisions addons on Amazon EKS clusters
https://aws-ia.github.io/terraform-aws-eks-blueprints-addons/main/
Apache License 2.0
234 stars 109 forks source link

Config Map Creation for Container Insights based logs and Fluentbit Pod Restart #397

Open mrarulkumar opened 1 month ago

mrarulkumar commented 1 month ago

Description

The config map for container insights was created last, leading to the restart of the fluent-bit pod, which is necessary to obtain containerinsight-based logs in CloudWatch.

Versions

aws v5.50.0... helm v2.13.2... kubernetes v2.30.0... "terraform-aws-modules/eks/aws - 19.15 "aws-ia/eks-blueprints-addons/aws - 1.11

Steps to reproduce the behavior:

While using the above terraform code, config-map container insight was created last, due to that pod restart was required to enable container insight logs.

config-map container insight configuration needs to be created first and then the fluent pod needs to start.

Actual behavior

screenshot of terraform plan: fluent-bit container insight configmap issue

github-actions[bot] commented 1 week ago

This issue has been automatically marked as stale because it has been open 30 days with no activity. Remove stale label or comment or this issue will be closed in 10 days