Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add resource limits to the long running containers #117

Merged
merged 3 commits into from
Dec 16, 2021

Conversation

swills
Copy link
Contributor

@swills swills commented Nov 20, 2021

Prevents accidental resource exhaustion

Signed-off-by: Steve Wills steve@mouf.net

Description

While looking at the issue in #115 I decided to add resource limits to avoid future accidental resource exhaustion. Not strictly required and perhaps the limits themselves can use tweaking, but it seems useful to add a safety.

Why is this needed

See description

Fixes: #

How Has This Been Tested?

In VM

How are existing users impacted? What migration steps/scripts do we need?

Avoids potential issue

Checklist:

I have:

  • [N/A] updated the documentation and/or roadmap (if required)
  • [N/A] added unit or e2e tests
  • [N/A] provided instructions on how to upgrade

Copy link
Contributor

@splaspood splaspood left a comment

Choose a reason for hiding this comment

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

Lint doesn't like the single quotes around the memory and cpu values. Change those to doubles and rebase this branch off main and it should be good to go. Thank you for the contribution!

Prevents accidental resource exhaustion

Signed-off-by: Steve Wills <steve@mouf.net>
Copy link
Member

@jacobweinstock jacobweinstock left a comment

Choose a reason for hiding this comment

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

Thanks for this!

@jeremytanner
Copy link
Member

@splaspood Possible to stop back by for review?

@mmlb mmlb removed the request for review from splaspood December 16, 2021 13:38
@mmlb mmlb dismissed splaspood’s stale review December 16, 2021 13:38

Has been addressed

@mmlb mmlb added the ready-to-merge Signal to Mergify to merge the PR. label Dec 16, 2021
@mergify mergify bot merged commit 9a04338 into tinkerbell:main Dec 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready-to-merge Signal to Mergify to merge the PR.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants