Cybus::Volume

A volume represents a storage space and can be associated to containers.

Note

This feature is available only in docker-compose deployments, but not in kubernetes deployments of the Connectware. Using this in a kubernetes deployment will be refused with a suitable error message.

The life-time of the storage volume is as follows: If it does not exist upon enabling the service, the volume will be newly created by Connectware. Subsequently, it will neither be deleted nor truncated by Connectware, neither on disabling the service nor on any other occasion. It needs to be deleted manually. The idea is that it will stay between services being installed, enabled, disabled and removed.

Commissioning files can additionally specify files as Cybus::File resources which should be created inside volumes.

Example

1myVolume:
2  type: Cybus::Volume