DemandFlow Support Centre

K8SSTORAGE: K8s Storage

ReferenceEntity Reference16/04/2026Updated 16/04/2026
A Kubernetes Persistent Volume Claim (PVC) and its backing storage, managing stateful data for workloads.

K8SSTORAGE: K8s Storage

A Kubernetes Persistent Volume Claim (PVC) and its backing storage, managing stateful data for workloads.

Default definition. This article describes the default K8SSTORAGE definition shipped with DemandFlow. Administrators can add, remove, rename, or re-type fields, change which ones are required, and alter the layout from the Definitions screen in Settings. Your tenant's current schema may differ from what is shown here. To read the current definition at any time, GET the DEFINITION object whose id matches K8SSTORAGE.

Entity properties

PropertyValue
Entity codeK8SSTORAGE
Display nameK8s Storage
PluralK8s Storage
Level406

Use cases

K8SSTORAGE represents the PVC/PV pairing that provides durable storage to stateful workloads. The General panel captures the PVC name, namespace (objectLookup to K8SNAMESPACE), storage class, and status (Bound, Pending, Available, Released, Failed, Terminating) reflecting the PV lifecycle. Access mode multiselect supports the four Kubernetes access modes because workload compatibility depends on this.

Fields

PVC Information

FieldTypeRequiredNotes
nametextYesPersistent Volume Claim name
namespacereference → K8SNAMESPACEYesNamespace
storageClasstexte.g., gp2, fast-ssd
statusenumYesStatus Valid ids: 1 (Bound), 2 (Pending), 3 (Available), 4 (Released), 5 (Failed), 6 (Terminating).

Storage Configuration

FieldTypeRequiredNotes
sizenumberYesSize (GB)
accessModemultiselectYesAccess Modes
volumeModeenumVolume Mode Valid ids: 1 (Filesystem), 2 (Block).
reclaimPolicyenumReclaim Policy Valid ids: 1 (Retain), 2 (Delete), 3 (Recycle).

Binding Information

FieldTypeRequiredNotes
volumeNametextBound PV name Read only.
volumeHandletextCSI volume handle Read only.
nodeAffinitytext (multi-line)Node selection constraints
usedBytext (multi-line)Pods using this PVC Read only.

Performance Specifications

FieldTypeRequiredNotes
iopsRequestednumberIOPS Requested
iopsProvisionednumberIOPS Provisioned Read only.
throughputMBnumberThroughput (MB/s)
volumeTypeenumVolume Type Valid ids: 1 (gp2), 2 (gp3), 3 (io1), 4 (io2), 5 (st1), 6 (sc1), 7 (standard), 8 (premium).
encryptionEnabledbooleanEncryption Enabled
encryptionKeytextEncryption Key

Usage Metrics

FieldTypeRequiredNotes
usedSpacenumberUsed Space (GB) Read only.
availableSpacenumberAvailable Space (GB) Read only.
usagePercentgaugeUsage % Read only.
currentIOPSnumberCurrent IOPS Read only.
currentThroughputnumberCurrent Throughput (MB/s) Read only.
lastResizeTimedatetimeLast Resize Read only.

Volume Snapshots

FieldTypeRequiredNotes
snapshotsEnabledbooleanSnapshots Enabled
snapshotClasstextSnapshot Class
snapshotPolicyenumSnapshot Policy Valid ids: 1 (Daily), 2 (Weekly), 3 (Monthly), 4 (On-demand), 5 (Custom).
retentionDaysnumberRetention Days
lastSnapshotTimedatetimeLast Snapshot Read only.
snapshotCountnumberTotal Snapshots Read only.
snapshotstext (multi-line)List of available snapshots Read only.

Backup Configuration

FieldTypeRequiredNotes
backupEnabledbooleanBackup Enabled
backupProviderenumBackup Provider Valid ids: 1 (None), 2 (Velero), 3 (Kasten K10), 4 (AWS Backup), 5 (Azure Backup), 6 (GCP Backup), 7 (Custom).
backupScheduletextCron format
backupRetentionnumberBackup Retention (days)
lastBackupTimedatetimeLast Backup Read only.

Restore Information

FieldTypeRequiredNotes
restoreEnabledbooleanRestore Available Read only.
restorePointsnumberAvailable Restore Points Read only.
lastRestoreTimedatetimeLast Restore Read only.
restoreHistorytext (multi-line)Restore History Read only.

Advanced Settings

FieldTypeRequiredNotes
labelstext (multi-line)Key-value pairs (JSON)
annotationstext (multi-line)Key-value pairs (JSON)
selectortext (multi-line)PV selector (JSON)

CSI Configuration

FieldTypeRequiredNotes
csiDrivertextCSI Driver
csiVolumeAttributestext (multi-line)CSI volume attributes (JSON)
mountOptionstext (multi-line)One option per line
allowVolumeExpansionbooleanAllow Volume Expansion
volumeBindingModeenumVolume Binding Mode Valid ids: 1 (Immediate), 2 (WaitForFirstConsumer).

Storage Cost Analysis

FieldTypeRequiredNotes
estimatedMonthlyCostnumberEst. Monthly Cost Read only.
actualMonthlyCostnumberActual Monthly Cost Read only.
costPerGBnumberCost per GB Read only.
costPerIOPSnumberCost per IOPS Read only.
costCentertextCost Center
projectCodetextProject Code
costAllocationtext (multi-line)Cost breakdown by workload

Storage Metrics

FieldTypeRequiredNotes
readLatencynumberRead Latency (ms) Read only.
writeLatencynumberWrite Latency (ms) Read only.
readThroughputnumberRead Throughput (MB/s) Read only.
writeThroughputnumberWrite Throughput (MB/s) Read only.
queueDepthnumberQueue Depth Read only.
errorRategaugeError Rate % Read only.
availabilitygaugeAvailability % Read only.
lastHealthCheckdatetimeLast Health Check Read only.

Relationships

  • Lookups: namespace points at a K8SNAMESPACE record.
  • Related lists: K8SWORKLOAD.

Creating a K8s Storage via the API

POST /v1/objects
Authorization: Bearer <your-pat>
Content-Type: application/json

{
  "entity":   "K8SSTORAGE",
  "level":    406,
  "comboKey": "SUB:<your-sub-id>|ENT:",
  "name": "Example",
  "namespace": "",
  "status": "1",
  "size": 1
}

Listing K8s Storage records

# All k8s storage in your tenant
GET /v1/entities/K8SSTORAGE/SUB

See also

k8sstoragek8sstorageentity reference

Was this article helpful?

← Back to Knowledge Base