Skip to content

Commit 4b0663b

Browse files
pelzerimbenben
andauthored
agent: upgrade to latest version and expose metrics port (#8)
* feat: expose metrics ports * feat: Upgrade latest agent version * Update charts/agent/values.yaml Co-authored-by: Benjamin Knofe <[email protected]> --------- Co-authored-by: Benjamin Knofe <[email protected]>
1 parent 7b4b3c3 commit 4b0663b

File tree

3 files changed

+9
-2
lines changed

3 files changed

+9
-2
lines changed

charts/agent/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ type: application
1515
# This is the chart version. This version number should be incremented each time you make changes
1616
# to the chart and its templates, including the app version.
1717
# Versions are expected to follow Semantic Versioning (https://semver.org/)
18-
version: 0.3.1
18+
version: 0.3.2
1919

2020
# This is the version number of the application being deployed. This version number should be
2121
# incremented each time you make changes to the application. Versions are not expected to
2222
# follow Semantic Versioning. They should reflect the version the application is using.
2323
# It is recommended to use it with quotes.
24-
appVersion: "6.0.7"
24+
appVersion: "6.1.3"

charts/agent/templates/deployment.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,9 @@ spec:
4949
{{- end }}
5050
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
5151
imagePullPolicy: {{ .Values.image.pullPolicy }}
52+
ports:
53+
- name: metrics
54+
containerPort: {{ .Values.metrics.port }}
5255
env:
5356
{{- range $key, $value := .Values.env }}
5457
- name: "{{ tpl $key $ }}"

charts/agent/values.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@ imagePullSecrets: []
1717
nameOverride: ""
1818
fullnameOverride: ""
1919

20+
# This is the configuration of the agent's internal metrics server
21+
metrics:
22+
port: 8080
23+
2024
# Configures secret for agent API Key
2125
#
2226
# If you already have a secret with the Key, set `create` to

0 commit comments

Comments
 (0)