Skip to content

Commit

Permalink
Merge pull request #179 from gfx-labs/bee-clef-limits
Browse files Browse the repository at this point in the history
add resource settings for sidecar containers
  • Loading branch information
vandot authored May 11, 2022
2 parents 42fc3f6 + 97059b4 commit bd0ca47
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/bee/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v2
appVersion: latest
name: bee
version: 0.11.8
version: 0.11.9
kubeVersion: ">=1.15.0-0"
description: Ethereum Swarm Bee Helm chart for Kubernetes
home: https://www.ethswarm.org
Expand Down
4 changes: 4 additions & 0 deletions charts/bee/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,8 @@ spec:
- containerPort: 8550
name: api
protocol: TCP
resources:
{{- toYaml .Values.clefSettings.resources | nindent 12 }}
volumeMounts:
- name: clef
mountPath: /app/data
Expand Down Expand Up @@ -289,6 +291,8 @@ spec:
- containerPort: 8633
name: gateway-proxy
protocol: TCP
resources:
{{- toYaml .Values.gatewayProxy.resources | nindent 12 }}
livenessProbe:
httpGet:
path: /health
Expand Down
14 changes: 14 additions & 0 deletions charts/bee/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -367,6 +367,13 @@ clefSettings:
password: clefbeesecret
## Use existing password (ignores previous keyPassword)
# existingPasswordSecret:
resources: {}
# limits:
# cpu: 1
# memory: 1Gi
# requests:
# cpu: 100m
# memory: 128Mi


## If enabled it will start gateway-proxy sidecar container that will be publicly exposed
Expand Down Expand Up @@ -414,3 +421,10 @@ gatewayProxy:
# value: 0.9374
# - name: LOG_LEVEL
# value: info
resources: {}
# limits:
# cpu: 1
# memory: 1Gi
# requests:
# cpu: 100m
# memory: 128Mi

0 comments on commit bd0ca47

Please sign in to comment.