Skip to content

Commit

Permalink
Merge pull request #36 from SebastianScherer88/reduce-cloudwatch-cost
Browse files Browse the repository at this point in the history
Reduce costs from EKS logging to cloudwatch
  • Loading branch information
SebastianScherer88 authored Oct 28, 2024
2 parents 061e2ac + 608b5f4 commit 63ae751
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions infrastructure/terraform/eks.tf
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,12 @@ module "eks" {
}
}

# try and reduce cloudwatch logging costs
create_cloudwatch_log_group = true
cloudwatch_log_group_class = "INFREQUENT_ACCESS"
cloudwatch_log_group_retention_in_days = 1
cluster_enabled_log_types = [] # "audit", "api", "authenticator"

cluster_addons = {
coredns = {}
kube-proxy = {}
Expand Down

0 comments on commit 63ae751

Please sign in to comment.