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

Add lifecycle to core dpl #1739

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

derekcha
Copy link

Hello,
I'm using Harbor so well, and I'm glad I was able to raise a PR like this.

What improvements does these changes make?
A 504 or EOF error occurred when rolling while using Harbor.
It looks like the pods aren't being cleaned up properly on shutdown (possibly because there is a port after AWS LB).
So I tested randomly setting the prestop(sleep 60) lifecycle for containers in Harbor Core and no errors occurred.
So, I am uploading a PR so that lifecycle settings can be done through this chart.

I will write down the link to the issue I registered below.
#1722

@derekcha
Copy link
Author

@MinerYang @zyyw
Can you review it?

@zyyw
Copy link
Collaborator

zyyw commented Apr 12, 2024

Hi @derekcha , thanks for contributing to harbor-helm. Could you please help to resolve the DCO failure as suggested here:

zyyw
zyyw previously approved these changes Apr 12, 2024
Copy link
Member

@Vad1mo Vad1mo left a comment

Choose a reason for hiding this comment

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

for consistancy reasons, It would make sense to support lifecycle on all pods not just the core.

@derekcha derekcha force-pushed the add-lifecycle-setting branch from 2858fb3 to 59f9955 Compare April 18, 2024 05:39
@derekcha derekcha force-pushed the add-lifecycle-setting branch from 4ab04f8 to d0cee30 Compare April 18, 2024 05:46
@derekcha
Copy link
Author

@zyyw I ran it according to the link instructions and saw the message below, so it was resolved, right?
All commits are signed off!

@Vad1mo
In addition to the core, lifecycle was added to other deployments and sts.

@zyyw zyyw dismissed their stale review April 18, 2024 09:05

holding for discussion

@derekcha
Copy link
Author

derekcha commented May 2, 2024

@zyyw Are you still discussing this PR?

@kimxogus
Copy link
Contributor

I want this feature too. This PR doesn't look adding default lifecycles to existing workloads, just provide a way to configure it.
@zyyw Is there any concerns or point to discuss about in this PR?

Copy link

This PR is being marked stale due to a period of inactivty. If this PR is still relevant, please comment or remove the stale label. Otherwise, this PR will close in 30 days.

@github-actions github-actions bot added the Stale label Aug 17, 2024
@derekcha
Copy link
Author

@zyyw @Vad1mo
hello
Can't this PR be merged?

@github-actions github-actions bot removed the Stale label Aug 20, 2024
@derekcha derekcha requested review from Vad1mo and zyyw August 21, 2024 05:07
@kimxogus
Copy link
Contributor

kimxogus commented Sep 2, 2024

@Vad1mo @zyyw Can anyone review this?

Copy link

github-actions bot commented Nov 1, 2024

This PR is being marked stale due to a period of inactivty. If this PR is still relevant, please comment or remove the stale label. Otherwise, this PR will close in 30 days.

@github-actions github-actions bot added the Stale label Nov 1, 2024
@Vad1mo Vad1mo removed the Stale label Nov 1, 2024
@kimxogus
Copy link
Contributor

kimxogus commented Nov 1, 2024

@Vad1mo @zyyw This PR has been holding for 7 months for discussion. Is there any issue we need to consider adding lifecycle to pods for 7 months...??? I don't know what kind of discussion is needed for this change. It just looks simple to me.
I'm having 5xx response issues for months and I believe adding lifecycles to pods could help resolving this issue to me.
Please consider reviewing and merging this PR.

@Vad1mo
Copy link
Member

Vad1mo commented Nov 1, 2024

I believe adding lifecycles

What does that mean? you are not sure that it works yet?

@kimxogus
Copy link
Contributor

kimxogus commented Nov 4, 2024

@Vad1mo I'm using AWS ALB and I need to make pods to serve requests before connections to be drained and new pods ALB health checks to be 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.

4 participants