Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

By aliasgar
Is there a difference between DO’s block storage and a standard persistent volume in k8s? based on my reading it seems there is. SO for example if I add a PV using the following config:
apiVersion: v1
kind: PersistentVolume # Create PV
metadata:
name: postgres-volume # Sets PV name
labels:
type: local # Sets PV's type
app: postgres
spec:
storageClassName: manual
capacity:
storage: 2Gi # Sets PV's size
accessModes:
- ReadWriteMany
hostPath:
path: "/data/postgresql" # Sets PV's host path
And then proceed to delete the Node then this PV will also be deleted right? But if I was to create the PV using DO’s block storage, would that persist even if node was destroyed?
i.e with:
apiVersion: v1
kind: PersistentVolume # Create PV
metadata:
name: postgres-volume # Sets PV name
labels:
type: local # Sets PV's type
app: postgres
spec:
storageClassName: do-block-storage # DIFF HERE
capacity:
storage: 2Gi # Sets PV's size
accessModes:
- ReadWriteMany
hostPath:
path: "/data/postgresql" # Sets PV's host path
indranil
doug.landau
ralph1
AI-LastWish
newuser23
Brett Bibby
a9124199d01b441190d9a64b3bf57e
nandaf89840b3eb242fe5d0371
MassiveGrayStarfish
Stian Mathisen
Cosmo Mathieu
fmillion