Skip to content

Commit

Permalink
chore: tune sidecar resources
Browse files Browse the repository at this point in the history
  • Loading branch information
joshgamache committed Jan 15, 2025
1 parent 854b6c4 commit 32ff7d3
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions helm/cas-logging-sidecar/templates/_logging-sidecar.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
# Note: the `.containers` template cannot use any "globals" like `.Release.Name` directly as the `.` context is replaced with the `dict` parameter on use. See README.md for more details
{{- define "cas-logging-sidecar.containers" -}}
- name: {{ .containerToSidecar }}-oc-logs-container
resources:
limits:
memory: 64Mi
cpu: 100m
requests:
memory: 16Mi
cpu: 10m
image: openshift/origin-cli:latest
env:
- name: POD_NAME
Expand All @@ -17,6 +24,13 @@
- name: shared-logs
mountPath: /var/log
- name: {{ .containerToSidecar }}-logrotate-container
resources:
limits:
memory: 64Mi
cpu: 100m
requests:
memory: 16Mi
cpu: 10m
image: skymatic/logrotate
command:
- "/bin/sh"
Expand All @@ -29,6 +43,13 @@
mountPath: /etc/logrotate.conf
subPath: logrotate.conf
- name: fluent-bit
resources:
limits:
memory: 100Mi
cpu: 200m
requests:
memory: 25Mi
cpu: 50m
image: fluent/fluent-bit:latest
env:
- name: FLUENT_ELASTICSEARCH_HOST
Expand Down

0 comments on commit 32ff7d3

Please sign in to comment.