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

Helm: split liveness / readiness probe values #10141

Open
1 of 3 tasks
sebglon opened this issue May 7, 2024 · 0 comments
Open
1 of 3 tasks

Helm: split liveness / readiness probe values #10141

sebglon opened this issue May 7, 2024 · 0 comments
Labels

Comments

@sebglon
Copy link

sebglon commented May 7, 2024

Bug description
Pod liveness and readiness use the same helm values that generate too many restart during the startup phase.
And before restarting the pod we need to remove it to the service LB to ends existing queries instead of killing them.

This will help to balance the load on all replicas

Expected behavior
if pod http endpoint is not available disable it on the service LB to prevent routing load on it.
and only restart via liveness later.
for that we need specific config for livenessProbe and readinessProbe instead of the same values.

Deployment method (select with an X)

  • Docker Compose
  • Kubernetes
  • GoDojo

Environment information

  • Operating System: [e.g. Ubuntu 18.04]
  • DefectDojo version (see footer) or commit message: [use git show -s --format="[%ci] %h: %s [%d]"]

Logs
Use docker-compose logs (or similar, depending on your deployment method) to get the logs and add the relevant sections here showing the error occurring (if applicable).

Sample scan files
If applicable, add sample scan files to help reproduce your problem.

Screenshots
If applicable, add screenshots to help explain your problem.

Additional context (optional)
Add any other context about the problem here.

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

No branches or pull requests

1 participant