Skip to content

Commit d23a299

Browse files
authored
tolerations and nodeSelector options to agent's daemonset (#98)
1 parent a0ba805 commit d23a299

File tree

3 files changed

+10
-2
lines changed

3 files changed

+10
-2
lines changed

chart/pyroscope-ebpf/Chart.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@ apiVersion: v2
22
name: pyroscope-ebpf
33
description: A Helm chart for Pyroscope eBPF
44
type: application
5-
version: 0.1.18
5+
version: 0.1.19
66
appVersion: "0.34.1"

chart/pyroscope-ebpf/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# pyroscope-ebpf
22

3-
![Version: 0.1.18](https://img.shields.io/badge/Version-0.1.18-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.34.1](https://img.shields.io/badge/AppVersion-0.34.1-informational?style=flat-square)
3+
![Version: 0.1.19](https://img.shields.io/badge/Version-0.1.19-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.34.1](https://img.shields.io/badge/AppVersion-0.34.1-informational?style=flat-square)
44

55
A Helm chart for Pyroscope eBPF
66

chart/pyroscope-ebpf/templates/daemonset.yaml

+8
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,14 @@ spec:
1515
labels:
1616
{{- include "pyroscope-ebpf.selectorLabels" . | nindent 8 }}
1717
spec:
18+
{{- with .Values.tolerations }}
19+
tolerations:
20+
{{- toYaml . | nindent 8 }}
21+
{{- end }}
22+
{{- with .Values.nodeSelector }}
23+
nodeSelector:
24+
{{- toYaml . | nindent 8 }}
25+
{{- end }}
1826
serviceAccountName: {{ include "pyroscope-ebpf.serviceAccountName" . }}
1927
containers:
2028
- name: pyroscope-agent

0 commit comments

Comments
 (0)