This topic describes how to upgrade components in an edge cluster. This allows you
to perform fine-grained version upgrades in a cluster of the latest version.
Procedure
- Log on to the Container Service for Kubernetes (ACK) console.
- In the left-side navigation pane, click Clusters.
- On the Clusters page, find the cluster for which you want to upgrade the components and choose in the Actions column.
- On the Add-ons page, find the edge-controller-manager component and click Upgrade in the Actions column.
After the component is upgraded, wait five minutes and check the cluster status.
- Check whether the cluster is in the Running state.
- Check whether all nodes in the cluster are ready for use.
- Check whether pods are in the Running state.
- On the Add-ons page, find the kube-flannel-ds component and click Upgrade in the Actions column.
- Upgrade the edge-tunnel-server and edge-tunnel-agent components.
- To manually delete the DaemonSets, Deployments, and Services that are related to the
frps or frpc component, perform the following steps:
- In the left-side navigation pane, click Clusters.
- On the Clusters page, click the name of the cluster that you want to mange or click Details in the Actions column.
- On the details page of the cluster, click the Connection Information tab. Click the Public Access tab and copy the content of the kubeconfig file of the cluster to the $HOME/.kube/config file in your on-premises machine.
- Run the following command:
docker run -v ~/.kube:/root/.kube registry.cn-hangzhou.aliyuncs.com/acs/edge-upgrade-addon:v1.0 tunnel
- On the Add-ons page, find the edge-tunnel-server component and click Upgrade in the Action column.
- On the Add-ons page, find the edge-tunnel-agent component and click Upgrade in the Actions column.
- On the Add-ons page, find the metrics-server component and click Upgrade in the Actions column.
Note Ignore the prompt that asks you to install Logtail.