How to create a volume in vSphere

Hi everyone,

I’m noob with Kubernetes, and I need some help.
I have a cluster with 1 master and 2 workers, implemented with vSphere connection.
Now I want to share a volume/hard disk, to store databases out of my rancher cluster.
How should I do?


You will need to provision Persisted Volume. Quoting from a source that some info on it (link). Check to see if this Rancher link helps.

Within a Kubernetes cluster, PersistentVolume (PV) objects provide shared storage for cluster pods that is unaffected by pod lifecycles. Storage is provisioned to the PV through a PersistentVolumeClaim (PVC) object, which defines how much and how the pod accesses the underlying storage. For more information, see Persistent Volumes in the Kubernetes documentation.

Cluster administrators can define StorageClass objects that let cluster users dynamically create PVC and PV objects with different storage types and rules.