Upgrading Datafy
Upgrading from Sensor to AutoScaler
Datafy Sensor and AutoScaler are both based on shared components, operating at different permission levels: Sensor is read-only, and AutoScaler can modify and create volumes.
If you already have Sensor installed and want to upgrade to AutoScaler, these permissions need to be updated, and additional components that manage the volume lifecycle need to be installed.
Update IAM Role
Update the IAM role you created when installing Datafy Sensor, using the AutoScaler permissions level in the role template.
Install Datafy AutoScaler
Install Datafy AutoScaler the same way you installed Sensor, using the AutoScaler version of the installation command.
Upgrading Version of Existing Agent
Sensor
You can upgrade the version of Datafy Sensor you have installed by running the install command with the new version you'd like to install.
Before upgrading, you can check which version is already installed with the following:
You can check which version is installed on your instance with the command:
sudo grep '^VERSION=' /etc/datafy/datafy.confYou can check which version is installed on your cluster by checking the image tag of the datafy-installer DaemonSet, or use the command:
kubectl exec -it -n kube-system datafy-installer-<pod-id> -- /usr/local/datafy-agent/bin/datafy-agent --versionAutoScaler
Upgrading from Version 1.32.0 or Above
AutoScaler is upgraded in the same way as Sensor. Volumes with active autoscaling and the data on them will continue to be available during the upgrade, with a short period of increased latency.
If the new version includes a kernel module upgrade, it will be implemented the next time the instance reboots. If the AutoScaler upgrade is performed during a scheduled maintenance window, we recommend rebooting the instance after the upgrade to ensure the kernel is updated.
Upgrading from Version < 1.32.0
AutoScaler is upgraded in the same way as Sensor. However, if you have volumes with active autoscaling, they may become temporarily unavailable during the upgrade.
In this case, after running the install command, you will be warned and prompted to approve the installation. If there is no response, the installation will be aborted.
You can use the flag FORCE_INSTALL=true to skip the prompt and approve the installation in advance. For example:
Last updated
Was this helpful?
