Skip to content

Conversation

ikreymer
Copy link
Member

The intent here is to follow a set of best practices and set mem requests == mem limits, and also only set cpu requests (see: #895 for more details).

The PR adds the following:

  • for cpu, only set cpu requests
  • for memory, set mem requests == mem limits
  • add missing resource constraints for minio and scheduled job
  • for crawler, set mem and cpu constraints per browser, scale based on browser instances per crawler

Also removes some unused settings from configmap

Copy link
Member

@tw4l tw4l left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Left one inline comment.

Copy link
Contributor

@Chickensoupwithrice Chickensoupwithrice left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

ikreymer added 2 commits July 31, 2023 18:03
- for cpu, only set cpu requests
- for memory, set mem requests == mem limits
- add missing resource constraints for minio and scheduled job
- for crawler, set mem and cpu constraints per browser, scale based on browser instances per crawler
bump to 650 millicpu units just in case
@ikreymer ikreymer force-pushed the resource-limits-cleanup branch from d156cf7 to ab363ab Compare August 1, 2023 01:04
@ikreymer ikreymer merged commit 7ea6d76 into main Aug 1, 2023
@ikreymer ikreymer deleted the resource-limits-cleanup branch August 1, 2023 07:11
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

Successfully merging this pull request may close these issues.

3 participants