The application hit an OOM (out of memory) condition. With regards to OOM condition handling, review the node's kernel logs to validate whether this occurred. This would require knowing which node the failed container was running on, or proceed with checking all nodes. Run something like this on your node(s) to help you identify whether you've had a container hit an OOM condition:journalctl -k | grep -i -e memory -e oom

Another option would be to inspect the (failed) container:docker inspect

Review the application's memory requirements and ensure that the container it's running in has sufficient memory. Conversely, set a limit on the container's memory to ensure that wherever it runs, it does not consume memory to the detriment of the node.

If the application is Java-based, you may want to review the maximum memory configuration settings.

Logo

K8S/Kubernetes社区为您提供最前沿的新闻资讯和知识内容

更多推荐