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

feat: 进程与进程实例支持重启 #1514

Merged

Conversation

SheepSheepChen
Copy link
Collaborator

deployment 的重启参考的 kubelet 官方的做法
pod 重启没有官方的做法,一般重启方式有:

  1. 删除 pod(deployment daemonset ... 下的 pod)
  2. exec pod ,kill 1 (这个实现有点野,不推荐)
  3. 更新 pod 的某个变量,但是会导致这个 pod 和 deployment 副本下的其他 pod 元素不一致,但好处是可以滚动重启

pod重启暂时选用的是第一种方式

@SheepSheepChen SheepSheepChen merged commit 9e70199 into TencentBlueKing:main Aug 12, 2024
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants