DEV Community

Discussion on: Understanding Kubernetes: part 48 – Kubernetes 1.27 Changelog

Collapse
 
julienlau profile image
Julien Laurenceau

ReadWriteOnce -> single NODE access
ReadWriteOncePod -> single POD access

From doc:

How ReadWriteOncePod is different than the ReadWriteOnce access mode?

The ReadWriteOnce access mode restricts volume access to a single node, which means it is possible for multiple pods on the same node to read from and write to the same volume. This could potentially be a major problem for some applications, especially if they require at most one writer for data safety guarantees.

With ReadWriteOncePod these issues go away. Set the access mode on your PVC, and Kubernetes guarantees that only a single pod has access.

Collapse
 
aurelievache profile image
Aurélie Vache

Thanks for the documentation.
So, should I edit something in my sketchnote? ;-)