Skip to content

Not able to run the webapp

Hey Nana, on my setup, I am having problems with running your example webapp. I tried it both with my hand written files and then again, with your cloned repository and run into the same error:

⋊> ~/w/l/k/k/k8s-in-1-hour on master ◦ kubectl get pod
NAME                                 READY   STATUS             RESTARTS     AGE
mongo-deployment-564b4bdfdf-pgghp    1/1     Running            0            13s
webapp-deployment-56dbf5d695-sdxlx   0/1     CrashLoopBackOff   1 (5s ago)   6s
⋊> ~/w/l/k/k/k8s-in-1-hour on master ◦ kubectl logs webapp-deployment-56dbf5d695-sdxlx
standard_init_linux.go:228: exec user process caused: exec format error

I am on MacOS with Docker (CLI, running with Colima, not Docker Desktop).

It does not really matter, I believe that it should be working and still learned a lot from the tutorial already 😄 Thanks a lot for creating this! pibebtol