[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
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.
name: influxdb-exporter
version: 1.0.1
version: 1.0.2
kubeVersion: ">=1.16.0-0"
keywords:
- influxdb-exporter
@ -20,4 +20,4 @@ dependencies:
annotations:
artifacthub.io/changes: |
- 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:
{{- include "common.labels.selectorLabels" . | nindent 6 }}
endpoints:
- port: main
- port: http
{{- with .Values.metrics.serviceMonitor.interval }}
interval: {{ . }}
{{- end }}
@ -21,7 +21,7 @@ spec:
scrapeTimeout: {{ . }}
{{- end }}
path: /metrics
- port: main
- port: http
{{- with .Values.metrics.serviceMonitor.interval }}
interval: {{ . }}
{{- end }}

View File

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