...
A script has been written to help you gather enough information about the factors (note jq maybe required to be installed locally prior to running env check script). To run script
| Code Block |
|---|
| language | bash |
|---|
| title | Check Script |
|---|
| collapse | true |
|---|
|
$ curl -sSfL https://raw.githubusercontent.com/longhorn/longhorn/v1.12.23/scripts/environment_check.sh | bash
daemonset.apps/longhorn-environment-check created
waiting for pods to become ready (0/3)
all pods ready (3/3)
MountPropagation is enabled!
cleaning up...
daemonset.apps "longhorn-environment-check" deleted
clean up complete |
...
| Code Block |
|---|
| language | bash |
|---|
| title | Install LH |
|---|
|
$ kubectl create namespace longhorn-system
$ helm install longhorn longhorn/longhorn --namespace longhorn-system |
...
| Code Block |
|---|
| language | bash |
|---|
| title | Verify installation |
|---|
| collapse | true |
|---|
|
$ kubectl -n longhorn-system get pod
NAME READY STATUS RESTARTS AGE
compatible-csi-attacher-d9fb48bcf5f46994f7-2rzmb4t8dn 1/1 Running 1/1 Running 0 8m58s82s
csi-attacher-78bf9b98985f46994f7-grn2cl6gjl 1/1 Running 0 32s81s
csi-attacher-78bf9b98985f46994f7-lfzvqtkz4p 1/1 Running 0 81s
csi-provisioner-6ccbfbf86f-78gvc 0 1/1 8m59s
csi-attacher-78bf9b9898-r64svRunning 0 81s
csi-provisioner-6ccbfbf86f-psrt2 1/1 Running 1/1 Running 0 33s81s
csi-provisioner-8599d5bf976ccbfbf86f-c8r79zccxt 1/1 Running 0 81s
csi-resizer-6dd8bd4c97-462sd 1/1 Running 0 33s81s
csi-provisionerresizer-8599d5bf97-fc5pz6dd8bd4c97-jls9w 1/1 Running 0 81s
csi-resizer-6dd8bd4c97-kn5bb 1/1 Running 0 33s81s
csi-provisionersnapshotter-8599d5bf9786f65d8bc-p9psl2968g 1/1 Running 0 81s
csi-snapshotter-86f65d8bc-8ptsr 1/1 Running 0 8m59s81s
csi-resizersnapshotter-586665f74586f65d8bc-b7p6h vgrr4 1/1 Running 0 81s
engine-image-ei-fa2dfbf0-fd4kj 1/1 Running 0 8m59s109s
csiengine-image-resizerei-586665f745fa2dfbf0-kgdxshcv8p 1/1 Running 0 109s
engine-image-ei-fa2dfbf0-q7qdt 1/1 Running 0 33s109s
csiinstance-resizermanager-586665f745e-vsvvq23cd97d9 1/1 Running 0 109s
instance-manager-e-275b5e10 0 1/1 Running 0 33s
engine-image-ei-e10d6bf5-pv2s6 100s
instance-manager-e-fdd447fd 1/1 Running 1/1 Running 0 9m30s105s
instance-manager-er-379373af17584df4 1/1 Running 0 109s
instance-manager-r-2a170a69 1/1 Running 0 8m41s100s
instance-manager-r-101f13ba544a80b6 1/1 Running 0 104s
longhorn-csi-plugin-5qmqv 2/2 Running 0 8m40s80s
longhorn-csi-plugin-7v2dchqpcm 42/42 Running 0 80s
longhorn-csi-plugin-sb5nf 2/2 Running 0 8m59s80s
longhorn-driver-deployer-775897bdf66db849975f-k4sfdcjjnj 1/1 Running 0 2m15s
longhorn-manager-4k7p7 0 1/1 Running 1 10m2m15s
longhorn-manager-79xgjpvd2b 1/1 Running 0 02m15s
longhorn-manager-rh99r 9m50s
longhorn-ui-9fbb5445-httqf 1/1 Running 0/11 2m15s
longhorn-ui-6f547c964-7vbl4 Running 1/1 Running 0 33s2m15s |