Add persistent storage
To create persistent storage volumes in your project create a new addon and select the type and version you require. Please note that while you can increase the storage size or replica count of persistent storage volumes after creation, you cannot decrease them.
After creating your persistent storage volume it may take a few minutes to provision resources and set up a default configuration, after which its status will change to running.
Northflank currently offers the following types of storage volume:
|MinIO||2021.4.22||MinIO is a High Performance Object Storage with an Amazon S3 cloud storage service compatible API.||No||No||No||Yes|
Persistent storage volumes can be accessed and used by services within the same project.
The use of the volume will depend on the implementation in your application or service. Your deployment should be configured to receive connection details from environment variables.
Open the connection details page in your storage volume addon to view the relevant end points, commands and secrets, which you can use to connect to the storage volume from your deployments.
You can forward a storage volume for local access using the Northflank CLI.
Your storage volume must be running in order to access it.
You can view and copy the command to connect to a specific storage volume on its overview, in the local access section, or use the following commands:
- To forward a specific storage volume:
sudo northflank forward addon --project [project-name] --addon [addon-name]
- To forward all ports in a project:
sudo northflank forward all --project [project-name]
You can now connect to your storage volume locally.