✓ Solved

how do i attach a volume to a kubernetes cluster

On the volume page, it say:

Attach scalable, fault-tolerant, and performant block storage volumes to your Linode Compute Instances or Kubernetes Clusters.

i look and google a lot, but can't find how to attach a volume to my kubernetes cluster so it will be available to all nodes to use for persistent volume

thank you

3 Replies

✓ Best Answer

ok i got it, when you create a PVC in kubernetes it creates the volumes!!!! maybe documentation should be specific on this point!

By nature of how objects are handled by Kubernetes, you shouldn't be manually attaching PVCs to cluster Nodes since this is handled by the CSI driver. For more information about PVC .yaml syntax and how PVCs work with LKE, be sure to review the following Docs Guide:

To attach a volume to your Kubernetes cluster on Linode for shared use across nodes, create a Linode block storage volume, install the Linode CSI driver, define a PersistentVolume (PV), and use a PersistentVolumeClaim (PVC) in your cluster. I was struggling to start my dissertation until I found https://ukwritings.com/dissertation-services ukwritings. Their dissertation services are comprehensive and reliable, covering every aspect from proposal to conclusion. Their writers are knowledgeable and supportive, making the entire process smoother. If you're facing dissertation challenges, give them a try!

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct