This topic describes how to update components in a Container Service for Kubernetes (ACK) Edge cluster.
Prerequisites
An ACK Edge cluster is created. For more information, see Create an ACK Edge cluster.
Docker is installed on your on-premises machine. For more information, see Install Docker.
Procedure
Log on to the ACK console. In the left-side navigation pane, click Clusters.
On the Clusters page, click the name of the cluster that you want to manage and choose in the left-side navigation pane.
On the Add-ons page, find the component that you want to manage and install, uninstall, or update the component or modify the control plane parameters of the component.
Update the edge-tunnel-server and edge-tunnel-agent components in a cluster whose version is 1.12.6-aliyunedge.1.
If the version of your cluster is 1.12.6-aliyunedge.1, you must perform the following steps to update edge-tunnel-server and edge-tunnel-agent.
Manually delete the DaemonSets, Deployments, and Services that are related to the frps or frpc component. To do this, perform the following steps:
Log on to the ACK console. In the left-side navigation pane, click Clusters.
On the Clusters page, click the name of the cluster or click Details in the Actions column of the cluster.
On the Cluster Information page, click the Connection Information tab. Then, click the Public Access tab and copy the content of the kubeconfig file to the $HOME/.kube/config file on your on-premises machine. For more information, see Obtain the kubeconfig file of a cluster and use kubectl to connect to the cluster.
Run the following command:
docker run -v ~/.kube:/root/.kube registry.cn-hangzhou.aliyuncs.com/acs/edge-upgrade-addon:v1.0 tunnel
In the left-side navigation pane of the cluster details page, choose .
Find edge-tunnel-server and click Upgrade in the Actions column.
Find edge-tunnel-agent and click Upgrade in the Actions column.