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

Allow pods to use 128m extra memory for npm #145

Merged
merged 1 commit into from
Apr 12, 2024
Merged

Conversation

hardillb
Copy link
Contributor

@hardillb hardillb commented Mar 27, 2024

part of FlowFuse/flowfuse#3630

Description

This allows npm/nr-launcher to use up to 128m more than the Stack memory constraint.

Since the nr-launcher set the --max-old-space setting to 75% of the Stack memory this will limit the Node-RED process to not use this extra memory allowance.

As this is set as the k8s resource limits and not the requests it should not impact the number of Instances that can be scheduled on a node.

Related Issue(s)

FlowFuse/flowfuse#3630

Checklist

  • I have read the contribution guidelines
  • Suitable unit/system level tests have been added and they pass
  • Documentation has been updated
    • Upgrade instructions
    • Configuration details
    • Concepts
  • Changes flowforge.yml?
    • Issue/PR raised on FlowFuse/helm to update ConfigMap Template
    • Issue/PR raised on FlowFuse/CloudProject to update values for Staging/Production

Labels

  • Backport needed? -> add the backport label
  • Includes a DB migration? -> add the area:migration label

@knolleary knolleary merged commit decf365 into main Apr 12, 2024
3 checks passed
@knolleary knolleary deleted the change-memory-limits branch April 12, 2024 12:22
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.

2 participants