Skip to content

Commit

Permalink
Merge pull request #560 from dani-CO-CN/resources
Browse files Browse the repository at this point in the history
  • Loading branch information
gthao313 authored Oct 11, 2023
2 parents 810499e + debfcc7 commit 9a3b279
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,12 +62,7 @@ spec:
image: {{ .Values.image }}
name: brupop
resources:
limits:
cpu: 10m
memory: 50Mi
requests:
cpu: 5m
memory: 8Mi
{{- toYaml .Values.resources.agent.resources | nindent 12 }}
securityContext:
seLinuxOptions:
level: s0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,8 @@ spec:
port: {{ .Values.apiserver_internal_port }}
scheme: HTTPS
initialDelaySeconds: 5
resources:
{{- toYaml .Values.resources.apiserver.resources | nindent 12 }}
volumeMounts:
- mountPath: /etc/brupop-tls-keys
name: bottlerocket-tls-keys
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,8 @@ spec:
value: "{{ .Values.logging.controller.tracing_filter }}"
image: {{ .Values.image }}
name: brupop
resources:
{{- toYaml .Values.resources.controller.resources | nindent 12 }}
priorityClassName: brupop-controller-high-priority
{{ if ((.Values.image_pull_secrets)) }}
image_pull_secrets:
Expand Down
24 changes: 24 additions & 0 deletions deploy/charts/bottlerocket-update-operator/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -111,3 +111,27 @@ logging:
tracing_filter: "info"
apiserver:
tracing_filter: "info"

resources:
agent:
resources:
limits:
cpu: 10m
memory: 50Mi
requests:
cpu: 5m
memory: 8Mi
apiserver:
resources:
limits:
memory: 256Mi
requests:
cpu: 10m
memory: 40Mi
controller:
resources:
limits:
memory: 256Mi
requests:
cpu: 10m
memory: 40Mi

0 comments on commit 9a3b279

Please sign in to comment.