Persistence Storage with Longhorn Installation
This content is not available in your language yet.
Longhorn Installation
Section titled “Longhorn Installation”-
Connect to Kubernetes Cluster ; i.e w/ Kubeconfig File
Terminal window export KUBECONFIG="$HOME/opstella-installation/kubeconfigs/CHANGEME_cluster.yaml" -
XXXXXXXXXXXXXXXXXXXXXXXXX
Terminal window kubectl create namespace longhorn-systemTerminal window kubectl label namespace/longhorn-system pod-security.kubernetes.io/enforce=privilegedkubectl label namespace/longhorn-system pod-security.kubernetes.io/enforce-version=latest -
XXXXXXXXXXXXXXXXXXXXXXXXX
Terminal window helm repo add longhorn https://charts.longhorn.iohelm repo update -
XXXXXXXXXXXXXXXXXXXXXXXXX
Terminal window helm install longhorn longhorn/longhorn \--namespace longhorn-system --version 1.10.0
Longhorn Testing
Section titled “Longhorn Testing”-
Get Pods Status
Terminal window kubectl get pods -n longhorn-systemGrafana Alloy and all of sub-components should be
RunningNAME READY STATUS RESTARTS AGElonghorn-ui-b7c844b49-w25g5 1/1 Running 0 2m41slonghorn-manager-pzgsp 1/1 Running 0 2m41slonghorn-driver-deployer-6bd59c9f76-lqczw 1/1 Running 0 2m41slonghorn-csi-plugin-mbwqz 2/2 Running 0 100scsi-snapshotter-588457fcdf-22bqp 1/1 Running 0 100scsi-snapshotter-588457fcdf-2wd6g 1/1 Running 0 100scsi-provisioner-869bdc4b79-mzrwf 1/1 Running 0 101scsi-provisioner-869bdc4b79-klgfm 1/1 Running 0 101scsi-resizer-6d8cf5f99f-fd2ck 1/1 Running 0 101scsi-provisioner-869bdc4b79-j46rx 1/1 Running 0 101scsi-snapshotter-588457fcdf-bvjdt 1/1 Running 0 100scsi-resizer-6d8cf5f99f-68cw7 1/1 Running 0 101scsi-attacher-7bf4b7f996-df8v6 1/1 Running 0 101scsi-attacher-7bf4b7f996-g9cwc 1/1 Running 0 101scsi-attacher-7bf4b7f996-8l9sw 1/1 Running 0 101scsi-resizer-6d8cf5f99f-smdjw 1/1 Running 0 101sinstance-manager-b34d5db1fe1e2d52bcfb308be3166cfc 1/1 Running 0 114sengine-image-ei-df38d2e5-cv6nc 1/1 Running 0 114s
Finished?
Use the below navigation to proceed