Skip to content

Storage

kubestart clusters support persistent storage through standard Kubernetes PersistentVolumeClaims (PVCs).

The total storage and number of PVCs you can create depends on your package:

PackageTotal storageMax PVCs
Small40 GiB4
Medium120 GiB10
Large320 GiB20

The minimum PVC size is 10 GiB. Requests for smaller volumes are rejected.

apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: my-data
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 10Gi # Minimum allowed size

To prevent accidental data loss, PVCs require an explicit annotation before they can be deleted:

metadata:
annotations:
storage.kubestart.io/confirm-delete: "true"

Without this annotation, kubectl delete pvc will be rejected. To delete a PVC:

Terminal window
kubectl annotate pvc my-data storage.kubestart.io/confirm-delete=true
kubectl delete pvc my-data

Storage classes from the underlying infrastructure are available automatically. You do not need to create your own. Use the default storage class unless you have a specific reason to choose another:

Terminal window
kubectl get storageclass