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.
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.inProgressfield set totrueon theClusterresource 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
Clusterresource 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.