openyurtio / yurt-edgex-manager

yurt-edgex-manager is an operator for managing EdgeX lifecycle(including deploy, delete, update) in OpenYurt cluster.
Apache License 2.0
18 stars 24 forks source link

[EdgeX Auto-Collector] Optimize shell script for image synchronization #77

Closed LavenderQAQ closed 1 year ago

LavenderQAQ commented 1 year ago

What would you like to be added: Faster image synchronization scripts

Why is this needed: Currently, the collector executes the script for synchronizing images in serial format, and does not perform tag check on the remote repo. In pr #76, I found that the script was running slowly because edgex required too many images. I tried to optimize a multi-process version for shell script myself, and ensure that the old tag is not pulled again.

others /kind enhancement

LavenderQAQ commented 1 year ago

It's not very difficult, I will be able to finish this soon.