Skip to content

Commit

Permalink
lower cpu requests
Browse files Browse the repository at this point in the history
  • Loading branch information
aboguszewski-sumo committed Jan 19, 2023
1 parent c7c4d11 commit 03bbd30
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion deploy/helm/sumologic/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -559,7 +559,7 @@ The following table lists the configurable parameters of the Sumo Logic chart an
| `pvc-cleaner.job.image.repository` | Image repository for pvc-cleaner docker containers. | `public.ecr.aws/sumologic/kubernetes-tools` |
| `pvc-cleaner.job.image.tag` | Image tag for pvc-cleaner docker containers. | `2.15.0` |
| `pvc-cleaner.job.image.pullPolicy` | Image pullPolicy for pvc-cleaner docker containers. | `IfNotPresent` |
| `pvc-cleaner.job.resources` | Resource requests and limits for the pvc-cleaner containers. | `{"limits": {"memory": "256Mi", "cpu": "2000m"}, "requests": {"memory": "64Mi", "cpu": "200m"}}` |
| `pvc-cleaner.job.resources` | Resource requests and limits for the pvc-cleaner containers. | `{"limits": {"memory": "256Mi", "cpu": "2000m"}, "requests": {"memory": "64Mi", "cpu": "100m"}}` |
| `pvc-cleaner.job.nodeSelector` | Node selector for pvc-cleaner job. [See docs/best-practices.md for more information.](/docs/best-practices.md) | `{}` |
| `pvc-cleaner.job.tolerations` | Add tolerations for the pvc-cleaner job. | `[]` |
| `pvc-cleaner.job.affinity` | Add affinity and anti-affinity for the pvc-cleaner job. | `{}` |
Expand Down
2 changes: 1 addition & 1 deletion deploy/helm/sumologic/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4522,7 +4522,7 @@ pvc-cleaner:
cpu: 2000m
requests:
memory: 64Mi
cpu: 200m
cpu: 100m

nodeSelector: {}
## Add custom labels
Expand Down
7 changes: 7 additions & 0 deletions tests/integration/values/values_helm_pvc_cleaner.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,13 @@ metadata:
pvc-cleaner:
job:
schedule: "*/1 * * * *"
resources:
limits:
memory: 64Mi
cpu: 20m
requests:
memory: 16Mi
cpu: 5m

logs:
enabled: true
Expand Down

0 comments on commit 03bbd30

Please sign in to comment.