Skip to content

Commit 32d0e18

Browse files
author
github-actions
committed
Update perfectscale-agent chart with new package version v1.0.24
1 parent 2f25cc5 commit 32d0e18

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

charts/perfectscale-agent/templates/deployment.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ spec:
3333
{{- if .Values.settings.deployKubeStateMetrics }}
3434
initContainers:
3535
- name: depends-on
36-
image: "public.ecr.aws/perfectscale-io/alpine:3.17"
36+
image: "public.ecr.aws/perfectscale-io/alpine:3.19-init"
3737
command: [ 'sh' ]
3838
args: [ '-c', 'curl --retry-all-errors --retry 30 --retry-delay 5 -s {{ include "helm.exporter.ksmAddress" . }}; sleep {{ .Values.settings.initSleep | default "1s" }}' ]
3939
{{- if .Values.containerSecurityContext }}
@@ -45,6 +45,8 @@ spec:
4545
- name: {{ .Chart.Name }}
4646
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
4747
imagePullPolicy: {{ .Values.image.pullPolicy }}
48+
command: ["/bin/sh", "-c"]
49+
args: ["./app"]
4850
env:
4951
{{- if eq .Values.settings.env "dev" }}
5052
- name: GOMEMLIMIT

charts/perfectscale-agent/templates/prometheus-rule.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,12 @@ spec:
1717
rules:
1818
- alert: PerfectScale exporter High KSM Scraping Error Rate
1919
annotations:
20-
description: "More than 30% of kube-state-metrics scraping attempts resulted in an error in the last 5 minutes."
20+
description: "More than 30% of kube-state-metrics scraping attempts resulted in an error in the last 30 minutes."
2121
runbook: "Please, contact PerfectScale support"
2222
summary: "{{ $fullName }} high kube-state-metrics scraping error rate"
2323
expr: |
24-
(increase(psc_exporter_ksm_scraping_errors_total[10m]) / avg_over_time(psc_exporter_ksm_instances_scraped[10m])) > 0.3
24+
(increase(psc_exporter_ksm_scraping_errors_total[30m]) / avg_over_time(psc_exporter_ksm_instances_scraped[30m])) > 0.3
25+
for: 30m
2526
labels:
2627
{{- if .Values.prometheusRule.team }}
2728
team: {{ .Values.prometheusRule.team }}

charts/perfectscale-agent/values.yaml

Lines changed: 1 addition & 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: "v1.0.23"
5+
tag: "v1.0.24"
66
settings:
77
deployKubeStateMetrics: true
88
serviceId: "psc-exporter"

0 commit comments

Comments
 (0)