Skip to main content

Storage Reference

A storage is a persistent volume of an environment: disk space that keeps its content when an integration restarts, is redeployed or is rescheduled on another node.

Rationale: Why an integration needs a storage.

Create and mount​

The Storage tab of an integration creates its persistent storages itself: a name, a path and a size are enough. See Volumes. A storage of that name that already exists is mounted as it is.

A storage belongs to the business unit and the environment it was created in, like everything else that runs.

Storage and replicas​

A volume is usually writable from one node at a time

Most storage can be mounted read-write by a single node. With several replicas spread over nodes, only some of them can mount it. Either keep one replica, use a storage whose access mode allows many writers, or keep the state outside the integration, in a database or an object store.

Storage in an integration group​

A storage can be a member of an integration group, next to the integrations that use it. It is then created and removed with the group.

Deleting a storage deletes its data

The volume and everything on it are removed. Unmount it from the integrations that use it and save what must be kept first.

When not to use a storage​

NeedPrefer
Scratch space that may be lostAn EmptyDir volume, in the Volumes setting
Read-only files: a mapping, a catalog, a certificateA Resources File configuration, mounted with the Resources setting
State shared by several integrations or replicasAn external database or object store