apache / apache/doris-operator

[Enhancement] set TerminationGracePeriodSeconds with config value in be.conf

Open
#475 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
138
Forks
72
Avg merge
5d 12h
Merged PRs (30d)
3

Description

### Search before asking

- [x] I had searched in the [issues](https://github.com/apache/doris-operator/issues?q=is%3Aissue) and found no similar issues.

### Description

Pod's `TerminationGracePeriodSeconds` are set by operator for dcr BEs, but absent for ddc compute group BEs.

### Solution

Like what is done for dcr BE statefulset creation, `TerminationGracePeriodSeconds` can be added to CG's statefulset definition with config value `grace_shutdown_wait_seconds` set in be.conf

### Are you willing to submit PR?

- [x] Yes I am willing to submit a PR!

### Code of Conduct

- [x] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.