Skip to main content

Document Preview Extension Service Upgrade

Import Image

Every microservice node needs to download the image (Offline Package Download). There will be no output in the command line during the download. Just wait for the command to complete.

crictl pull registry.cn-hangzhou.aliyuncs.com/mdpublic/mingdaoyun-ldoc:version

Update File Preview Extension Service Version

  1. Edit the configuration file of the file preview extension service and update the ldoc service's image version to the target version you wish to upgrade to.

  2. Apply the configuration changes. After updating, the ldoc service will restart and upgrade to the new version.

    kubectl apply -f ldoc.yaml
  3. Check the status and version of the ldoc service.

    # Check deployment status and image version
    kubectl get deployment -o wide | grep app=ldoc

    # Check Pod running status (should be 2/2 if normal)
    kubectl get pod -o wide | grep ldoc