Skip to content

Commit

Permalink
Merge pull request #112 from DFE-Digital/diagnostic-bug-fix
Browse files Browse the repository at this point in the history
Removed retention policy under azurerm_monitor_diagnostic_setting
  • Loading branch information
VenkataChalla554 authored Nov 8, 2023
2 parents f415f9b + d8d82ea commit 433b04b
Showing 1 changed file with 0 additions and 30 deletions.
30 changes: 0 additions & 30 deletions cluster/terraform_aks_cluster/analytics.tf
Original file line number Diff line number Diff line change
Expand Up @@ -18,51 +18,21 @@ resource "azurerm_monitor_diagnostic_setting" "aks_system_logs" {
# It's currently set to this as default and can be expanded upon
enabled_log {
category = "kube-apiserver"

retention_policy {
enabled = true
days = 10
}
}
enabled_log {
category = "kube-audit-admin"

retention_policy {
enabled = true
days = 10
}
}
enabled_log {
category = "kube-controller-manager"

retention_policy {
enabled = true
days = 10
}
}
enabled_log {
category = "kube-scheduler"

retention_policy {
enabled = true
days = 10
}
}
enabled_log {
category = "cluster-autoscaler"

retention_policy {
enabled = true
days = 10
}
}
enabled_log {
category = "cloud-controller-manager"

retention_policy {
enabled = true
days = 10
}
}
metric {
category = "AllMetrics"
Expand Down

0 comments on commit 433b04b

Please sign in to comment.