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 3 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.

Signed-off-by: derek <derek@dunamu.com>
Signed-off-by: derek <derek@dunamu.com>
…, trivy

Signed-off-by: derek <derek@dunamu.com>
@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?

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.

None yet

3 participants