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

Limit the number of Jobs #17

Open
vsubram95 opened this issue Apr 20, 2023 · 0 comments
Open

Limit the number of Jobs #17

vsubram95 opened this issue Apr 20, 2023 · 0 comments

Comments

@vsubram95
Copy link

vsubram95 commented Apr 20, 2023

Hi sysdiglabs team,

Currently we are trying to use this harbor adapter of sysdig in our stack. There are couple of questions when implementing this.

  1. We are currently using inline scanning for scanning our images. We are planning to setup our harbor in such a way whenever a image gets pulled through the proxy cache, a scan needs to happened on the image. As a result of this at a certain time even 20-25 images can be pulled through the harbor proxy. This will create 25 jobs(25 pods) for inline scanning. Is it possible for us to increase the queue length and restrict the number of job scans that can happen at a time. Say like putting a hard restriction on the number of jobs it can spin up at one time(say like 10) and anything after that would be put in queue till the job which are being scanned gets completed.
  2. Also would it be possible to introduce a third mode(offline-scan), where we would be able to do offline scan with db being updated something like once a day(or whatever the time period the user wants to update the DB of vulnerabilities)
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

No branches or pull requests

1 participant