I upgraded google cloud kubernetes cluster from 1.16.9-gke.2
to 1.16.9-gke.6
and it failed.
All cluster resources were brought up, but: component kube-apiserver
from endpoint gke-3a1fa906f95b728d035e-59bc
is unhealthy.
I'm having this issue constantly. My production server is completely inaccessible. No way to roll back. I had this issue before during the previous update. It resolved after 3-4 times. This time I update 6-7 times. No luck.
Master of cluster [flow-env-prod] will be upgraded from version
[1.16.9-gke.2] to version [1.16.9-gke.6]. This operation is
long-running and will block other operations on the cluster (including
delete) until it has run to completion.
some logs:
Upgrading flow-env-prod...done.
ERROR: (gcloud.container.clusters.upgrade) Operation [<Operation
clusterConditions: [<StatusCondition
message: u'All cluster resources were brought up, but: component "kube-apiserver" from endpoint "gke-3a1fa906f95b728d035e-59bc" is unhealthy.'>]
detail: u'All cluster resources were brought up, but: component "kube-apiserver" from endpoint "gke-3a1fa906f95b728d035e-59bc" is unhealthy.'
endTime: u'2020-06-23T02:09:20.859081264Z'
name: u'operation-1592876809477-ed87ffb3'
nodepoolConditions: []
operationType: OperationTypeValueValuesEnum(UPGRADE_MASTER, 3)
selfLink: u'https://container.googleapis.com/v1/projects/[projectID]/zones/europe-west1-b/operations/operation-1592876809477-ed87ffb3'
startTime: u'2020-06-23T01:46:49.477981885Z'
status: StatusValueValuesEnum(DONE, 3)
statusMessage: u'All cluster resources were brought up, but: component "kube-apiserver" from endpoint "gke-3a1fa906f95b728d035e-59bc" is unhealthy.'
targetLink: u'https://container.googleapis.com/v1/projects/[projectID]/zones/europe-west1-b/clusters/flow-env-prod'
zone: u'europe-west1-b'>] finished with error: All cluster resources were brought up, but: component "kube-apiserver" from endpoint "gke-3a1fa906f95b728d035e-59bc" is unhealthy.`