Distributed Services with Go: Service pod fails to start (Ch10)

Hey @travisjeffery,

After following all steps in Ch10, helm install proglog deploy/proglog fails to start the service. Initially, it was failing to execute the image entrypoint (/bin/proglog). Adding RUN chmod +x /go/bin/proglog in Dockerfile’s builder step fixed that. But now it fails with:

$ kubectl logs proglog-0
standard_init_linux.go:228: exec user process caused: exec format error

Any idea what might be causing this?

Thanks,
George

I’ll take a stab…
You’re likely not formatting the exec command properly. Per notes, he had to add some additional \ line breaks to make it fit in the book.

For an example, see the statefulset.yaml in the DeployOnCloud source files.