cloudsql/WARN/2026_002
Cloud SQL instances are not running on EOL versions
Product: CloudSQL
Rule class: WARN - Something that is possibly wrong
Description
Check if any Cloud SQL instance is running on a major version that has reached its end of support or deprecation date.
Remediation
To perform an in-place major version upgrade for a Cloud SQL instance:
Using the Google Cloud Console
- Go to the Cloud SQL Instances page in the Google Cloud Console.
- Click the name of the instance to upgrade.
- In the Instance info section of the Overview page, click the Upgrade button next to the database version.
- Select the target database version and follow the prompts to complete the upgrade.
Using the gcloud CLI
- Check the available target versions for the instance:
gcloud sql instances describe INSTANCE_NAME --format="value(upgradableDatabaseVersions)" - Upgrade the instance to the target version:
gcloud sql instances patch INSTANCE_NAME --database-version=TARGET_DATABASE_VERSION
Note: Major version upgrades require instance downtime. It is highly recommended to perform a dry run on a clone of the instance first to verify application compatibility.