File tree Expand file tree Collapse file tree 3 files changed +7
-4
lines changed
charts/perfectscale-agent Expand file tree Collapse file tree 3 files changed +7
-4
lines changed Original file line number Diff line number Diff line change 33
33
{{- if .Values.settings.deployKubeStateMetrics }}
34
34
initContainers :
35
35
- name : depends-on
36
- image : " public.ecr.aws/perfectscale-io/alpine:3.17 "
36
+ image : " public.ecr.aws/perfectscale-io/alpine:3.19-init "
37
37
command : [ 'sh' ]
38
38
args : [ '-c', 'curl --retry-all-errors --retry 30 --retry-delay 5 -s {{ include "helm.exporter.ksmAddress" . }}; sleep {{ .Values.settings.initSleep | default "1s" }}' ]
39
39
{{- if .Values.containerSecurityContext }}
45
45
- name : {{ .Chart.Name }}
46
46
image : " {{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
47
47
imagePullPolicy : {{ .Values.image.pullPolicy }}
48
+ command : ["/bin/sh", "-c"]
49
+ args : ["./app"]
48
50
env :
49
51
{{- if eq .Values.settings.env "dev" }}
50
52
- name : GOMEMLIMIT
Original file line number Diff line number Diff line change @@ -17,11 +17,12 @@ spec:
17
17
rules :
18
18
- alert : PerfectScale exporter High KSM Scraping Error Rate
19
19
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."
21
21
runbook : " Please, contact PerfectScale support"
22
22
summary : " {{ $fullName }} high kube-state-metrics scraping error rate"
23
23
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
25
26
labels :
26
27
{{- if .Values.prometheusRule.team }}
27
28
team : {{ .Values.prometheusRule.team }}
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ replicaCount: 1
2
2
image :
3
3
repository : public.ecr.aws/perfectscale-io/psc-exporter
4
4
pullPolicy : Always
5
- tag : " v1.0.23 "
5
+ tag : " v1.0.24 "
6
6
settings :
7
7
deployKubeStateMetrics : true
8
8
serviceId : " psc-exporter"
You can’t perform that action at this time.
0 commit comments