Skip to content
This repository has been archived by the owner on Mar 16, 2024. It is now read-only.

Add CPU/Memory request/limits and PriorityClasses for system components #1811

Merged
merged 1 commit into from
Jun 21, 2023

Conversation

tylerslaton
Copy link
Contributor

This PR ensures that the critical Acorn workloads have the same priority class as critical Kubernetes workloads. In addition, it uses internal usage metrics to determine logical values for their request/limit of memory and CPU.

Checklist

  • The title of this PR would make a good line in Acorn's Release Note's Changelog
  • The title of this PR ends with a link to the main issue being address in parentheses, like: This is a title (#1216). Here's an example
  • All relevant issues are referenced in the PR description. NOTE: don't use GitHub keywords that auto-close issues
  • Commits follow contributing guidance
  • Automated tests added to cover the changes. If tests couldn't be added, an explanation is provided in the Verification and Testing section
  • Changes to user-facing functionality, API, CLI, and upgrade impacts are clearly called out in PR description
  • PR has at least two approvals before merging (or a reasonable exception, like it's just a docs change)

@tylerslaton tylerslaton force-pushed the protect-acorn-components branch 2 times, most recently from 178d9d8 to 4d30452 Compare June 20, 2023 16:48
pkg/system/resources.go Outdated Show resolved Hide resolved
@tylerslaton tylerslaton force-pushed the protect-acorn-components branch 2 times, most recently from 72150ba to 88eec5e Compare June 21, 2023 13:57
Signed-off-by: tylerslaton <mtslaton1@gmail.com>
@tylerslaton tylerslaton merged commit 9d86922 into acorn-io:main Jun 21, 2023
2 checks passed
@tylerslaton tylerslaton deleted the protect-acorn-components branch June 21, 2023 19:03
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants