Upgrading Calyptia Core

Calyptia Core can be upgraded via the Calyptia CLI or through the helm command if installed on top of Kubernetes. The following page goes through instructions on both ways.

Calyptia CLI for Servers

When installing Calyptia Core on top of a Linux Server you can use the Calyptia CLI to upgrade the version. First ensure that you have calyptia cli configured with your calyptia account.

To do this you can run

calyptia config set_token <TOKEN FROM SETTINGS IN CALYPTIA CORE CONSOLE>

You should now be able to run the following to retrieve the current version of all connected Core Instances

calyptia get core_instances

you can now run the following command to upgrade to a specific version

calyptia update core_instance k8s <CORE-INSTANCE-NAME> --version <VERSION TO UPGRADE TO>

Helm commands

Upgrading the Helm Repo

helm repo update 

Upgrading Calyptia Core

Note: The following command assumes that this has been deployed under the calyptia namespace.

helm upgrade calyptia-core calyptia/core -n calyptia

Affect on running pipelines

Running pipelines will remain running throughout the upgrade process and in some cases will require a restart. In the case of a restart the default method used is a Rolling Restart, which will individually restart each replica of a pipeline one by one or in the case of a single replica, create a new replica prior to restarting.

Upgrade/Downgrade to a specific version

Calyptia Core installation can be upgraded/downgraded to a specific version with the following command:

helm upgrade calyptia-core calyptia/core --set project_token=xxxx --set name=<CORE_INSTANCE_NAME> --set image.tag=v0.1.14

Please note that upgrading in this way, will re-spawn the aggregator pods in the cluster, but deployed pipelines shouldn't be affected.

Last updated