Skip to content

Conversation

nahidhasan94
Copy link
Collaborator

@nahidhasan94 nahidhasan94 commented Jul 22, 2025

Description
This PR add resource limits and request to init container and database migration Job main container as well as in the postgresql statefulset. And resource value can be changed from the values file.

Checks

  • My pull request adheres to the code style of this project
  • My code requires changes to the documentation
  • I have updated the documentation as required
  • All the tests have passed

Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR adds configurable resource limits and requests to Kubernetes containers in the Hoppscotch Enterprise Helm chart, including init containers, migration jobs, and the PostgreSQL database. The changes enable better resource management and prevent resource contention in Kubernetes clusters.

  • Introduces resource configuration for init containers, migration jobs, and PostgreSQL database
  • Makes resource limits and requests configurable through the values.yaml file
  • Updates all relevant template files to use the new resource configurations

Reviewed Changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 2 comments.

File Description
charts/she/values.yaml Adds resource configuration sections for init containers, migration jobs, and PostgreSQL with default values
charts/she/templates/postgresql.yaml Applies resource limits to the PostgreSQL container using values from configuration
charts/she/templates/migration-job.yaml Adds resource limits to both init container and migration job container
charts/she/templates/deployment.yaml Applies resource limits to init containers in the main deployment

@mirarifhasan
Copy link

@nahidhasan94 Don’t we need the same things for SHC chart as well?

Copy link

@mirarifhasan mirarifhasan left a comment

Choose a reason for hiding this comment

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

LGTM

@nahidhasan94 nahidhasan94 merged commit f7f6695 into main Jul 22, 2025
1 check passed
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