Upgrade ops-prometheus
-
Pull the target version of the image file (Offline download)
crictl pull nocoly/ops-prometheus:version-number
-
Modify the corresponding image version number in the
/data/hap/script/kubernetes/ops.yaml
file; -
Update the
yaml
to apply and use the new versionkubectl apply -f /data/hap/script/kubernetes/ops.yaml