Upgrade AIStor on Kubernetes (Helm)

AIStor Helm installations consist of two primary parts:

  • The operator chart that controls resources like CustomResourceDefinitions
  • The object-store chart that deploys the AIStor Object Store

You can also upgrade only the AIStor Object Store image used by a given chart.

This page documents a procedure for all three upgrade paths.

All AIStor software supports non-disruptive upgrades with zero downtime. In optimal environments, cluster-wide upgrades typically complete in under 500 milliseconds with large clusters (1000+ nodes) completing in less than 5 seconds.

S3 SDKs and applications typically implement retry mechanisms that mitigate the impact of any reduced availability.

Upgrade AIStor Operator chart

The AIStor Operator chart provides the core resources necessary for deploying AIStor Object Store onto Kubernetes infrastructure. Upgrading the chart brings in new changes to the operator resources, such as new features, capabilities, or updates to the underlying CustomResourceDefinition.

Downgrades or rollbacks are not guaranteed due to potentially breaking changes in underlying resources like the AIStor CustomResourceDefinition.

Before upgrading the chart, do the following:

  • Review the upgrade prerequisites
  • Take a backup of the existing Helm configuration using the helm get values command.
  1. Verify the existing installation

    Use the kubectl get all -n aistor-operator command to verify the health and status of all pods and services in the namespace.

  2. Update the AIStor Helm repository and upgrade the operator

  3. Validate the upgrade

    You can check the operator pods in the aistor namespace to confirm the Helm upgrade deployed correctly.

    kubectl get all -n aistor-operator
    

Upgrade AIStor Object Store chart

The AIStor Object Store chart deploys object storage resources onto Kubernetes infrastructure. Upgrading the chart brings in new changes to the object store, such as features, capabilities, or updated AIStor Object Store binaries.

Downgrades or rollbacks are not guaranteed due to potentially breaking changes in the AIStor Object Store.

Before upgrading the chart, do the following:

  • Review the upgrade prerequisites
  • Take a backup of the existing Helm configuration using the helm get values command.
  1. Verify the existing installation

    Use the kubectl get all -n OBJECT-STORE-NAMESPACE command to verify the health and status of all pods and services in the namespace.

  2. Update the AIStor Helm repository and upgrade the object store

  3. Validate the upgrade

    You can check the pods in the object store namespace to confirm the Helm upgrade deployed correctly.

    kubectl get all -n OBJECT-STORE-NAMESPACE
    

Upgrade AIStor Object Store image

You can upgrade the AIStor Object Store version in a given object store deployment by specifying a new image to the Chart.

  1. Validate the upgrade

    You can check the pods in the object store namespace to confirm the Helm upgrade deployed correctly.

    kubectl get all -n OBJECT-STORE-NAMESPACE