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 default resource limits to kubernetes for django and nextjs #145

Open
nvernooy opened this issue Oct 31, 2023 · 0 comments
Open

Add default resource limits to kubernetes for django and nextjs #145

nvernooy opened this issue Oct 31, 2023 · 0 comments
Assignees
Labels

Comments

@nvernooy
Copy link
Contributor

nvernooy commented Oct 31, 2023

AC:

  • Prevent the node running out of resources by adding default limits to deployments (default values that should be reviewed per project)

Set the following default resource limits for Django:

          resources:
            requests:
              cpu: "200m"
              memory: "300Mi"
            limits:
              cpu: "250m"
              memory: "400Mi"

And for NextJS:

          resources:
            requests:
              cpu: "100m"
              memory: "200Mi"
            limits:
              cpu: "250m"
              memory: "300Mi"

Add a note to the docs to indicate that resource limits should be carefully set by observing real workloads in a staging or production environment.

@clshaw01 clshaw01 changed the title Add default resource limits to kubernetes Add default resource limits to kubernetes for django and nextjs Jan 27, 2025
@rehan892 rehan892 self-assigned this Mar 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants