Skip to content
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

Exit codes for terminated pods #82519

Open
ionuthim opened this issue Sep 10, 2019 · 1 comment

Comments

@ionuthim
Copy link

commented Sep 10, 2019

Hello,

Can someone inform what means exit code : 3 ?
Also if somebody know, please explain a little what means every code when the pod is terminated ?
I've searched on internet what means code :3, but without success .

Example :
State: Running
Started: Sun, 08 Sep 2019 21:53:04 +0000
Last State: Terminated
Reason: Error
Exit Code: 3
Started: Sat, 07 Sep 2019 06:28:37 +0000
Finished: Sun, 08 Sep 2019 21:53:03 +0000
Ready: True
Restart Count: 2

Thank you !

@xiaoanyunfei

This comment has been minimized.

Copy link
Contributor

commented Sep 11, 2019

/sig node
The Exit Code is obtained from docker's ExitCode
Normally it will be the exit status of the process
docker run -it centos:7 /bin/sh -c 'exit 3' can reproduce the same exitcode

https://stackoverflow.com/questions/31297616/what-is-the-authoritative-list-of-docker-run-exit-codes

@k8s-ci-robot k8s-ci-robot added sig/node and removed needs-sig labels Sep 11, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants
You can’t perform that action at this time.