-
Notifications
You must be signed in to change notification settings - Fork 229
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RPi: Kubernetes error function stuck in ImageInspectError state #433
Comments
Hi @Gallouche, Is this a copy-paster error or there is an indentation problem in the function code? def handle(req):
return "hello world !" |
Derek add label: support |
Hi ! @ivanayov |
@ivanayov I corrected it ! And add the events logs :) |
Hi @alexellis ! Yes I did the same with GKE and it works fine too... My kubernetes version :
I followed your Gist to deploy every things, with the help of other people in the comment to get it working. Did you still have a working Raspi cluster with K8s and OpenFaas working actually ? Thanks a lot ! |
I've post my question on Stackoverflow, I will keep you update. Thanks ! |
@Gallouche Yes, it was tested 3 weeks ago with K8s 1.10.2 on RPi 3 B+ and python3-armhf functions for a demo. In your case there can be some incompatibility with the image, but it's hard to guess. We'd appreciate if you write back to confirm what's the actual issue. Ivana |
@ivanayov and which docker version ? Cause someone answer me on Stack and told that he saw this error once with a docker/kubernetes versions problem... Yes for sure ! But @ivanayov @alexellis I just noticed that in the pod's description, that say :
Shouldn't be python3-armhf ? Thanks. |
No, in fact I showed above that your image works in my RPi. StackOverflow I'd say is not the correct forum for troubleshooting Kubernetes on ARM - raise an issue with the Kubernetes project or contact them via their Slack. |
Derek close: problem with user's environment |
Hi, I trying to deploy a home made function, but every time I, the pod that run that function goes in ImageInspectError state...
When I deploy a test function like
figlet
, everything work, but when it come to something I write myself, it fails.I think I'm maybe missing something in the functioning because I'm pretty new to K8s and Openfaas.
I'm running OpenFaas with Kubernetes on a 2 nodes Raspberry PI 3B+ cluster.
Expected Behaviour
Pod should run.
Current Behaviour
The
testfaceraspi
doesn't run.Logs from the pod :
Pod describe :
And the event logs :
Steps to Reproduce (for bugs)
faas new testfaceraspi --lang python3-armhf
handler.py
:.yml
faas build -f testfacepi.yml
docker login
faas push -f testfacepi.yml
faas deploy -f testfacepi.yml
Your Environment
faas-cli version
):docker version
):Are you using Docker Swarm (FaaS-swarm ) or Kubernetes (FaaS-netes)?
Using kubernetes.
Operating System and version (e.g. Linux, Windows, MacOS):
Thanks by advance !
The text was updated successfully, but these errors were encountered: