Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

egg在k8s中运行时agent一直被杀掉,单独使用docker没事 #3428

Closed
phper-chen opened this issue Jan 25, 2019 · 7 comments
Closed

Comments

@phper-chen
Copy link

phper-chen commented Jan 25, 2019

  • 问题描述:
    最近开始修改服务架构,打算把项目丢到k8s上去,发现正常可运行的镜像在k8s pod里部署后,会不断重启,看日志显示是agent收到sigkill被杀掉,一直循环
  • 操作系统:阿里云容器服务
  • Node 版本:8.12
  • Egg 版本:2.1
    image

process.json
image

@phper-chen
Copy link
Author

看文件可能比较乱 目前在慢慢转移调整 请大佬赐教agent在k8s中自杀的原因是什么

@popomore
Copy link
Member

先换成 egg-scripts 试试 eggctl start --no-daemon

@egg-bot
Copy link

egg-bot commented Jan 25, 2019

Hello @phper-chen. Please provide a reproducible example following the instruction.

Issues labeled by Need Reproduce will be closed if no activities in 7 days.


@phper-chen,请根据这个说明提供最小可复现代码。

如果在 7 天内没有进展会被自动关闭。

@phper-chen
Copy link
Author

Hello @phper-chen. Please provide a reproducible example following the instruction.

Issues labeled by Need Reproduce will be closed if no activities in 7 days.

@phper-chen,请根据这个说明提供最小可复现代码。

如果在 7 天内没有进展会被自动关闭。

很抱歉,项目有点杂,可能没办法提供最小复现呐

@phper-chen
Copy link
Author

先换成 egg-scripts 试试 eggctl start --no-daemon

嗯 没有配这个

@phper-chen
Copy link
Author

先换成 egg-scripts 试试 eggctl start --no-daemon

没事了 是没过k8s的健康检查 打扰各位了 非常感谢 告辞~😄

@EasonYou
Copy link

@phper-chen 你是关了就可以了吗,还是怎么样。我也是遇到跟你一模一样的问题,但是devops跟我说没有开健康检查

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants