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.
If pulling the image shows no progress, wait for the operation to finish.
- Linux amd64
- Linux arm64
crictl pull nocoly/hap:7.6.0
crictl pull nocoly/hap-arm64:-
2. Upgrade the Microservices
-
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.
- Rolling Upgrade (Recommended)
- Non-Rolling Upgrade
On the control node, go to the configuration directory (by default, /data/hap/script/kubernetes) and run the upgrade command for your architecture.
- Linux amd64
- Linux arm64
bash update.sh update core 7.6.0
bash update.sh update core-arm64 -
- Allow approximately 3–5 minutes for services to restart.
- Run
kubectl get podand confirm that each Pod returns to2/2.
If resources are limited, stop the services before upgrading. Run the following commands from the configuration directory on the control node.
1. Stop Microservices
bash stop.sh
2. Confirm the Pods are gone, then run the upgrade script
- Linux amd64
- Linux arm64
bash update.sh update core 7.6.0
bash update.sh update core-arm64 -
- After startup completes, run
kubectl get podand check that each Pod reports2/2.