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

[feature request] JobSidecarTerminator support exec sidecar preStop bash #1486

Closed
zmberg opened this issue Jan 11, 2024 · 1 comment · May be fixed by #1506
Closed

[feature request] JobSidecarTerminator support exec sidecar preStop bash #1486

zmberg opened this issue Jan 11, 2024 · 1 comment · May be fixed by #1506
Assignees

Comments

@zmberg
Copy link
Member

zmberg commented Jan 11, 2024

What would you like to be added:
job sidecar terminator can watch and terminate sidecar containers for such job-type Pods when its main containers completed.

But, currently jobsidecarterminator does not execute the sidecar preStop bash.

Expectly, jobsidecarterminator also can execute sidecar container preStop bash. The relevant code https://github.com/openkruise/kruise/blob/master/pkg/controller/sidecarterminator/kill_container_action.go#L52

@huangchenzhao
Copy link

hello, I am new to kruise, and I want to try this issue :)

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

Successfully merging a pull request may close this issue.

3 participants