Skip to content

add priorityClassName to helm chart #107

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion chart/pyroscope-ebpf/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ apiVersion: v2
name: pyroscope-ebpf
description: A Helm chart for Pyroscope eBPF
type: application
version: 0.1.31
version: 0.1.32
appVersion: "0.37.2"
3 changes: 2 additions & 1 deletion chart/pyroscope-ebpf/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# pyroscope-ebpf

![Version: 0.1.31](https://img.shields.io/badge/Version-0.1.31-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.37.2](https://img.shields.io/badge/AppVersion-0.37.2-informational?style=flat-square)
![Version: 0.1.32](https://img.shields.io/badge/Version-0.1.32-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.37.2](https://img.shields.io/badge/AppVersion-0.37.2-informational?style=flat-square)

A Helm chart for Pyroscope eBPF

Expand Down Expand Up @@ -42,6 +42,7 @@ helm delete my-release
| image.pullPolicy | string | `"IfNotPresent"` | Image pull policy |
| image.repository | string | `"pyroscope/pyroscope"` | image to use for deploying |
| image.tag | string | `"0.37.2"` | Tag for pyroscope image to use |
| priorityClassName | string | `"system-node-critical"` | PriorityClassName to schedule pod with higher priority |
| serviceAccount.annotations | object | `{}` | ServiceAccount annotations |
| serviceAccount.create | bool | `true` | Create service account |
| serviceAccount.name | string | `""` | Service account name to use, when empty will be set to created account if serviceAccount.create is set else to default |
Expand Down
3 changes: 3 additions & 0 deletions chart/pyroscope-ebpf/templates/daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ spec:
tolerations:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- if .Values.priorityClassName }}
priorityClassName: {{ .Values.priorityClassName }}
{{- end }}
{{- with .Values.nodeSelector }}
nodeSelector:
{{- toYaml . | nindent 8 }}
Expand Down
2 changes: 2 additions & 0 deletions chart/pyroscope-ebpf/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ serviceAccount:
# -- ServiceAccount annotations
annotations: {}

# -- PriorityClassName to schedule pod with higher priority
priorityClassName: "system-node-critical"

# -- Arguments to be passed to the pyroscope binary
args:
Expand Down