mirror of
https://github.com/kubesphere/website.git
synced 2025-12-26 00:12:48 +00:00
Update 03-upgrade-kubesphere-from-v3.4.x.adoc (#3257)
Signed-off-by: hongming <coder.scala@gmail.com>
This commit is contained in:
parent
f006a125cf
commit
4ae3971460
|
|
@ -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:
|
||||
|
|
|
|||
|
|
@ -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 重启,依赖网关提供的服务会产生中断,请在业务低峰期进行升级。
|
||||
|
||||
在开始升级前,请通过以下命令检查集群中部署的网关实例及状态:
|
||||
|
|
|
|||
Loading…
Reference in New Issue