在将新部署部署到我们的GKE集群时,已创建Pod,但由于以下错误而失败:
Failed create pod sandbox: rpc error: code = Unknown desc = failed to create containerd task: OCI runtime create failed: container_linux.go:346: starting container process caused "process_linux.go:319: getting the final child's pid from pipe caused \"read init-p: connection reset by peer\"": unknown
群集根本没有加载,并且有足够的可用磁盘,内存和CPU。
荚/集群日志中未发现其他问题。
如果遇到类似的问题,请检查您的资源部分,并验证它是否具有正确的语法,可以在这里找到:https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/
就我而言,问题出在内存值中:
工作示例(注意Mi):
resources:
limits:
cpu: 500m
memory: 256Mi
requests:
cpu: 5m
memory: 256Mi
无效的示例:
resources:
limits:
cpu: 500m
memory: 256m
requests:
cpu: 5m
memory: 256m
我希望以后能对其他社区成员有所帮助,因为我花了很多时间才能找到...