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

Increase appstudio pods quota #993

Merged
merged 1 commit into from
Mar 18, 2024

Conversation

hugares
Copy link
Contributor

@hugares hugares commented Mar 18, 2024

Even though this quota is named for-<some-tenant>-deployments implying that it only affects deployments, this is not the case and it does block the build. This quota cap the number of pods in a namespace, including the completed ones.

Not only the build tasks can no longer start, it looks like this does block some kind of pod cleanup because as soon as I increased the quota, not only builds started but overall number of pods started to go down after slightly increasing over 300.

PipelineRun usually have about 10 tasks or more so 300 pods, not counting deployments, allows maximum 30 PipelineRun which is too low. The pod counts includes the completed ones so since PipelineRun are not deleted right after completion, we need to increase that quota to not end up in this situation all the time.

The final number will need fine tuning but for now increase it to 600 as I experimented on tenant's namespace where the issue was seen and 600 allowed to not get the issue again until now.

KONFLUX-2454

Even though this quota is named for-<some-tenant>-deployments implying
that it only affects deployments, this is not the case and it does block
the build. This quota cap the number of pods in a namespace, including
the completed ones.

Not only the build tasks can no longer start, it looks like this does
block some kind of pod cleanup because as soon as I increased the quota,
not only builds started but overall number of pods started to go down
after slightly increasing over 300.

PipelineRun usually have about 10 tasks or more so 300 pods, not
counting deployments, allows maximum 30 PipelineRun which is too low.
The pod counts includes the completed ones so since PipelineRun are not
deleted right after completion, we need to increase that quota to not
end up in this situation all the time.

The final number will need fine tuning but for now increase it to 600 as
I experimented on tenant's namespace where the issue was seen and 600
allowed to not get the issue again until now.

KONFLUX-2454

Signed-off-by: Hugo Arès <[email protected]>
Copy link

openshift-ci bot commented Mar 18, 2024

Hi @hugares. Thanks for your PR.

I'm waiting for a codeready-toolchain member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

Copy link

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud

hugares added a commit to hugares/toolchain-e2e that referenced this pull request Mar 18, 2024
hugares added a commit to hugares/toolchain-e2e that referenced this pull request Mar 18, 2024
Paired with: codeready-toolchain/host-operator#993

KONFLUX-2454

Signed-off-by: Hugo Arès <[email protected]>
@mfrancisc
Copy link
Contributor

/ok-to-test

Copy link

openshift-ci bot commented Mar 18, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: alexeykazakov, hugares, mfrancisc

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

Copy link

codecov bot commented Mar 18, 2024

Codecov Report

Merging #993 (6f73243) into master (6094dd9) will not change coverage.
The diff coverage is n/a.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #993   +/-   ##
=======================================
  Coverage   84.73%   84.73%           
=======================================
  Files          55       55           
  Lines        5039     5039           
=======================================
  Hits         4270     4270           
  Misses        585      585           
  Partials      184      184           

see 2 files with indirect coverage changes

@alexeykazakov alexeykazakov merged commit 188cb8a into codeready-toolchain:master Mar 18, 2024
10 of 12 checks passed
alexeykazakov pushed a commit to codeready-toolchain/toolchain-e2e that referenced this pull request Mar 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants