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
When both the release channel and master version are specified the module ignores the master version which creates a discrepancy in the intended cluster version vs what the module is creating.
If you user specifies the version module should either use that version or fail provisioning with error message version not supported
Observed behavior
We use this module to deploy GKE clusters. We use a Stable release channel but control the master version so that we can reliably deploy the same K8s version across our fleet.
Terraform Configuration
module"gke" {
source="terraform-google-modules/kubernetes-engine/google//modules/private-cluster"version="23.3.0"project_id=var.AccountIDname=var.ClusterNamekubernetes_version=local.latest_gke_patched_versionregional=trueregion=var.Regionnetwork=var.ClusterNamesubnetwork=var.ServiceSubnets[0]
ip_range_pods=var.PodRangeip_range_services=var.ClusterServiceRangeNamehorizontal_pod_autoscaling=truedatabase_encryption=local.cluster_encryption_configenable_private_endpoint=falseenable_private_nodes=trueremove_default_node_pool=truenetwork_policy=truemonitoring_service="none"master_ipv4_cidr_block="10.0.64.0/28"logging_service="logging.googleapis.com/kubernetes"cluster_resource_labels=local.tagsnode_pools=local.node_poolsmaster_authorized_networks=local.master_authorized_networks# Release Channel configurationrelease_channel=var.release_channel_versionmaintenance_exclusions=[{
name ="minor_upgrade_exclusion"
start_time =timestamp()
end_time =timeadd(timestamp(),local.end_time_in_hrs)
exclusion_scope ="NO_MINOR_UPGRADES"# Scope should be one of: NO_UPGRADES | NO_MINOR_UPGRADES | NO_MINOR_OR_NODE_UPGRADES
}]
}
Terraform Version
1.0.11
Additional information
No response
The text was updated successfully, but these errors were encountered:
TL;DR
When both the release channel and master version are specified the module ignores the master version which creates a discrepancy in the intended cluster version vs what the module is creating.
https://github.com/terraform-google-modules/terraform-google-kubernetes-engine/blob/master/modules/private-cluster/cluster.tf#L57
Expected behavior
If you user specifies the version module should either use that version or fail provisioning with error message version not supported
Observed behavior
We use this module to deploy GKE clusters. We use a Stable release channel but control the master version so that we can reliably deploy the same K8s version across our fleet.
Terraform Configuration
Terraform Version
Additional information
No response
The text was updated successfully, but these errors were encountered: