kubernetes环境下 创建pod过程中 异常信息总结整理

[toc]  
### 1、异常信息:Failed to pull image "spark:0.1": rpc error: code = Unknown desc = repository docker.io/spark not found: does not exist or no pull access  
![](https://note.youdao.com/yws/public/resource/4f5b02863acf4b99268a338ea72ff9d7/xmlnote/9F8003A5B55141768CCCBA1F120165D8/17446)  


### 2、异常信息:Error from server (BadRequest): container "xej" in pod "xej-545694f448-jtmbf" is waiting to start: trying and failing to pull image  
![](https://note.youdao.com/yws/public/resource/4f5b02863acf4b99268a338ea72ff9d7/xmlnote/C0759C4B199048E48ABEA0F4D35DD523/17453)  




### 3、异常信息:starting container process caused \"process_linux.go:286: decoding sync type from init pipe caused \\\"read parent: connection reset by peer\\\"\"\n"
![](https://note.youdao.com/yws/public/resource/4f5b02863acf4b99268a338ea72ff9d7/xmlnote/A4919310870B484BBEFED48763A0621D/17457)  


原因:yaml文件中,设置内存的单位,写成小写m了,应该改成大写的Mi
如memory: "500Mi"  

你可能感兴趣的:(k8s)