kubernetes 报错汇总

时间:2019-03-15
本文章向大家介绍kubernetes 报错汇总,主要包括kubernetes 报错汇总使用实例、应用技巧、基本知识点总结和需要注意事项,具有一定的参考价值,需要的朋友可以参考一下。

一、 pod的报错:

1. pod的容器无法启动报错:

报错信息:

  Normal   SandboxChanged          4m9s (x12 over 5m18s)  kubelet, k8sn1     Pod sandbox changed, it will be killed and re-created.
  Warning  FailedCreatePodSandBox  18s (x47 over 5m19s)   kubelet, k8sn1     Failed create pod sandbox: rpc error: code = Unknown desc 
= failed to start sandbox container for pod "default-http-backend-6cf4f686c4-nbxjv":
Error response from daemon: OCI runtime create failed: container_linux.go:344:
starting container process caused "process_linux.go:297:
getting the final child's pid from pipe caused \"

 

这种情况一般是属于:pod的运行资源给的不够,造成内存溢出

需要修改资源配给:可以适当增大资源配给

          resources:
            limits:
              cpu: 100m
              memory: 100Mi
            requests:
              cpu: 100m
              memory: 100Mi

  

 

上一页 下一页

原文地址:http://www.manongjc.com/article/73103.html