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

Set resource req in all the desired pods in the wanted namespaces #408

Merged
merged 10 commits into from
Aug 15, 2024

Conversation

ITViking
Copy link
Contributor

What does this PR do?

This PR adjusts the memory requests for the pods: cli, nginx, varnish and redis. This should help kubernetes to better allocate workloads

Should this be tested by the reviewer and how?

This can be run without any concerns. Please do so.

Any specific requests for how the PR should be reviewed?

Test run it and read it through

What are the relevant tickets?

https://reload.atlassian.net/jira/software/c/projects/DDFDRIFT/boards/464?selectedIssue=DDFDRIFT-96

@ITViking ITViking requested review from kasperg and hypesystem July 16, 2024 08:50
@ITViking ITViking self-assigned this Jul 16, 2024
@ITViking ITViking changed the base branch from main to seperate-versions-between-moduletest-and-main July 16, 2024 09:17
@ITViking ITViking changed the base branch from seperate-versions-between-moduletest-and-main to main July 16, 2024 09:20
@ITViking ITViking force-pushed the set-resource-req-in-postrollouttask branch from ff600d2 to fb12e0b Compare July 16, 2024 12:44
@ITViking ITViking requested a review from kasperg July 16, 2024 13:30
@ITViking
Copy link
Contributor Author

@kasperg vil du give denne her et kig mere?

Copy link
Contributor

@kasperg kasperg left a comment

Choose a reason for hiding this comment

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

I have not tried running this in practice.

It seems as if this PR needs to be separated from #403.

@@ -7,6 +7,11 @@ FROM uselagoon/php-8.1-cli-drupal:${LAGOON_IMAGES_RELEASE_TAG}

COPY --from=release /app /app
RUN mkdir -p -v -m775 /app/web/sites/default/files
# install kubectl - we need as long as we cant set the resource request
Copy link
Contributor

Choose a reason for hiding this comment

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

Appreciate you mentioning why this is needed.

@ITViking ITViking force-pushed the set-resource-req-in-postrollouttask branch from 15e4076 to c9b3ce2 Compare August 15, 2024 11:58
@ITViking ITViking merged commit c48327f into main Aug 15, 2024
2 checks passed
@ITViking ITViking deleted the set-resource-req-in-postrollouttask branch August 15, 2024 12:07
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