Skip to content

Commit

Permalink
Merge pull request #11 from WyriHaximusNet/add-resources-to-docker-hu…
Browse files Browse the repository at this point in the history
…b-exporter

Add resources to docker-hub-exporter
  • Loading branch information
WyriHaximus authored May 21, 2020
2 parents 2d2b6a2 + 1919878 commit 42f02b8
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/docker-hub-exporter/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ description: Docker Hub exporter
home: https://github.com/jessestuart/docker-hub-exporter
icon: https://helm.wyrihaximus.net/images/charts/docker-hub-exporter.png
type: application
version: 0.2.0
version: 0.2.1
appVersion: d05df48
maintainers:
- name: WyriHaximus
Expand Down
2 changes: 2 additions & 0 deletions charts/docker-hub-exporter/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ spec:
httpGet:
path: /
port: metrics
resources:
{{- toYaml .Values.resources | nindent 12 }}
args:
- -listen-address=:9170
- -organisations={{ .Values.organisations }}
9 changes: 9 additions & 0 deletions charts/docker-hub-exporter/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,12 @@ organisations: YOUR_USER_OR_ORG
grafana:
influxdb: false
prometheus: false

resources:
# Setting this pretty low since this is a low resource intensive application, increase when needed
limits:
cpu: 5m
memory: 31Mi
requests:
cpu: 5m
memory: 31Mi

0 comments on commit 42f02b8

Please sign in to comment.