Skip to main content

Volume Attachment

A VolumeAttachment represents the attachment of a persistent volume to a specific node in a Kubernetes cluster. It ensures that the required storage is properly mounted to the desired node for applications that need persistent data storage. For more detailed information, please refer to the official Kubernetes documentation.

Supported Methods​

  • GET: Get a VolumeAttachment by name
  • LIST: List all VolumeAttachments
  • SEARCH: Search for a VolumeAttachment using the ListOptions JSON format e.g. ("labelSelector": "app=wordpress")

PersistentVolume​

A VolumeAttachment is directly related to a PersistentVolume as it represents the process of attaching that particular volume to a node. The VolumeAttachment contains the necessary details and status of this attachment process.

Node​

A VolumeAttachment is directly associated with a Node, as it specifies which node in the Kubernetes cluster the persistent volume is attached to. The Node contains essential information about where the volume is being consumed.