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

fix: 重启 job-backup 导致正在执行的归档任务未无损终止 #3359 #3360

Merged
merged 5 commits into from
Dec 26, 2024

Conversation

wangyu096
Copy link
Collaborator

  1. 修改 Values.podTerminationGracePeriodSeconds 默认值,从 40s -> 60s, 避免pod 关闭被k8s 直接 kill
  2. job-execute 使用固定的 terminationGracePeriodSeconds=120s
  3. 优化日志
  4. 调整终止归档任务等待时间,从 120s调整为 10s
  5. 减少归档任务调度休眠时间,提升调度效率

@@ -1807,4 +1807,4 @@ assembleConfig:
readTimeout: 300000

# pod删除时等待优雅关闭的最大时间,单位为秒(超出后强制删除)
podTerminationGracePeriodSeconds: 40
podTerminationGracePeriodSeconds: 60
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

VALUES_LOG.md文件中需要同步修改。

Copy link
Collaborator

@jsonwan jsonwan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

1个问题需处理。

@wangyu096 wangyu096 merged commit 49729bb into TencentBlueKing:master Dec 26, 2024
4 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.

2 participants