Updating the control plane images
A new build of the Neutree control plane images has been released. If you have already upgraded Neutree to version 1.2.0, first download the new control plane images from the internal file server and upload them, and then force an update of neutree-core and neutree-api to the latest version according to your deployment mode. The other artifacts can still be reused and do not need to be downloaded again.
Kubernetes deployment
Section titled “Kubernetes deployment”-
Trigger Kubernetes to pull the latest images again:
Terminal window kubectl -n neutree patch deployment neutree-core neutree-api --type=json \-p='[{"op":"replace","path":"/spec/template/spec/containers/0/imagePullPolicy","value":"Always"}]' -
Confirm that the update is complete:
Terminal window kubectl -n neutree rollout status deployment/neutree-core --timeout=10mkubectl -n neutree rollout status deployment/neutree-api --timeout=10m
Docker Compose deployment
Section titled “Docker Compose deployment”-
View the
CONFIG FILESof theneutree-coreproject:Terminal window docker compose ls -
Set the Compose file path in
CONFIG FILESas theCOMPOSE_FILEenvironment variable:Terminal window export COMPOSE_FILE=/absolute/path/neutree-deploy/neutree-core/docker-compose.yml -
Update
neutree-coreandneutree-api:Terminal window docker compose -p neutree-core -f "$COMPOSE_FILE" pull \neutree-core neutree-apidocker compose -p neutree-core -f "$COMPOSE_FILE" up -d \--no-deps --force-recreate \neutree-core neutree-api -
Confirm that the status of both services has returned to
running:Terminal window docker compose -p neutree-core -f "$COMPOSE_FILE" ps \neutree-core neutree-api