$ ./guess_the_languageDevOps
DevOps · medium · #257

What does the ReadWriteOnce access mode mean?

kind: PersistentVolumeClaim
spec:
  accessModes: [ReadWriteOnce]
  resources:
    requests: { storage: 10Gi }
  1. It is mounted read-write by a single node
  2. Only one pod in the cluster may ever use it
  3. It can be written once, then is read-only
  4. Every node may read it, one node may write
RWO limits the volume to one node at a time; several pods on that node can still share it. ReadWriteOncePod is the mode that restricts it to a single pod.
Play DevOps ▸