相关文章推荐
帅气的火腿肠  ·  Spark ...·  1 月前    · 
悲伤的足球  ·  修改鼠标双击判断时间间隔_鼠标双击时间间隔设 ...·  6 月前    · 
曾经爱过的西装  ·  优化springboot服务启动 - 掘金·  1 年前    · 
发财的蛋挞  ·  GridView批量删除记录、全选及弹出确认 ...·  1 年前    · 
留胡子的番茄  ·  vue项目中监听页面刷新和离开 - 简书·  1 年前    · 
爱运动的青椒  ·  Spring Boot之 ...·  1 年前    · 
Code  ›  Kubernetes因限制内存配置引发的错误开发者社区
kubernetes pod pipe
https://cloud.tencent.com/developer/article/1411527
含蓄的草稿纸
1 年前
作者头像
程序员同行者
0 篇文章

Kubernetes因限制内存配置引发的错误

前往专栏
腾讯云
开发者社区
文档 意见反馈 控制台
首页
学习
活动
专区
工具
TVP
文章/答案/技术大牛
发布
首页
学习
活动
专区
工具
TVP
返回腾讯云官网
社区首页 > 专栏 > 程序员同行者 > Kubernetes因限制内存配置引发的错误

Kubernetes因限制内存配置引发的错误

作者头像
程序员同行者
发布 于 2019-04-09 17:41:02
16.3K 0
发布 于 2019-04-09 17:41:02
举报

今天对一个pod进行内存资源调整后, 一直卡在ContainerCreating的状态, 执行describe命令查看该 Pod 详细信息后发现如下 。

[root@master-01 ~]# kubectl describe pod busybox-deploy-b9b6d4ff9-vwfnq ...Events:Type Reason Age From Message---- ------ ---- ---- -------Normal Scheduled 40s default-scheduler Successfully assigned default/busybox-deploy-b9b6d4ff9-vwfnq to 192.168.209.132Warning FailedCreatePodSandBox 28s (x4 over 37s) kubelet, 192.168.209.132 Failed create pod sandbox: rpc error: code = Unknown desc = failed to start sandbox container for pod "busybox-deploy-b9b6d4ff9-vwfnq": 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 \"read init-p: connection reset by peer\"": unknownWarning FailedCreatePodSandBox 26s (x9 over 38s) kubelet, 192.168.209.132 Failed create pod sandbox: rpc error: code = Unknown desc = failed to start sandbox container for pod "busybox-deploy-b9b6d4ff9-vwfnq": Error response from daemon: OCI runtime create failed: container_linux.go:344: starting container process caused "process_linux.go:293: copying bootstrap data to pipe caused \"write init-p: broken pipe\"": unknownNormal SandboxChanged 26s (x12 over 37s) kubelet, 192.168.209.132 Pod sandbox changed, it will be killed and re-created.

通过查看以上 Event 信息中, 能解读到的信息极其有限 connection reset by peer: 连接被重置。 Pod sandbox changed, it will be killed and re-created: pause 容器引导的 Pod 环境被改变, 重新创建 Pod 中的 pause 引导。 copying bootstrap data to pipe caused "write init-p: broken pipe"": unknown:Google 说的docker和内核不兼容。 参考 https://github.com/docker/for-linux/issues/595

 
推荐文章
帅气的火腿肠  ·  Spark IOException:Connection reset by peer_大数据-CSDN问答
1 月前
悲伤的足球  ·  修改鼠标双击判断时间间隔_鼠标双击时间间隔设置-CSDN博客
6 月前
曾经爱过的西装  ·  优化springboot服务启动 - 掘金
1 年前
发财的蛋挞  ·  GridView批量删除记录、全选及弹出确认对话框(转载)_ITPUB博客
1 年前
留胡子的番茄  ·  vue项目中监听页面刷新和离开 - 简书
1 年前
爱运动的青椒  ·  Spring Boot之 Configuration Annotation Proessor not found in classpath解决方法_51CTO博客_spring boot
1 年前
今天看啥   ·   Py中国   ·   codingpro   ·   小百科   ·   link之家   ·   卧龙AI搜索
删除内容请联系邮箱 2879853325@qq.com
Code - 代码工具平台
© 2024 ~ 沪ICP备11025650号