concept

Access modes and topology

Choose RWO, ROX, RWX or RWOP appropriately and reason about filesystem mode and zonal storage scheduling.

Formal Syntax & Structure

kubernetes syntaxkubernetes
Access modes and topology

Working Example

Example Snippetkubernetes
apiVersion: v1kind: Podmetadata:  name: catalog-reader  namespace: storage-studyspec:  automountServiceAccountToken: false  nodeSelector:    topology.kubernetes.io/zone: study-a  containers:    - name: reader      image: example.invalid/bytemind/catalog:study      resources:        requests:          cpu: 50m          memory: 32Mi        limits:          cpu: 100m          memory: 64Mi      volumeMounts:        - name: data          mountPath: /data          readOnly: true  volumes:    - name: data      persistentVolumeClaim:        claimName: catalog-data        readOnly: true
Kubernetes Reference