[influxdb-exporter] update img to 0.9.0, use other port for UDP (#1453)

* [influxdb-exporter] update img to 0.9.0, use other port for UDP

Signed-off-by: Francesco Astegiano <francesco.astegiano@gmail.com>

* [influxdb-exporter] Fix ServiceMonitor port

Signed-off-by: Francesco Astegiano <francesco.astegiano@gmail.com>
This commit is contained in:
Francesco Astegiano 2022-03-20 22:23:40 +01:00 committed by GitHub
parent 236bd21e02
commit 1d89c3f86e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 14 additions and 8 deletions

View File

@ -1,8 +1,8 @@
apiVersion: v2 apiVersion: v2
appVersion: 0.8.1 appVersion: v0.9.0
description: An exporter for metrics in the InfluxDB format, transforms them and exposes them for consumption by Prometheus. description: An exporter for metrics in the InfluxDB format, transforms them and exposes them for consumption by Prometheus.
name: influxdb-exporter name: influxdb-exporter
version: 1.0.1 version: 1.0.2
kubeVersion: ">=1.16.0-0" kubeVersion: ">=1.16.0-0"
keywords: keywords:
- influxdb-exporter - influxdb-exporter
@ -20,4 +20,4 @@ dependencies:
annotations: annotations:
artifacthub.io/changes: | artifacthub.io/changes: |
- kind: fixed - kind: fixed
description: Add the description and custom configuration to the README.md description: Update image to 0.9.0 (InfluxDB v2 clients support), use differnt port for UDP.

View File

@ -13,7 +13,7 @@ spec:
matchLabels: matchLabels:
{{- include "common.labels.selectorLabels" . | nindent 6 }} {{- include "common.labels.selectorLabels" . | nindent 6 }}
endpoints: endpoints:
- port: main - port: http
{{- with .Values.metrics.serviceMonitor.interval }} {{- with .Values.metrics.serviceMonitor.interval }}
interval: {{ . }} interval: {{ . }}
{{- end }} {{- end }}
@ -21,7 +21,7 @@ spec:
scrapeTimeout: {{ . }} scrapeTimeout: {{ . }}
{{- end }} {{- end }}
path: /metrics path: /metrics
- port: main - port: http
{{- with .Values.metrics.serviceMonitor.interval }} {{- with .Values.metrics.serviceMonitor.interval }}
interval: {{ . }} interval: {{ . }}
{{- end }} {{- end }}

View File

@ -9,7 +9,7 @@ image:
# -- image repository # -- image repository
repository: prom/influxdb-exporter repository: prom/influxdb-exporter
# -- image tag # -- image tag
tag: v0.8.1 tag: v0.9.0
# -- image pull policy # -- image pull policy
pullPolicy: IfNotPresent pullPolicy: IfNotPresent
@ -19,6 +19,10 @@ env:
# -- Set the container timezone # -- Set the container timezone
TZ: UTC TZ: UTC
# -- Override the args for the default container
args:
- "--udp.bind-address=0.0.0.0:9123"
# -- Configures service settings for the chart. # -- Configures service settings for the chart.
# @default -- See values.yaml # @default -- See values.yaml
service: service:
@ -27,15 +31,17 @@ service:
ports: ports:
http: http:
port: 9122 port: 9122
targetPort: 9122
udp: udp:
enabled: true enabled: true
type: LoadBalancer type: LoadBalancer
loadBalancerIP: ""
ports: ports:
udp: udp:
enabled: true enabled: true
port: 9122
protocol: UDP protocol: UDP
targetPort: 9122 port: 9123
targetPort: 9123
metrics: metrics:
# -- Enable and configure prometheus-qbittorrent-exporter sidecar and Prometheus podMonitor. # -- Enable and configure prometheus-qbittorrent-exporter sidecar and Prometheus podMonitor.