Skip to content

Commit

Permalink
Update helm chart for furiosa-metrics-exporter
Browse files Browse the repository at this point in the history
  • Loading branch information
hoony9x-furiosa-ai committed Nov 12, 2024
1 parent d61ddce commit a52de52
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 5 deletions.
4 changes: 2 additions & 2 deletions 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
appVersion: "0.1.0"
version: 0.1.3
appVersion: "v0.0.12"
12 changes: 10 additions & 2 deletions charts/furiosa-metrics-exporter/templates/daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,21 @@ spec:
priorityClassName: {{ .Values.daemonSet.priorityClassName | default "system-node-critical" }}
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"]
image: {{ .Values.daemonSet.image.repository | default "registry.corp.furiosa.ai/furiosa/furiosa-metrics-exporter" }}:{{ .Values.daemonSet.image.tag | default "latest" }}
command:
- ./main
- --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
5 changes: 4 additions & 1 deletion charts/furiosa-metrics-exporter/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ daemonSet:
values:
- "true"
image:
repository: docker.io/furiosaai/furiosa-metrics-exporter
repository: registry.corp.furiosa.ai/furiosa/furiosa-metrics-exporter
tag: latest
pullPolicy: IfNotPresent
resources:
Expand All @@ -37,3 +37,6 @@ service:
port: 6254
targetPort: 6254
enableScrapAnnotations: true

config:
collectInterval: 10

0 comments on commit a52de52

Please sign in to comment.