Skip to Content

Storage Volume Definitions

A storage volume has a simple definition that can be used to create a volume explicitly:

version: v1 name: mydata displayName: mydata description: My data directory storageClassName: data

With the exception of the description field, all fields are mandatory. The most important field is storageClassName which take as a value the storage class name the volume belongs to. Here we are using data as storage class to create/use our home directory for the user.

Note

To create storage volumes you have to be the group owner. A user is always the group owner of his own group.