Overview
Persistent volumes (PVs) let Domino give each Job and Workspace fast local storage for project files, instead of reading and writing directly to the Domino blob store on every operation. As an administrator, you manage how these volumes are provisioned, reused, backed up, and cleaned up, so that your cluster balances storage cost against the performance benefit of reusing volumes.How it works
When not in use, Domino project files are stored and versioned in the Domino blob store. When a Domino execution is started from a project, the project files are copied to a Kubernetes persistent volume (PV) that is attached to the compute node and mounted in the Run. You can run the following command to see all current PVs, sorted by last-used:Storage workflow for Jobs
When a user starts a new Job, Domino assigns a new execution pod to the cluster. This pod has an associated Persistent Volume Claim (PVC) which defines what type of storage it requires from Kubernetes. If an idle PV exists that matches the PVC, Kubernetes mounts that PV on the node it assigns to host the pod, and the Job starts. If an appropriate idle PV does not exist, Kubernetes creates a new PV according to the storage class. When the user completes their Job, the PV data is written to the Domino File System, and the PV unmounts and sits idle until it is either reused for the user’s next Job or until garbage collection. By reusing PVs, users who are actively working in a project do not have to repeatedly copy data from the blob store to a PV. A Job only matches with a fresh PV or one previously used by that project. PVs are not reused between projects.Garbage collection
This feature applies to Idle PVs used for jobs and scheduled jobs, not durable workspaces.
-
Limit the total number of idle PVs to
32. -
Terminate any idle PV that has not been used in
7days.