Skip to content

pods getting terminated with Exit Code: 137 and Reason: Error  #122256

Closed
@echibas

Description

What happened?

When installs our pods, containers in the pods are found one time reboot:

wk64c
State: Running
Started: Mon, 13 Nov 2023 03:50:57 +0100
Last State: Terminated
Reason: Error
Exit Code: 137
Started: Mon, 13 Nov 2023 03:48:52 +0100
Finished: Mon, 13 Nov 2023 03:50:55 +0100
Ready: True
Restart Count: 1

Could you help explain why K8S let the container exit with exit code 137?
Normally the issue only happened during the first time installation, the second time installation works well.

We are trying to understand how thie 137 error code with reason Error is different than with reason:OOMKilled

What did you expect to happen?

Application pods should never get restarted when we have sufficient mem/cpu resources.

How can we reproduce it (as minimally and precisely as possible)?

Application pods should never get restarted when we have sufficient mem/cpu resources.

Anything else we need to know?

No response

Kubernetes version

k8s version is 1.27.1

$ kubectl version
# paste output here

Cloud provider

openstack

OS version

:> cat /etc/os-release
NAME="SLES"
VERSION="15-SP4"
VERSION_ID="15.4"
PRETTY_NAME="SUSE Linux Enterprise Server 15 SP4"
ID="sles"
ID_LIKE="suse"
ANSI_COLOR="0;32"
CPE_NAME="cpe:/o:suse:sles:15:sp4"
DOCUMENTATION_URL="https://documentation.suse.com/"
:
> uname -a
#1 SMP PREEMPT_DYNAMIC Tue May 2 15:49:04 UTC 2023 (fd0cc4f) x86_64 x86_64 x86_64 GNU/Linux

Install tools

Container runtime (CRI) and version (if applicable)

Related plugins (CNI, CSI, ...) and versions (if applicable)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/supportCategorizes issue or PR as a support question.needs-triageIndicates an issue or PR lacks a `triage/foo` label and requires one.sig/nodeCategorizes an issue or PR as relevant to SIG Node.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions