Skip to content

Commit

Permalink
Remove 'AllMetrics' from AKS diagnostic settings (#92)
Browse files Browse the repository at this point in the history
  • Loading branch information
lumberbaron authored Dec 4, 2024
1 parent 8cd5ee7 commit 2696f91
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 7 deletions.
2 changes: 1 addition & 1 deletion aks/terraform/modules/broker-node-pool/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ No modules.

| Name | Description | Type | Default | Required |
|------|-------------|------|---------|:--------:|
| <a name="input_availability_zones"></a> [availability\_zones](#input\_availability\_zones) | The availability zones for the node pools - one pool is created in each zone. | `list(string)` | <pre>[<br> "1",<br> "2",<br> "3"<br>]</pre> | no |
| <a name="input_availability_zones"></a> [availability\_zones](#input\_availability\_zones) | The availability zones for the node pools - one pool is created in each zone. | `list(string)` | <pre>[<br/> "1",<br/> "2",<br/> "3"<br/>]</pre> | no |
| <a name="input_cluster_id"></a> [cluster\_id](#input\_cluster\_id) | The ID of the cluster. | `string` | n/a | yes |
| <a name="input_common_tags"></a> [common\_tags](#input\_common\_tags) | Tags that are added to all resources created by this module. | `map(string)` | `{}` | no |
| <a name="input_kubernetes_version"></a> [kubernetes\_version](#input\_kubernetes\_version) | The Kubernetes version for the node pools. | `string` | n/a | yes |
Expand Down
2 changes: 1 addition & 1 deletion aks/terraform/modules/cluster/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ No modules.

| Name | Description | Type | Default | Required |
|------|-------------|------|---------|:--------:|
| <a name="input_availability_zones"></a> [availability\_zones](#input\_availability\_zones) | The availability zones for the default (system) node pool. | `list(string)` | <pre>[<br> "1",<br> "2",<br> "3"<br>]</pre> | no |
| <a name="input_availability_zones"></a> [availability\_zones](#input\_availability\_zones) | The availability zones for the default (system) node pool. | `list(string)` | <pre>[<br/> "1",<br/> "2",<br/> "3"<br/>]</pre> | no |
| <a name="input_cluster_name"></a> [cluster\_name](#input\_cluster\_name) | The name of the cluster and name (or name prefix) for all other infrastructure. | `string` | n/a | yes |
| <a name="input_common_tags"></a> [common\_tags](#input\_common\_tags) | Tags that are added to all resources created by this module. | `map(string)` | `{}` | no |
| <a name="input_kubernetes_api_authorized_networks"></a> [kubernetes\_api\_authorized\_networks](#input\_kubernetes\_api\_authorized\_networks) | A list of CIDRs that can access the Kubernetes API, in addition to the VPC's CIDR (which is added by default). | `list(string)` | `[]` | no |
Expand Down
5 changes: 0 additions & 5 deletions aks/terraform/modules/cluster/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -167,9 +167,4 @@ resource "azurerm_monitor_diagnostic_setting" "cluster" {
enabled_log {
category = "kube-controller-manager"
}

metric {
category = "AllMetrics"
enabled = true
}
}
1 change: 1 addition & 0 deletions gke/terraform/modules/cluster/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ resource "google_container_cluster" "cluster" {
#checkov:skip=CKV_GCP_68:Secure boot onfiguration not required, default node pool wil be deleted

service_account = google_service_account.cluster.email
resource_labels = var.common_labels
}

release_channel {
Expand Down

0 comments on commit 2696f91

Please sign in to comment.