Skip to content

volume

Persistent storage claims. Each attribute is a named claim; the volume provider creates a PVC per claim.

apps.myapp.main.needs.volume.data = {
size = "10Gi";
class = "fast-essential";
path = "/data";
};
  • <name>.accessModeslist of string

    Access modes for the PVC.

    Default
    [ "ReadWriteOnce" ]
  • <name>.classnull or string

    Storage class alias, resolved by the volume provider.

    Default
    null
  • <name>.pathstring

    Mount path this claim is bound to in the consumer's pod.

  • <name>.sizenull or string

    Requested size, such as 10Gi. Defaults to the size the volume provider assigns.

    Default
    null
  • providernull or (podule provider reference (apps.<type>.<instance> or impl.<contract>.<name>))

    Overrides providers.volume for this need.

    Default
    null