Updated on 2025-02-20 GMT+08:00

Upgrading the proxy-agent Component in a Cluster

By default, the proxy-agent component is deployed in the kube-system namespace of a cluster and cannot be upgraded on the console. You need to use kubectl to connect to the cluster and upgrade the component.

  1. Obtain the kubeconfig file and use kubectl to connect to the cluster. For details, see Using kubectl to Connect to a Federation.
  2. Run the following command to upgrade the proxy-agent workload:

    kubectl edit deploy proxy-agent -n kube-system

  3. Modify the image tag. Locate the address line of the image used by the workload and modify {version} in image: xxx/hwofficial-ucs/proxy-agent: {version}. For details about the image tag, see Release History of proxy-agent. If there are parameter changes in the corresponding upgrade version, you need to change the corresponding parameters.
  4. Save the modification and wait until the rolling upgrade of the workload is complete.