Update 03-upgrade-kubesphere-from-v3.4.x.adoc (#3257)

Signed-off-by: hongming <coder.scala@gmail.com>
This commit is contained in:
hongming 2025-04-22 19:52:02 +08:00 committed by GitHub
parent f006a125cf
commit 4ae3971460
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 14 additions and 0 deletions

View File

@ -142,6 +142,13 @@ kubectl get clusters.cluster.kubesphere.io <MEMBER_CLUSTER_NAME> -o json | jq 'd
== Upgrade gateway
Before upgrading the Gateway, you need to wait for the Gateway extension to be successfully scheduled to the target cluster. Run the following command on the host cluster to check the scheduling status of the Gateway extension.
[source,bash]
----
kubectl get installplan gateway -o json | jq -r '["Cluster", "State"], (.status.clusterSchedulingStatuses | to_entries[] | [.key, .value.state]) | @tsv' | column -t
----
Gateway upgrade will cause Nginx Ingress Controller to restart, resulting in service interruption for gateway-dependent services. Please perform upgrades during off-peak business hours.
Before starting the upgrade, check the gateway instances and their status in the cluster using:

View File

@ -141,6 +141,13 @@ kubectl get clusters.cluster.kubesphere.io <MEMBER_CLUSTER_NAME> -o json | jq 'd
== 升级网关
在升级网关之前,需要等待 Gateway 扩展组件成功调度到目标集群,在 host 集群执行以下命令检查 Gateway 扩展组件的调度状态。
[source,bash]
----
kubectl get installplan gateway -o json | jq -r '["Cluster", "State"], (.status.clusterSchedulingStatuses | to_entries[] | [.key, .value.state]) | @tsv' | column -t
----
网关的升级会导致 Nginx Ingress Controller 重启,依赖网关提供的服务会产生中断,请在业务低峰期进行升级。
在开始升级前,请通过以下命令检查集群中部署的网关实例及状态: