在OOM之后,我如何检测导致它的pod?

时间:2016-07-08 00:54:50

标签: out-of-memory kubernetes gcloud

我在集群上运行一些pod有一些问题,我想知道在抛出异常后检测哪个pod(和rc)在我的节点上引起OOM的方法。我无法访问节点来检查日志,html, body { height: 100%; } body { background-color: black; color: white; margin: 0; display: flex; flex-direction: column; } .video-player { flex: 1; position: relative; } .iframe { position: absolute; left: 0; top: 0; width: 100%; height: 100%; border: 0; } .bottom-bar { background-color: rgb(51, 51, 51); padding: 5px; }没有给我太多关于此的信息。

谢谢:)

2 个答案:

答案 0 :(得分:1)

您是否尝试运行public DriveComboBox() : base() { if (IsInDesignMode == false) { foreach (ImageComboBoxItem item in allImageComboBoxItems) { this.Items.Add(item); } } } 来监控k8上的事件并使用kubectl get events --watch

监控广告连播

答案 1 :(得分:1)

The only way I found to track what is happening is waiting before an OOM is thrown on the web UI link and tracking the pod's memory used (I had a node with 1.75 GB and a pod that was consuming 1.3GB). I tried to see the memory allocation with kubectl describe node [nodename] but I couldn't.