Skip to content
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
1 change: 1 addition & 0 deletions operations/pyroscope/helm/pyroscope/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@
| pyroscope.resources | object | `{}` | |
| pyroscope.securityContext | object | `{}` | |
| pyroscope.service.annotations | object | `{}` | |
| pyroscope.service.headlessAnnotations | object | `{}` | |
| pyroscope.service.port | int | `4040` | |
| pyroscope.service.port_name | string | `"http2"` | |
| pyroscope.service.scheme | string | `"HTTP"` | |
Expand Down
6 changes: 6 additions & 0 deletions operations/pyroscope/helm/pyroscope/templates/services.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,15 @@ metadata:
labels:
{{- include "pyroscope.labels" . | nindent 4 }}
app.kubernetes.io/component: {{ $component | quote }}
{{- if or .Values.serviceMonitor.enabled $values.service.headlessAnnotations }}
annotations:
{{- if .Values.serviceMonitor.enabled }}
prometheus.io/service-monitor: "false"
{{- end }}
{{- with $values.service.headlessAnnotations }}
{{- toYaml . | nindent 4 }}
{{- end }}
{{- end }}
spec:
type: ClusterIP
clusterIP: None
Expand Down
1 change: 1 addition & 0 deletions operations/pyroscope/helm/pyroscope/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ pyroscope:
port_name: http2
scheme: HTTP
annotations: {}
headlessAnnotations: {}

memberlist:
port: 7946
Expand Down
1 change: 1 addition & 0 deletions operations/pyroscope/jsonnet/values.json
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@
"securityContext": {},
"service": {
"annotations": {},
"headlessAnnotations": {},
"port": 4040,
"port_name": "http2",
"scheme": "HTTP",
Expand Down
Loading