GKE Node Pool auto upgrade disabled Affecting Kubernetes (Container) Engine service in Google
Severity Framework
Snyk CCSS
Rule category
Containers / APIs
Is your enviroment affected by this misconfiguration?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applicationsFrameworks
- Snyk ID SNYK-CC-00427
- credit Snyk Research Team
Description
GKE node pool automatic upgrades are disabled. This Increases the security management overhead.
How to fix?
Set management.auto_upgrade
attribute to true
.
Example Configuration
resource "google_container_node_pool" "allowed1" {
name = "node-pool427-1"
cluster = google_container_cluster.cluster1.id
node_count = 1
location = "us-east1-d"
management {
auto_upgrade = true
}
}