Tinkerhell
Tinkerhell
IImmich
Created by Tinkerhell on 4/15/2025 in #help-desk-support
Python error on machine learning pod
On k3s running on a pi4 cluster, using Helm (templated). When I try to spin up v1.131.3 the machine learning pod throws the following error:
$ kubectl logs -n immich immich-machine-learning-d74bb5d4-dknhq
...
Input should be a valid integer, unable to parse string as an integer [type=int_parsing, input_value='tcp://10.43.86.160:2283', input_type=str]
$ kubectl logs -n immich immich-machine-learning-d74bb5d4-dknhq
...
Input should be a valid integer, unable to parse string as an integer [type=int_parsing, input_value='tcp://10.43.86.160:2283', input_type=str]
If I manually specify the IMMICH_PORT env variable the error isn't thrown, but the pod never becomes healthy:
$ kubectl get events -n immich
...
4m8s Warning Unhealthy pod/immich-machine-learning-5b8c549767-j4h4f Startup probe failed: Get "http://10.42.4.195:3003/ping": dial tcp 10.42.4.195:3003: connect: connection refused
2m4s Normal SuccessfulCreate replicaset/immich-machine-learning-5b8c549767 Created pod: immich-machine-learning-5b8c549767-2pht5
$ kubectl get events -n immich
...
4m8s Warning Unhealthy pod/immich-machine-learning-5b8c549767-j4h4f Startup probe failed: Get "http://10.42.4.195:3003/ping": dial tcp 10.42.4.195:3003: connect: connection refused
2m4s Normal SuccessfulCreate replicaset/immich-machine-learning-5b8c549767 Created pod: immich-machine-learning-5b8c549767-2pht5
I'll post more info below as i run into the limit here... Any suggestions are greatly appreciated!
19 replies