Skip to content

Commit

Permalink
Add count/job.batch quota of 150 to organization-objects resource…
Browse files Browse the repository at this point in the history
…quota

We've observed that large amounts of completed jobs (and associated
pods) can cause increased resource consumption in control plane
components (e.g. apiserver memory usage). We've also observed noticeable
`kubectl` lag for operations like `kubectl get pods -A`.
  • Loading branch information
simu committed Dec 1, 2022
1 parent ddddecd commit 5c31830
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions class/defaults.yml
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@ parameters:
spec:
hard:
count/configmaps: "150"
count/jobs.batch: "150"
count/secrets: "150"
count/services: "20"
count/services.loadbalancers: "0"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,8 @@ spec:
|| ''25Gi'' }}'
count/configmaps: '{{ request.object.metadata.annotations."resourcequota.appuio.io/organization-objects.count_configmaps"
|| ''150'' }}'
count/jobs.batch: '{{ request.object.metadata.annotations."resourcequota.appuio.io/organization-objects.count_jobs.batch"
|| ''150'' }}'
count/replicationcontrollers: '{{ request.object.metadata.annotations."resourcequota.appuio.io/organization-objects.count_replicationcontrollers"
|| ''100'' }}'
count/secrets: '{{ request.object.metadata.annotations."resourcequota.appuio.io/organization-objects.count_secrets"
Expand Down

0 comments on commit 5c31830

Please sign in to comment.