Skip to content

Commit a12d1f7

Browse files
author
github-actions
committed
Update perfectscale-agent chart with new package version v0.0.26
1 parent 82a159b commit a12d1f7

File tree

3 files changed

+12
-1
lines changed

3 files changed

+12
-1
lines changed

charts/perfectscale-agent/templates/_helpers.tpl

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,14 @@ Create the name of the service account to use
7777
{{- end }}
7878
{{- end }}
7979

80+
{{- define "helm.exporter.ksmTimeout" -}}
81+
{{- if .Values.settings.ksmTimeout }}
82+
{{- .Values.settings.ksmTimeout }}
83+
{{- else }}
84+
{{- "30s" }}
85+
{{- end }}
86+
{{- end }}
87+
8088
{{- define "helm.exporter.rawTimeWindowSizeMinutes" -}}
8189
{{- if .Values.settings.rawTimeWindowSizeMinutes }}
8290
{{- .Values.settings.rawTimeWindowSizeMinutes }}

charts/perfectscale-agent/templates/deployment.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,8 @@ spec:
6060
value: "{{ .Values.settings.dataRetentionTime | default "15m" }}"
6161
- name: KSM_ADDRESS
6262
value: "{{ include "helm.exporter.ksmAddress" . }}"
63+
- name: KSM_TIMEOUT
64+
value: "{{ include "helm.exporter.ksmTimeout" . }}"
6365
- name: CADVISOR_NUM_WORKERS
6466
value: "{{ .Values.settings.cAdvisorNumWorkers }}"
6567
- name: PS_URL

charts/perfectscale-agent/values.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ replicaCount: 1
22
image:
33
repository: public.ecr.aws/perfectscale-io/psc-exporter
44
pullPolicy: Always
5-
tag: "v0.0.25"
5+
tag: "v0.0.26"
66
settings:
77
serviceId: "psc-exporter"
88
env: "prod"
@@ -11,6 +11,7 @@ settings:
1111
psUrl: "https://api.app.perfectscale.io/psc-tenant-manager"
1212
uploadPolicyUrl: "https://api.app.perfectscale.io/psc-presigned-policy"
1313
scrapingInterval: "30s"
14+
ksmTimeout: "30s"
1415
kubeAPITimeoutSec: "3"
1516
cAdvisorNumWorkers: "30"
1617
k8sClientBurst: "150"

0 commit comments

Comments
 (0)