4 ms·
Kubernetes supports this via PersistentVolumes. Supported types include: GCEPersistentDisk AWSElasticBlockStore AzureFile FC (Fibre Channel) NFS iSCSI RBD (Ce
by tristanz 10y ago
Kubernetes supports this via PersistentVolumes. Supported types include:
GCEPersistentDisk
AWSElasticBlockStore
AzureFile
FC (Fibre Channel)
NFS
iSCSI
RBD (Ceph Block Device)
CephFS
Cinder (OpenStack block storage)
Glusterfs
VsphereVolume
HostPath (single node testing only – local storage is not supported in any way and WILL NOT WORK in a multi-node cluster)
http://kubernetes.io/docs/user-guide/persistent-volumes/ http://kubernetes.io/docs/user-guide/persistent-volumes/
- andrenth 10y agoInteresting, thanks! To be honest I haven't looked too much into Kubernetes so far because of the emphasis in cloud deployment, while my interest is in setting it up in bare metal. This feature might make me give it a try though!
- colemickens 10y agoThere are plenty of people running Kubernetes on bare-metal. There are a number of resources out there for PXE-booting a Kubernetes cluster on bare-metal. Might be time to take a closer look ;).
- andrenth 10y agoYes, but the instructions that I've found to do so are based on installation via shell scripts, which I'm not comfortable with. I'd like to understand it well before running it even in a test setup.
- colemickens 10y agoThe top result for "PXE Boot Kubernetes" is an extremely comprehensive step-by-step guide for it from CoreOS. I didn't see any magic shell scripts. The second top link is Ansible with links the constituent Ansible playbook. If you want insight into how the pieces fit together, the learnings from Kelsey Hightower's Kubernetes the Hard Way will certainly still map to bare-metal environments as well.
- russell_h 10y agoCoreOS has some pretty comprehensive docs on deploying Kubernetes on bare metal: https://coreos.com/kubernetes/docs/latest/kubernetes-on-baremetal.html https://coreos.com/kubernetes/docs/latest/kubernetes-on-bare...