Platform & Reference·Last Verified: 2026-07-14

Exit Codes & Error Taxonomy

Understand CLI exit codes and platform stage failure codes.

To enable automation and reliable agent interaction, Kubeletto uses explicit exit code definitions and domain-specific stage errors.

CLI Exit Codes

CodeTaxonomyTrigger
0SuccessFinished successfully.
2Misuse / ValidationInvalid flags or parameters.
3UnauthenticatedExpired session or invalid key.
4ForbiddenInsufficient permissions.
5Not FoundResource does not exist.
7Quota ExceededExceeded allocated limits.
8User Build ErrorCode compile failed.
9Platform ErrorInternal cluster error.
10TimeoutDeploy watch timed out.

Platform Failure Stage Codes

  • IMAGE_NOT_FOUND: Container reference does not exist in registry.
  • UNSUPPORTED_ARCH: Target image is not x86-64 (amd64).
  • GIT_CLONE_FAILED: Cannot fetch files from remote repository.
  • PORT_MISMATCH: Application failed to listen on port $PORT.
  • CONTAINER_CRASH_LOOP: Runtime crashed repeatedly at launch.
  • OOM_KILLED: Exceeded container memory threshold limits.
Was this helpful?