k8s搭建问题(1)--OOMKilled

kubectl describe pods   ****** --namespace=******

现象

Host Port: 0/TCP
State: Waiting
Reason: CrashLoopBackOff
Last State: Terminated
Reason: OOMKilled

解决

resources:
   limits:
    cpu: 1
    memory: 1024Mi        (扩大了内存,由512--->1024)
原文地址:https://www.cnblogs.com/shuaiandjun/p/9552084.html