Source

Implementation

Provisioner Type

Resource Type

Flavor

Tool

volume

As an example we have a ‘volume’ type which returns an emptyDir volume. In production or for real applications you may want to replace this with a provisioner for a tmpfs, host path, or persistent volume and claims.

Creates a persistent volume that can be mounted on a workload.

type: volume
expected_outputs:
  - source

provisioners.yaml (view on GitHub) :

- uri: template://default-provisioners/volume
  type: volume
  description: Creates a persistent volume that can be mounted on a workload.
  outputs: |
    source:
      emptyDir: {}    
  expected_outputs:
    - source