收藏
回答

为什么部署失败,然后日志里提示unable to access jarfile?

部署的时候报错:[2024-08-19 21:42:20] [Pipeline] }

[2024-08-19 21:42:20] [Pipeline] // stage

[2024-08-19 21:42:20] [Pipeline] }

[2024-08-19 21:42:20] [Pipeline] // node

[2024-08-19 21:42:20] [Pipeline] End of Pipeline

[2024-08-19 21:42:20] Finished: SUCCESS

***

-----------构建blood-sugar-dev-001-----------

2024-08-19 21:40:24 create_build_image : succ,

2024-08-19 21:42:26 check_build_image : succ, ,

-----------服务blood-sugar-dev部署blood-sugar-dev-001-----------

2024-08-19 21:42:27 create_eks_virtual_service : succ,

2024-08-19 21:42:27 check_eks_virtual_service : process, DescribeVersion_user_error_Exec lifecycle hook ([/bin/sh /app/cert/initenv.sh]) for Container "blood-sugar-dev-001" in Pod "blood-sugar-dev-001-7cc77f6d48-bcqhl_sjhkfurb(8b1e578d-22d0-4950-9294-6b8b06a084ab)" failed - error: rpc error: code = Unknown desc = failed to exec in container: failed to create exec "471ee5a50f14bee62311714cfda81925bfdacd9d1ba54c406345ca53fcbe6a15": cannot exec in a stopped state: unknown, message: "",


然后在日志里看到:(dockerfile是照着模板写的,除了javaversion不太一样其他基本一致

回答关注问题邀请回答
收藏
登录 后发表内容
问题标签