You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The managed prometheus shouldn't be enabled when we set monitoring_enable_managed_prometheus to false
Observed behavior
The managed prometheus is enabled when creating new clusters with monitoring_enable_managed_prometheus to false
Terraform Configuration
module"gke" {
source="github.com/terraform-google-modules/terraform-google-kubernetes-engine.git//modules/beta-private-cluster?ref=v31.0.0"regional=trueenable_private_nodes=truenetwork_policy=var.network_policycreate_service_account=falseremove_default_node_pool=truenode_metadata="GKE_METADATA_SERVER"# This is to support workload identityenable_pod_security_policy=var.enable_pod_security_policyproject_id=var.project_idname=local.cluster_nameservice_account=local.gke_service_accountidentity_namespace=local.identity_namespaceregion=var.regionnetwork=var.networksubnetwork=var.subnetworknetwork_project_id=var.network_project_idip_range_pods=var.ip_range_podsip_range_services=var.ip_range_servicesenable_private_endpoint=var.enable_private_endpointnode_pools=var.node_poolsnode_pools_labels=var.node_pools_labelsnode_pools_oauth_scopes=var.node_pools_oauth_scopesnode_pools_metadata=var.node_pools_metadatanode_pools_taints=var.node_pools_taintsnode_pools_tags=local.node_pools_tagskubernetes_version=var.kubernetes_versionmaster_ipv4_cidr_block=var.master_cidr_blockdefault_max_pods_per_node=var.default_max_pods_per_node# Whether L4ILB Subsetting is enabled for this cluster.enable_l4_ilb_subsetting=var.enable_l4_ilb_subsetting# disable external access if we use the master's internal IP as the endpoint of the clustermaster_authorized_networks=local.master_authorized_networksistio=var.enable_istioistio_auth="AUTH_MUTUAL_TLS"cloudrun=var.enable_cloudrunrelease_channel=local.release_channelmaintenance_start_time=var.maintenance_start_timemaintenance_end_time=var.maintenance_end_timemaintenance_recurrence=var.maintenance_recurrencemaintenance_exclusions=var.maintenance_exclusionsauthenticator_security_group=var.authenticator_security_grouplogging_service=var.logging_servicelogging_enabled_components=var.logging_enabled_componentscluster_autoscaling=local.cluster_autoscalingnotification_config_topic=var.notification_config_topicworkload_config_audit_mode=var.workload_config_audit_modenetwork_tags=var.auto_provisioning_network_tagssecurity_posture_vulnerability_mode=var.security_posture_vulnerability_modesecurity_posture_mode=var.security_posture_modefirewall_priority=var.firewall_priorityfirewall_inbound_ports=var.firewall_inbound_portscluster_resource_labels=local.cluster_resource_labelsgce_pd_csi_driver=var.gce_pd_csi_driverdatapath_provider=var.datapath_providerdns_cache=var.dns_cachemonitoring_enable_managed_prometheus=falseenable_resource_consumption_export=var.enable_resource_consumption_exportresource_usage_export_dataset_id=var.resource_usage_export_dataset_id# set the output endpoint to the master's internal IPdeploy_using_private_endpoint=var.deploy_using_private_endpoint# for workload cost insightsenable_cost_allocation=var.enable_cost_allocationgateway_api_channel=var.gateway_api_channeldeletion_protection=var.deletion_protection
}
Terraform Version
> terraform version
Terraform v1.4.0
on darwin_amd64
Additional information
No response
The text was updated successfully, but these errors were encountered:
awx-fuyuanchu
changed the title
Managed Service for Prometheus was enabled even monitoring_enable_managed_prometheus set to false
Managed Service for Prometheus is enabled when creating the GKE clusters with monitoring_enable_managed_prometheus set to false
Aug 14, 2024
TL;DR
The version we are using is beta-private-cluster v31.0.0
Recently, we created several GKE clusters with monitoring_enable_managed_prometheus set to
false
.However, the managed prometheus was enabled ignoring the flag
monitoring_enable_managed_prometheus
This is the monitoring_config from the terraform state
Expected behavior
The managed prometheus shouldn't be enabled when we set
monitoring_enable_managed_prometheus
tofalse
Observed behavior
The managed prometheus is enabled when creating new clusters with
monitoring_enable_managed_prometheus
tofalse
Terraform Configuration
Terraform Version
> terraform version Terraform v1.4.0 on darwin_amd64
Additional information
No response
The text was updated successfully, but these errors were encountered: