1
0
Fork 0
kubernetes/storage
Dustin 9b86a117ef storage: Add manifest for Longhorn
I was originally going to use GlusterFS to provide persistent storage
for pods, but [Heketi][0], the component that provides the API for
the Kubernetes StorageClass, is in "deep maintenance" status and looks
to be practically dead.  I was a bit afraid to try to use it because of
that, and went looking for guidance on Reddit, which is how I discovered
Longhorn.
2022-07-31 00:57:53 -05:00
..
README.md storage: Add manifest for Longhorn 2022-07-31 00:57:53 -05:00
longhorn-ingress.yaml storage: Add manifest for Longhorn 2022-07-31 00:57:53 -05:00
longhorn.yaml storage: Add manifest for Longhorn 2022-07-31 00:57:53 -05:00

README.md

Persistent Storage Using Longhorn

Longhorn is a Kubernetes-native persistent storage system. It is quite complex, but installing it is fairly straightforward.

Installation

This is mostly based on the official Install with Kubectl instructions. I wanted to add node selectors to the user-deployed and system-managed components, to ensure that Longhorn only runs on x86_64 nodes, per the Node Selector instructions.

kubectl apply -f longhorn.yaml

Ingress

Expose the Longhorn UI outside the cluster:

kubectl apply -f longhorn-ingress.yaml