spiderunderurbed@raspberrypi:~/k8s $ kubectl get pods -n longhorn-system
NAME READY STATUS RESTARTS AGE
longhorn-driver-deployer-546d9dd77d-dn9mj 0/1 Init:0/1 0 16m
longhorn-driver-deployer-5bc475f7b8-8gtcn 0/1 Init:0/1 0 16m
longhorn-manager-5lgxh 1/2 CrashLoopBackOff 7 (4m30s ago) 15m
longhorn-manager-5msj4 1/2 CrashLoopBackOff 7 (4m59s ago) 15m
longhorn-ui-6d88bfdc66-2jjpk 1/1 Running 0 16m
longhorn-ui-6d88bfdc66-jf6xj 0/1 CrashLoopBackOff 7 (2m13s ago) 16m
spiderunderurbed@raspberrypi:~/k8s $ kubectl logs -n longhorn-system longhorn-manager-5lgxh
Defaulted container "longhorn-manager" out of: longhorn-manager, pre-pull-share-manager-image
Error from server: Get "https://192.168.68.38:10250/containerLogs/longhorn-system/longhorn-manager-5lgxh/longhorn-manager": proxy error from 127.0.0.1:6443 while dialing 192.168.68.38:10250, code 502: 502 Bad Gateway
spiderunderurbed@raspberrypi:~/k8s $ nc -zv 192.168.68.38 10250
Connection to 192.168.68.38 10250 port [tcp/*] succeeded!
Why am i getting these issues with longhorn
and how to fix? netcat shows that it can successfully connect to the port, contradictory to the error, this is on a node that is apart of my cluster, after following the docs i applied the default longhorn config, and the storage class yaml so my pv and pvc’s for jellyfin, and only jellyfin can be managed by longhorn as it needs to run pv’s and pvc’s from a mix of nodes, something i heard longhorn supports, my node is a vm in proxmox, that gets its own static ip within my network which is pingable and i can see into it using its static ip as well as do anything else, I opened the firewall ports for 10250 and 6443 in order to attempt to fix this issue. I do not know how to otherwise debug and fix this issue.
Nixos config for extranuc:
This is only for the node that errors, my main node/raspberrypi is fine