Skip to main content

Upgrading ops-agent

  1. Pull the target version of the image file (offline package download)

    crictl pull nocoly/ops-agent:<version>
  2. Modify the image version in the /data/hap/script/kubernetes/ops.yaml file;

  3. Update the yaml to apply and use the new version

    kubectl apply -f /data/hap/script/kubernetes/ops.yaml