<p>I'm trying to upgrade my gke cluster from this command:</p>

<pre><code>gcloud container clusters upgrade CLUSTER_NAME --cluster-version=1.15.11-gke.3 \
   --node-pool=default-pool --zone=ZONE
</code></pre>

<p>I get the following output:</p>

<pre><code>Upgrading test-upgrade-172615287... Done with 0 out of 5 nodes (0.0%): 2 being processed...done.
Timed out waiting for operation &lt;Operation
 clusterConditions: []
 detail: u'Done with 0 out of 5 nodes (0.0%): 2 being processed'
 name: u'operation-NUM-TAG'
 nodepoolConditions: []
 operationType: OperationTypeValueValuesEnum(UPGRADE_NODES, 4)
 progress: &lt;OperationProgress
 metrics: [&lt;Metric
 intValue: 5
 name: u'NODES_TOTAL'&gt;, &lt;Metric
 intValue: 0
 name: u'NODES_FAILED'&gt;, &lt;Metric
 intValue: 0
 name: u'NODES_COMPLETE'&gt;, &lt;Metric
 intValue: 0
 name: u'NODES_DONE'&gt;]
 stages: []&gt;
 …
 status: StatusValueValuesEnum(RUNNING, 2)
 …&gt;
ERROR: (gcloud.container.clusters.upgrade) Operation [DATA_SAME_AS_IN_TIMEOUT] is still running
</code></pre>

<p>I just discovered <code>gcloud config set builds/timeout 3600</code> so I hope this doesn't happen again, like in my CI. But if it does, is there a gcloud command that lets me know that the upgrade is still in progress?  These two didn't provide that:</p>

<pre><code>gcloud container clusters describe CLUSTER_NAME --zone=ZONE
gcloud container node-pools describe default-pool --cluster=CLUSTER_NAME --zone=ZONE
</code></pre>

<p><strong>Note:</strong> Doing this upgrade in the console took <strong>2 hours</strong> so I'm not surprised the command-line attempt timed out. This is for a CI, so I'm fine looping and sleeping for 4 hours or so before giving up. But what's the command that will let me know when the cluster is being upgraded, and when it either finishes or fails?  The UI is showing the cluster is still undergoing the upgrade, so I assume there is some command.</p>

<p>TIA as usual</p>

Eric
<p>Bumped into the same issue.</p>
<p>All <code>gcloud</code> commands, including <code>gcloud container operations wait OPERATION_ID</code>(<a href="https://cloud.google.com/sdk/gcloud/reference/container/operations/wait" rel="nofollow noreferrer">https://cloud.google.com/sdk/gcloud/reference/container/operations/wait</a>), have the same 1-hour timeout.</p>
<p>At this point, there is no other way to wait for the upgrade to complete than to query <code>gcloud container operations list</code> and check the STATUS in a loop.</p>
