Skip to content

Commit

Permalink
RHINENG-8919: set floorist job resources
Browse files Browse the repository at this point in the history
  • Loading branch information
psegedy committed Mar 19, 2024
1 parent 4453d5d commit 6a31f17
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions deploy/clowdapp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -530,6 +530,13 @@ objects:
secretName: ${FLOORIST_BUCKET_SECRET_NAME}
suspend: ${{FLOORIST_SUSPEND}}
logLevel: ${FLOORIST_LOGLEVEL}
resources:
limits:
cpu: ${{RES_LIMIT_CPU_FLOORIST}}
memory: ${{RES_LIMIT_MEM_FLOORIST}}
requests:
cpu: ${{RES_REQUEST_CPU_FLOORIST}}
memory: ${{RES_REQUEST_MEM_FLOORIST}}
queries:
- prefix: insights/patch/advisories
chunksize: ${{FLOORIST_CHUNKSIZE}}
Expand Down Expand Up @@ -769,3 +776,7 @@ parameters:
- {name: FLOORIST_DB_SECRET_NAME, value: patchman-db} # DB secret name
- {name: FLOORIST_LOGLEVEL, value: INFO} # Floorist loglevel config
- {name: FLOORIST_CHUNKSIZE, value: '1000000'}
- {name: RES_REQUEST_CPU_FLOORIST, value: 250m}
- {name: RES_REQUEST_MEM_FLOORIST, value: 1Gi}
- {name: RES_LIMIT_CPU_FLOORIST, value: 500m}
- {name: RES_LIMIT_MEM_FLOORIST, value: 2Gi}

0 comments on commit 6a31f17

Please sign in to comment.