All Products
Search
Document Center

Container Service for Kubernetes:Update components in an ACK Edge cluster

Last Updated:Sep 11, 2023

This topic describes how to update components in a Container Service for Kubernetes (ACK) Edge cluster.

Prerequisites

Procedure

  1. Log on to the ACK console. In the left-side navigation pane, click Clusters.

  2. On the Clusters page, click the name of the cluster that you want to manage and choose Operations > Add-ons in the left-side navigation pane.

  3. 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.

  1. Manually delete the DaemonSets, Deployments, and Services that are related to the frps or frpc component. To do this, perform the following steps:

    1. Log on to the ACK console. In the left-side navigation pane, click Clusters.

    2. On the Clusters page, click the name of the cluster or click Details in the Actions column of the cluster.

    3. 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.

    4. Run the following command:

      docker run -v ~/.kube:/root/.kube registry.cn-hangzhou.aliyuncs.com/acs/edge-upgrade-addon:v1.0 tunnel
  2. In the left-side navigation pane of the cluster details page, choose Operations > Add-ons.

    • Find edge-tunnel-server and click Upgrade in the Actions column.

    • Find edge-tunnel-agent and click Upgrade in the Actions column.