Access Modes in Azure Kubernetes Service (AKS)
Access Modes in Azure Kubernetes Service (AKS) AKS supports four types of access modes: ReadWriteOnce (RWO) ReadWriteMany (RWX) ReadOnlyMany (ROX) ReadWriteOncePod (RWOP) (Kubernetes 1.21 and later) 1. ReadWriteOnce (RWO) A volume with ReadWriteOnce access mode can be mounted as read-write by only one node at a time. Use Case: This is often used for storage directly attached to a single node, such as an Azure Managed Disk or AWS EBS volume , which can only be attached to a single VM (node) at a time. Example: Suppose you have a volume with ReadWriteOnce access mode and you attach it to node1 in an AKS cluster: Pod on Node 1: You can mount this volume in one or more pods running on node1 . These pods can read from and write to the volume as needed. Pod on Node 2: If a pod on node2 tries to mount the same volume, it won’t be able to, as it’s already in use on node1 . Use Case Example For instance, a logging application runni...