Upgrading ops-agent
-
Pull the target version of the image file (offline package download)
crictl pull registry.cn-hangzhou.aliyuncs.com/mdpublic/ops-agent:VERSION
-
Modify the image version number in the
/data/mingdao/script/kubernetes/ops.yaml
file; -
Update the
yaml
to apply and use the new versionkubectl apply -f /data/mingdao/script/kubernetes/ops.yaml