1. 升級使用者叢集
1.1. 自動升級
在此步驟中,下列可操作的元件會自動升級:
| 範圍 | 可操作的元件 |
|---|---|
| 僅限機構的服務 | KUB |
1.1.1. 必要條件
確認您已獲得「使用者叢集管理員」角色,可管理使用者叢集升級作業。如果沒有存取權,請按照「授予專案資源存取權」一文中的步驟操作。
1.1.2. 自動升級操作說明
- 登入 GDC 控制台。
- 在導覽選單中,選取「叢集」。
查看「通知」欄標籤,找出有可用升級的使用者叢集,這些叢集會顯示「有可用的升級」。

圖 6:「通知」欄中顯示「可升級」
針對要升級的使用者叢集,按一下「可升級」。 您可以在標示為「名稱」的資料欄中找到該使用者叢集。在同一列中,找出該使用者叢集的「可升級」「通知」。
「升級詳細資料」頁面隨即開啟。您會看到可用的 GDCH 使用者叢集版本和對應的可用 Kubernetes 版本。

圖 7. 升級詳細資料頁面
按一下「GDCH 使用者叢集版本」名稱附近的編輯圖示,選擇目標版本,然後按一下「儲存」。

圖 8. 選擇目標版本,然後按一下「儲存」
按一下「升級」按鈕,開始升級使用者叢集。

圖 9. 啟動使用者叢集升級作業
升級作業開始後,請重新整理「升級詳細資料」頁面,查看升級進度。

返回「Clusters」(叢集) 頁面,確認使用者叢集「Status」(狀態) 顯示為「UPGRADING」(升級中):

升級完成後,請確認叢集狀態再次顯示「READY」,且「GDCH version」下方顯示更新後的版本:

1.2. 升級後檢查
檢查每個使用者叢集中的子元件故障情形:
Check for the subcomponents that show ReconciliationError or Reconciling status. Point the kubeconfig to ORG ADMIN KUBECONFIG:
export KUBECONFIG=/root/release/org-admin/org-1-admin-kubeconfig
export CLUSTER=user-vm-1
echo "Subcomponents with failures"
kubectl get subcomponent -n ${CLUSTER} -o json | jq -r '.items[] | select(.status.conditions[]?.reason == "ReconciliationError") | select(.status.featureDisabled != true) | "Sub-Component: \(.metadata.name) - \(.status.conditions[]?.message)"'
echo "Subcomponents still reconciling"
kubectl get subcomponent -n ${CLUSTER} -o json | jq -r '.items[] | select(.status.conditions[]?.reason == "Reconciling") | select(.status.featureDisabled != true) | select( "\(.status)" | contains("PreinstallPending") | not) | "Sub-Component: \(.metadata.name) - \(.status.conditions[]?.message)"'
2. 聯絡 Google 團隊
如需進一步協助,請參閱「要求支援」頁面,瞭解如何與 Google 聯絡。