2022-12-10 13:49:53 create_build_image : succ,
2022-12-10 13:54:37 check_build_image : succ, ,
2022-12-10 13:54:38 check_eks_virtual_service : process, DescribeVersion_user_error_Exec lifecycle hook ([/bin/sh /app/cert/initenv.sh]) for Container "golang-tzdl-054" in Pod "golang-tzdl-054-56c75cc5c4-sjzfj_kebiulah(a8c1d3c1-9945-4377-8296-ada7b8c8648f)" failed - error: rpc error: code = Unknown desc = failed to exec in container: failed to start exec "c5b2f112472cf1e0c6b605962d067851951b46d4f858afe4b2e6d0e6d15bd977": OCI runtime exec failed: exec failed: container_linux.go:370: starting container process caused: process_linux.go:103: executing setns process caused: exit status 1: unknown, message: "", [service]:[Exec lifecycle hook ([/bin/sh /app/cert/initenv.sh]) for Container "golang-tzdl-054" in Pod "golang-tzdl-054-56c75cc5c4-sjzfj_kebiulah(a8c1d3c1-9945-4377-8296-ada7b8c8648f)" failed - error: rpc error: code = Unknown desc = failed to exec in container: failed to start exec "dc06934fd7e887012b092963a3c43f608893b697e78606f7c2e6036da59f2d2e": OCI runtime exec failed: exec failed: container_linux.go:370: starting container process caused: process_linux.go:103: executing setns process caused: exit status 1: unknown, message: "",Exec lifecycle hook ([/bin/sh /app/cert/initenv.sh]) for Container "golang-tzdl-054" in Pod "golang-tzdl-054-56c75cc5c4-sjzfj_kebiulah(a8c1d3c1-9945-4377-8296-ada7b8c8648f)" failed - error: command '/bin/sh /app/cert/initenv.sh' exited with 137: , message: "",Back-off restarting failed container,Exec lifecycle hook ([/bin/sh /app/cert/initenv.sh]) for Container "golang-tzdl-054" in Pod "golang-tzdl-054-56c75cc5c4-sjzfj_kebiulah(a8c1d3c1-9945-4377-8296-ada7b8c8648f)" failed - error: rpc error: code = Unknown desc = failed to exec in container: failed to start exec "c5b2f112472cf1e0c6b605962d067851951b46d4f858afe4b2e6d0e6d15bd977": OCI runtime exec failed: exec failed: container_linux.go:370: starting container process caused: process_linux.go:103: executing setns process caused: exit status 1: unknown, message: "",]
2022-12-10 13:54:38 create_eks_virtual_service : succ,
问题解决了,原来部署后即使不成功也可以查看运行日志,我这个是因为数据库链接我走了本地的.env文件(没传到线上)引发程序直接访问了127.0.0.1:3306 ,导致整个程序宕机