Skip to content

Commit

Permalink
Update helm chart for furiosa-metrics-exporter (#15)
Browse files Browse the repository at this point in the history
* Update helm chart for `furiosa-metrics-exporter`

* Add parenthesis to the env value section

* Revert image to `docker.io/furiosaai/furiosa-metrics-exporter`

* Change `command` to `args`

* revert image specification at `daemonset.yaml`

* rollback `appVersion` to `0.1.0`
  • Loading branch information
hoony9x-furiosa-ai authored Nov 19, 2024
1 parent d61ddce commit 0a7117a
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/furiosa-metrics-exporter/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ apiVersion: v2
name: furiosa-metrics-exporter
description: A Helm chart for furiosa-metrics-exporter
type: application
version: 0.1.2
version: 0.1.3
appVersion: "0.1.0"
9 changes: 8 additions & 1 deletion charts/furiosa-metrics-exporter/templates/daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,19 @@ spec:
containers:
- name: {{ include "furiosa-metrics-exporter.name" . }}
image: {{ .Values.daemonSet.image.repository | default "docker.io/furiosaai/furiosa-metrics-exporter" }}:{{ .Values.daemonSet.image.tag | default "latest" }}
command: ["./main"]
args:
- --port=$(PORT)
- --interval=$(INTERVAL)
- --node-name=$(NODE_NAME)
env:
- name: NODE_NAME
valueFrom:
fieldRef:
fieldPath: "spec.nodeName"
- name: PORT
value: "{{ .Values.service.targetPort }}"
- name: INTERVAL
value: "{{ .Values.config.collectInterval }}"
imagePullPolicy: {{ .Values.daemonSet.image.pullPolicy | default "IfNotPresent" }}
resources:
requests:
Expand Down
3 changes: 3 additions & 0 deletions charts/furiosa-metrics-exporter/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,6 @@ service:
port: 6254
targetPort: 6254
enableScrapAnnotations: true

config:
collectInterval: 10

0 comments on commit 0a7117a

Please sign in to comment.