Skip to content
This repository has been archived by the owner on Nov 1, 2022. It is now read-only.

Commit

Permalink
Merge pull request #1541 from weaveworks/resources
Browse files Browse the repository at this point in the history
Add container resources requests for Flux and helm-op
  • Loading branch information
stefanprodan authored Nov 22, 2018
2 parents 18785fd + d5ed4e4 commit 4445226
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 18 deletions.
26 changes: 8 additions & 18 deletions chart/flux/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,15 +54,10 @@ helmOperator:
nodeSelector: {}
tolerations: []
affinity: {}
resources: {}
# If you do want to specify resources, uncomment the following
# lines, adjust them as necessary, and remove the curly braces after 'resources:'.
# limits:
# cpu: 50m
# memory: 150Mi
# requests:
# cpu: 20m
# memory: 100Mi
resources:
requests:
cpu: 50m
memory: 64Mi

rbac:
# Specifies whether RBAC resources should be created
Expand All @@ -75,15 +70,10 @@ serviceAccount:
# If not set and create is true, a name is generated using the fullname template
name:

resources: {}
# If you do want to specify resources, uncomment the following
# lines, adjust them as necessary, and remove the curly braces after 'resources:'.
# limits:
# cpu: 250m
# memory: 300Mi
# requests:
# cpu: 150m
# memory: 250Mi
resources:
requests:
cpu: 50m
memory: 64Mi

nodeSelector: {}

Expand Down
4 changes: 4 additions & 0 deletions deploy-helm/helm-operator-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,10 @@ spec:
# and replace the tag here.
image: quay.io/weaveworks/helm-operator:0.5.1
imagePullPolicy: IfNotPresent
resources:
requests:
cpu: 50m
memory: 64Mi
volumeMounts:
# Include this if you need to mount a customised known_hosts or ssh_config
# file; you'll also need the volume declared above.
Expand Down
4 changes: 4 additions & 0 deletions deploy/flux-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,10 @@ spec:
# and replace the tag here.
image: quay.io/weaveworks/flux:1.8.1
imagePullPolicy: IfNotPresent
resources:
requests:
cpu: 50m
memory: 64Mi
ports:
- containerPort: 3030 # informational
volumeMounts:
Expand Down

0 comments on commit 4445226

Please sign in to comment.