-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
OOM metrics undetected #2848
Comments
This doesn't seem to be a |
I used an example from the kubernetes docs to exceed a container's memory limit, ran it both on While 1/ minikube - oomkilled as expected
2/ kind - the pod is running
|
IIRC we have issues with nested resource limits. @tkrishtop which driver are you using with minikube? VM or docker? it's worth pointing out that kind inherently shares a host kernel between nodes and the host and some other things also cannot possibly be isolated due to that, at least with Linux as it stands today. E.g. inotify limits, time, binfmt_misc, ... |
Bounding node resources also has an existing open tracking issue. There's not a good answer currently |
xref: #877 |
@BenTheElder kvm2, sorry, I forgot to put it, got the logs updated now. |
minikube on driver=podman results in Error/CrashLoopBackOff (not in OOMKilled as minikube on kvm2):
|
what is your container-runtime? I am not understanding why we don't have the same results... I'm probably missing something fundamental... the only way I can repro is with driver kvm2 |
What happened:
I wanted to deliberately create a pod that would go "out of memory" but it seems to run fine.
What you expected to happen:
the pod should switch to status "OOMKilled" right after starting
How to reproduce it (as minimally and precisely as possible):
apply the following deployment:
Anything else we need to know?:
Environment:
kind version: (use
kind version
):kind v0.14.0 go1.18.2 linux/amd64
Kubernetes version: (use
kubectl version
):Client Version: v1.24.3
Kustomize Version: v4.5.4
Server Version: v1.25.0-alpha.0.881+7c127b33dafc53
Docker version: (use
docker info
):$ docker version
Client: Docker Engine - Community
Version: 20.10.17
API version: 1.41
Go version: go1.17.11
Git commit: 100c701
Built: Mon Jun 6 23:03:59 2022
OS/Arch: linux/amd64
Context: default
Experimental: true
Server: Docker Engine - Community
Engine:
Version: 20.10.17
API version: 1.41 (minimum version 1.12)
Go version: go1.17.11
Git commit: a89b842
Built: Mon Jun 6 23:01:39 2022
OS/Arch: linux/amd64
Experimental: false
containerd:
Version: 1.6.6
GitCommit: 10c12954828e7c7c9b6e0ea9b0c02b01407d3ae1
runc:
Version: 1.1.2
GitCommit: v1.1.2-0-ga916309
docker-init:
Version: 0.19.0
GitCommit: de40ad0
/etc/os-release
):cat /etc/redhat-release
Fedora release 36 (Thirty Six)
The text was updated successfully, but these errors were encountered: