Persistent Volume menggunakan Longhorn
Install longhorn
kubectl create ns longhorn-system
kubectl -n longhorn-system apply -f https://raw.githubusercontent.com/longhorn/longhorn/v1.5.3/deploy/prerequisite/longhorn-iscsi-installation.yaml
kubectl -n longhorn-system apply -f https://raw.githubusercontent.com/longhorn/longhorn/v1.5.3/deploy/prerequisite/longhorn-nfs-installation.yaml
kubectl apply -f https://raw.githubusercontent.com/longhorn/longhorn/v1.5.3/deploy/longhorn.yaml
ubah type service longhorn menjadi nodeport
kubectl -n longhorn-system patch svc longhorn-frontend -p '{"spec": {"type": "NodePort"}}'
lihat port dari service tersebut
kubectl -n longhorn-system get svc
Akses ui dari longhorn