✓ 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:

Thanks for answering as well.

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