Skip to main content

Upgrade Core

1. Pulling Images​

Before upgrading, make sure each microservice node has the image for its architecture. For offline environments, see Offline Package Downloads.

Tip

If pulling the image shows no progress, wait for the operation to finish.

crictl pull nocoly/hap:7.6.0

2. Upgrade the Microservices​

Notes
  • A rolling upgrade requires roughly 40% free memory on each node. Choose a non-rolling upgrade if the nodes have less free memory.

  • Check the version release history and complete any extra steps marked for versions between your current version and the target version.

  • Check the validity period of your license key’s upgrade service. Forcing an upgrade to a major version released after the expiration date triggers system restrictions and downgrades the license to the free edition.

On the control node, go to the configuration directory (by default, /data/hap/script/kubernetes) and run the upgrade command for your architecture.

bash update.sh update core 7.6.0
  • Allow approximately 3–5 minutes for services to restart.
  • Run kubectl get pod and confirm that each Pod returns to 2/2.