Document Preview Service Upgrade
Importing Images
Each microservice node needs to download the image (Offline Package Download). During the download, there is no output in the command line; just wait for the command to complete.
crictl pull registry.cn-hangzhou.aliyuncs.com/mdpublic/mingdaoyun-doc:<version>
Updating File Preview Service Version
- 
Edit the service.yamlconfiguration file of the microservice to update theimageversion of thedocservice to the target version you want to upgrade to.
- 
Apply the configuration changes. After updating, the docservice will restart, upgrade, and use the new version.kubectl apply -f service.yaml
- 
Check the status and version of the docservice.# Check deployment status and image version
 kubectl get deployment -o wide | grep app=doc
 # Check Pod running status (normally should be 2/2)
 kubectl get pod -o wide | grep docThe service takes about 2-3 minutes to start.