Score:0

Find out why a Kubernetes cluster was restarted on Google Cloud

cf flag

This has happened twice in the last two months - during a weekend the entire GKE cluster is restarted.

It happens even though the cluster is set to manual upgrade (release channel is set to "None").

Is there a way to find out why the GKE cluster was restarted?

Score:2
cf flag

As stated in documentation:

No channel

Regardless of whether your cluster is enrolled in a release channel or not, cluster control planes are always upgraded on a regular basis.

. . .

Automatic upgrades are typically performed in stages over multiple weeks. Infrastructure security is high priority for GKE, and as such control planes are upgraded on a regular basis, and cannot be disabled. However, you can apply maintenance windows and exclusions to temporarily suspend upgrades for control planes and nodes.

Use gcloud container operations list --filter="TYPE:UPGRADE_MASTER" to see recent control plane upgrades:

$ gcloud container operations list --filter="TYPE:UPGRADE_MASTER"
NAME                              TYPE            LOCATION    TARGET  STATUS_MESSAGE  STATUS  START_TIME                      END_TIME
operation-1631397153397-fc924191  UPGRADE_MASTER  us-west1-b  prod                    DONE    2021-09-11T22:05:53.397098204Z  2021-09-11T22:10:04.559303783Z
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.