Skip to content

GKE upgrade breaks postgres cluster #182

@vedantthapa

Description

@vedantthapa

There was an occurrence previously when a maintenance window was added to the GKE Autopilot Cluster. After maintenance was completed, the cloudnative-pg cluster ended up in a broken state. This might be due to the fact that cloudnative-pg operator expects to have nodeMaintenanceWindow.inProgress field set to true on the Cluster resource whenever there's a kubernetes upgrade (See docs).

We've removed the maintenance window for now so that no automated updates are triggered, however, a solution is needed to either automatically update the field in the Cluster resource before a GKE maintenance window and toggle it back to the orginial value once the upgrade is finished OR alert the user to the availability of an upgrade so they can modify the field, start the upgrade, and then toggle the field back to its initial value.

Metadata

Metadata

Assignees

No one assigned

    Labels

    dev opsCI/CD, infrastructure, etck8s

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions