Skip to content

Commit a5d6d9b

Browse files
author
github-actions
committed
Update perfectscale-agent chart with new package version v1.0.61
1 parent f39759c commit a5d6d9b

File tree

5 files changed

+128
-3
lines changed

5 files changed

+128
-3
lines changed

charts/perfectscale-agent/Chart.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ dependencies:
66
repository: https://prometheus-community.github.io/helm-charts
77
version: 0.9.0
88
digest: sha256:b581da0aa3d3c98bf484ea2ec04262103e0c198e4a4869e412d55ca39d4a2c70
9-
generated: "2025-02-26T20:57:13.25632537-05:00"
9+
generated: "2025-02-26T20:57:13.25632537-05:00"
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
Thank you for installing PerfectScale.
2-
Visit http://app.perfectscale.io/ to use the application.
2+
- Visit {{ .Values.webAppUrl | default "http://app.perfectscale.io/" }} to use the application.
Lines changed: 88 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,88 @@
1+
{{- if .Values.settings.coroot.enabled -}}
2+
apiVersion: apps/v1
3+
kind: DaemonSet
4+
metadata:
5+
labels:
6+
app: {{ .Release.Name }}-coroot
7+
{{- if .Values.coroot.additionalLabels }}
8+
{{- toYaml .Values.coroot.additionalLabels | nindent 4 }}
9+
{{- end }}
10+
name: {{ .Release.Name }}-coroot
11+
namespace: {{ .Release.Namespace }}
12+
{{- with .Values.coroot.annotations }}
13+
annotations:
14+
{{- toYaml . | nindent 4 }}
15+
{{- end }}
16+
spec:
17+
selector:
18+
matchLabels:
19+
app: {{ .Release.Name }}-coroot
20+
template:
21+
metadata:
22+
labels:
23+
app: {{ .Release.Name }}-coroot
24+
{{- if .Values.coroot.podLabels }}
25+
{{- toYaml .Values.coroot.podLabels | nindent 8 }}
26+
{{- end }}
27+
{{- with .Values.coroot.podAnnotations }}
28+
annotations:
29+
{{- toYaml . | nindent 8 }}
30+
{{- end }}
31+
spec:
32+
hostPID: true #TO DO check code if we need it?
33+
containers:
34+
- name: coroot-node-agent
35+
image: "{{ .Values.coroot.image.repository }}:{{ .Values.coroot.image.tag }}"
36+
imagePullPolicy: {{ .Values.coroot.image.pullPolicy }}
37+
args: ["--cgroupfs-root", "/host/sys/fs/cgroup"]
38+
ports:
39+
- containerPort: 80
40+
name: http
41+
resources:
42+
{{- toYaml .Values.coroot.resources | nindent 12 }}
43+
securityContext:
44+
privileged: true
45+
volumeMounts:
46+
- mountPath: /host/sys/fs/cgroup
47+
name: cgroupfs
48+
readOnly: true
49+
- mountPath: /sys/kernel/tracing
50+
name: tracefs
51+
- mountPath: /sys/kernel/debug
52+
name: debugfs
53+
readOnly: false
54+
- mountPath: /tmp
55+
name: tmp
56+
{{- if .Values.imagePullSecrets }}
57+
imagePullSecrets:
58+
- name: {{ .Values.imagePullSecrets.secretName }}
59+
{{- end }}
60+
{{- with .Values.coroot.tolerations }}
61+
tolerations:
62+
{{- toYaml . | nindent 8 }}
63+
{{- end }}
64+
{{- with .Values.coroot.nodeSelector }}
65+
nodeSelector:
66+
{{- toYaml . | nindent 8 }}
67+
{{- end }}
68+
{{- with .Values.coroot.affinity }}
69+
affinity:
70+
{{- toYaml . | nindent 8 }}
71+
{{- end }}
72+
{{- if ne .Values.priorityClass.enabled false}}
73+
priorityClassName: {{ .Values.priorityClass.name | default "perfectscale-exporter" }}
74+
{{- end }}
75+
volumes:
76+
- hostPath:
77+
path: /sys/fs/cgroup
78+
name: cgroupfs
79+
- hostPath:
80+
path: /sys/kernel/tracing
81+
type: ""
82+
name: tracefs
83+
- hostPath:
84+
path: /sys/kernel/debug
85+
name: debugfs
86+
- emptyDir: {}
87+
name: tmp
88+
{{- end }}

charts/perfectscale-agent/templates/deployment.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,10 @@ spec:
190190
value: "{{ .Values.settings.karpenter.enabled }}"
191191
- name: KARPENTER_SCRAPE_FREQUENCY_TIME
192192
value: "{{ .Values.settings.karpenter.scrapingInterval }}"
193+
- name: COROOT_EXPORTER_ENABLED
194+
value: "{{ .Values.settings.corootExporter.Enabled | default false }}"
195+
- name: COROOT_EXPORTER_LABEL_SELECTOR
196+
value: "{{ .Values.settings.corootExporter.LabelSelector | default "app=psc-exporter-coroot" }}"
193197
ports:
194198
- name: http
195199
containerPort: 8080

charts/perfectscale-agent/values.yaml

Lines changed: 34 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,13 @@ replicaCount: 1
22
image:
33
repository: public.ecr.aws/perfectscale-io/psc-exporter
44
pullPolicy: Always
5-
tag: "v1.0.60"
5+
tag: "v1.0.61"
66
initContainer:
77
image:
88
repository: public.ecr.aws/perfectscale-io/alpine
99
tag: 3.21-init
10+
# Notes generation override web portal
11+
webAppUrl: "http://app.perfectscale.io/"
1012
settings:
1113
deployKubeStateMetrics: true
1214
serviceId: "psc-exporter"
@@ -49,6 +51,9 @@ settings:
4951
httpsProxy: "" #example$ http://squid-proxy-service.default:3128
5052
noProxy: "" #example: ".cluster.local,.svc.cluster.local,172.20.0.1," the line must end with a coma, 172.20.0.1 it is KUBERNETES_SERVICE_HOST, API SERVICE
5153
windowsExporterEnabled: false
54+
corootExporter:
55+
Enabled: false
56+
LabelSelector: ""
5257
deployWindowsExporter: false
5358
# windowsExporterNamespace: "perfectscale"
5459
# windowsExporterPort: "9182"
@@ -61,6 +66,8 @@ settings:
6166
karpenter:
6267
enabled: true
6368
scrapingInterval: "20m"
69+
coroot:
70+
enabled: false
6471
secret:
6572
create: false
6673
name: "perfectscale-secret"
@@ -229,3 +236,29 @@ prometheus-windows-exporter:
229236
name:
230237
nodeSelector:
231238
kubernetes.io/os: windows
239+
coroot:
240+
image:
241+
repository: public.ecr.aws/perfectscale-io/debug-gha
242+
pullPolicy: Always
243+
tag: "coroot-01"
244+
resources:
245+
requests:
246+
cpu: 10m
247+
memory: 50Mi
248+
## Additional labels to set in the all objects. Together with standard labels from the chart
249+
additionalLabels: {}
250+
## Labels to add to the pod
251+
podLabels: {}
252+
## Annotations to add to the daemonset
253+
annotations: {}
254+
## Annotations to add to the pod
255+
podAnnotations: {}
256+
# Pod toleration rules.
257+
# Ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
258+
tolerations: {}
259+
# Pod node selector rules.
260+
# Ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/
261+
nodeSelector: {}
262+
# Pod affinity rules.
263+
# Ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
264+
affinity: {}

0 commit comments

Comments
 (0)