Unverified Commit c71efaa7 authored by hamps's avatar hamps Committed by GitHub

[telegraf] Add support for Cisco Model-Driven Telemetry (cisco_telemetry_mdt) (#548)

parent f6dacf9a
apiVersion: v2
name: telegraf
version: 1.8.47
version: 1.8.48
appVersion: 1.30.3
deprecated: false
description: Telegraf is an agent written in Go for collecting, processing, aggregating, and writing metrics.
......
......@@ -84,6 +84,12 @@ spec:
name: {{ printf "%s-%s" "socket-listener" (regexFind "[0-9]+$" $value.service_address) }}
{{- end }}
{{- end }}
{{- if eq $key "cisco_telemetry_mdt" }}
- port: {{ trimPrefix ":" $value.service_address | int64 }}
targetPort: {{ trimPrefix ":" $value.service_address | int64 }}
protocol: "TCP"
name: "cisco-telemetry-mdt"
{{- end }}
{{- end -}}
{{- end }}
{{- range $objectKey, $objectValue := .Values.config.outputs }}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment