Upgrading ops-agent
-
Pull the target version of the image file (offline package download)
crictl pull nocoly/ops-agent:<version> -
Modify the image version in the
/data/hap/script/kubernetes/ops.yamlfile; -
Update the
yamlto apply and use the new versionkubectl apply -f /data/hap/script/kubernetes/ops.yaml