Difference between revisions of "Longhorn by Rancher"

From UVOO Tech Wiki
Jump to navigation Jump to search
Line 17: Line 17:
  
 
# Troubleshooting
 
# Troubleshooting
 +
 +
## 1
 
```
 
```
 
kubectl get pods -n longhorn-system | grep longhorn-driver-deployer
 
kubectl get pods -n longhorn-system | grep longhorn-driver-deployer
Line 22: Line 24:
 
# This will be Error or CrashLoopBackOff
 
# This will be Error or CrashLoopBackOff
 
```
 
```
 +
 +
https://github.com/longhorn/longhorn/issues/1861
 
```
 
```
 
helm install longhorn longhorn/longhorn --namespace longhorn-system --set kubelet-root-dir=/var/lib/kubelet
 
helm install longhorn longhorn/longhorn --namespace longhorn-system --set kubelet-root-dir=/var/lib/kubelet
Line 28: Line 32:
 
```
 
```
 
- https://longhorn.io/docs/0.8.0/users-guide/distribution-specific-notes/csi-on-rke-and-coreos/
 
- https://longhorn.io/docs/0.8.0/users-guide/distribution-specific-notes/csi-on-rke-and-coreos/
 +
 +
```
 +
longhorn-csi-plugin-bkmnz                  0/2    ContainerCreating  0          3m14s
 +
```

Revision as of 22:45, 26 June 2021

https://longhorn.io/docs/1.1.1/references/examples/

https://longhorn.io/docs/1.0.0/concepts/

https://longhorn.io/docs/1.0.0/deploy/install/install-with-helm/

https://youtu.be/Ho4zEF8pzvE

https://youtu.be/zJY2uxLtwUk

https://medium.com/volterra-io/kubernetes-storage-performance-comparison-v2-2020-updated-1c0b69f0dcf4

https://longhorn.io/docs/1.1.1/references/longhorn-client-python/

Troubleshooting

1

kubectl get pods -n longhorn-system | grep longhorn-driver-deployer
longhorn-driver-deployer-5d45dcdc5d-w48c4   0/1     CrashLoopBackOff   6          10m
# This will be Error or CrashLoopBackOff

https://github.com/longhorn/longhorn/issues/1861

helm install longhorn longhorn/longhorn --namespace longhorn-system --set kubelet-root-dir=/var/lib/kubelet
curl https://raw.githubusercontent.com/longhorn/longhorn/master/deploy/longhorn.yaml | sed -e 's/#- name: KUBELET_ROOT_DIR/- name: KUBELET_ROOT_DIR/g' -e 's$#  value: /var/lib/rancher/k3s/agent/kubelet$  value: /var/lib/kubelet$g' | kubectl apply -f -

longhorn-csi-plugin-bkmnz                   0/2     ContainerCreating   0          3m14s