kind: PersistentVolumeClaim
apiVersion: v1
metadata:
name: gpv-1
spec:
storageClassName: glusterfs-csi
accessModes:
- ReadWriteMany
resources:
requests:
storage: 1Gi
kubectl create -f pvc-gpv-1.yaml
Individual Gluster volumes for each request.
kind: PersistentVolumeClaim
apiVersion: v1
metadata:
name: gpv-2
spec:
storageClassName: glustervirtblock-csi
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 1Gi
kubectl create -f pvc-gpv-2.yaml
Light weight volumes for RWO use case
kind: PersistentVolumeClaim
apiVersion: v1
metadata:
name: gpv-3
spec:
storageClassName:>
glusterfs-csi-thin-arbiter
accessModes:
- ReadWriteMany
resources:
requests:
storage: 5Gi
kubectl create -f pvc-gpv-3.yaml
Power of high availability with only two data centers.
GCS brings the latest bits from different Gluster projects, including GlusterFS as storage. As a highlight, it uses GlusterD2, gluster’s new management layer, which is written with more flexibility and scale in mind.
This greatly enhances the Scale of the volumes one can squeeze from Gluster Storage. Feel the difference with the new lean stack.
namespace: gcs
cluster-size: 3
nodes:
- address: kube1
devices: ["/dev/vdc"]
- address: kube2
devices: ["/dev/vdc"]
- address: kube3
devices: ["/dev/vdc"]
kubectl gluster deploy ./mycluster.yml
Easy to install on an already running kubernetes cluster.
Metrics are exported from each of the Gluster server pods, point your Prometheus server to pull metrics.