Skip to content

#1746 Add option in scanner charts to start scan job in suspended mode#1747

Merged
rfelber merged 1 commit into
mainfrom
feature/add-option-to-start-scans-suspended
Jun 2, 2023
Merged

#1746 Add option in scanner charts to start scan job in suspended mode#1747
rfelber merged 1 commit into
mainfrom
feature/add-option-to-start-scans-suspended

Conversation

@J12934
Copy link
Copy Markdown
Member

@J12934 J12934 commented Jun 2, 2023

Description

  • To use Kueue jobs are required to be started in as suspended. Suspended Jobs don't create Pods untill they are unsuspended. This lets Kueue prioritize which jobs to run and doesn't unsuspended jobs when no resources are available.
  • To allow me to start the jobs for the scans in a suspended way we need to add a suspend field to the ScanType.

Signed-off-by: Jannik Hollenbach <jannik.hollenbach@iteratec.com>
@J12934 J12934 added the enhancement New feature or request label Jun 2, 2023
@J12934 J12934 requested a review from rfelber June 2, 2023 15:38
@J12934 J12934 self-assigned this Jun 2, 2023
@J12934 J12934 linked an issue Jun 2, 2023 that may be closed by this pull request
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Jun 2, 2023

MegaLinter status: ⚠️ WARNING

Descriptor Linter Files Fixed Errors Elapsed time
✅ SPELL misspell 25 0 0.07s
⚠️ YAML prettier 25 1 1.08s

See errors details in artifact MegaLinter reports on CI Job page
Set VALIDATE_ALL_CODEBASE: true in mega-linter.yml to validate all sources, not only the diff

@rfelber rfelber merged commit 55ec949 into main Jun 2, 2023
@rfelber rfelber deleted the feature/add-option-to-start-scans-suspended branch June 2, 2023 16:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

Add suspend for JobTemplates to Scanner Helm Charts

2 participants