Skip to content

Commit

Permalink
feat: [PAYMCLOUD-168] Refactor AKS-platform alerts configuration (#2566)
Browse files Browse the repository at this point in the history
Refactor AKS alerts configuration

Replaced metric-based alerts with log-based alerts for AKS monitoring. Updated the source reference for the AKS module to the latest version.

Signed-off-by: Fabio Felici <[email protected]>
  • Loading branch information
ffppa authored Nov 20, 2024
1 parent e34fd34 commit 67c501d
Show file tree
Hide file tree
Showing 3 changed files with 210 additions and 177 deletions.
6 changes: 3 additions & 3 deletions src/aks-platform/02_aks.tf
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ resource "azurerm_resource_group" "aks_rg" {


module "aks" {
source = "git::https://github.com/pagopa/terraform-azurerm-v3.git//kubernetes_cluster?ref=v8.54.0"
source = "git::https://github.com/pagopa/terraform-azurerm-v3.git//kubernetes_cluster?ref=v8.58.0"

name = local.aks_name
location = var.location
Expand Down Expand Up @@ -76,8 +76,8 @@ module "aks" {
addon_azure_key_vault_secrets_provider_enabled = true
addon_azure_pod_identity_enabled = true

alerts_enabled = var.aks_alerts_enabled
custom_metric_alerts = local.aks_metrics_alerts
alerts_enabled = var.aks_alerts_enabled
custom_logs_alerts = local.aks_logs_alerts

# takes a list and replaces any elements that are lists with a
# flattened sequence of the list contents.
Expand Down
Loading

0 comments on commit 67c501d

Please sign in to comment.