Harbor Job Service goes in restart loop at the end Scan All #22056
Unanswered
rekha-prakash-maersk
asked this question in
Q&A
Replies: 1 comment
-
It is not the scanAll issue, I did some experiments, seems that the scan report contains too many CVEs, and cause the scan report too large to process. can you please check the job service log to find the image, maybe you can find the image, and you can use the trivy command line tool to scan this image and get the report, and check the report size. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I have some ~2 TB of of artifacts where we have a weekly scan scheduled to scan all of the images at weekend midnight. I am noticing that the job service using the cpu&memory resources very less until the end of scan(scan takes ~ 2 hours to complete) but suddenly it needs more memory like ~ 2GB but it enters into restart loop as it starts processing the tasks form beginning again when the pod gets started. to recover from this loop, i have been deploying the jobservice again with more memory for requests like 1 or 2GiB.
I like to understand, what is causing this sudden needs for more resources in job service at the end of scan All. how to tackle this going forward ? I don't want to allocate more resources to jobservice by default as it will be an overallocation.
Resource spec:
Any thoughts or guidance on this will be appreciated!
Beta Was this translation helpful? Give feedback.
All reactions