added repo

This commit is contained in:
Your Name
2026-08-26 03:39:42 +05:30
parent 45c25a95af
commit b8575bb8b9
6889 changed files with 1217125 additions and 0 deletions
@@ -0,0 +1,47 @@
{{- $global := . }}
{{- $components := (fromYaml (include "pyroscope.components" .)) }}
{{- if $global.Values.architecture.deployUnifiedServices }}
{{- /* There services are useful wanting to switch from single binary to microservices without reconfiguring the endpoints */}}
{{- $hasDistributor := hasKey $components "distributor" }}
{{- $hasQueryFrontend := hasKey $components "query-frontend" }}
---
apiVersion: v1
kind: Service
metadata:
name: {{ .Release.Name }}-write
namespace: {{ .Release.Namespace }}
labels:
{{- include "pyroscope.labels" . | nindent 4 }}
spec:
type: "ClusterIP"
ports:
- port: 80
targetPort: {{ .Values.pyroscope.service.port_name }}
protocol: TCP
name: {{ .Values.pyroscope.service.port_name }}
selector:
{{- include "pyroscope.selectorLabels" . | nindent 4 }}
{{- if $hasDistributor }}
app.kubernetes.io/component: distributor
{{- end }}
---
apiVersion: v1
kind: Service
metadata:
name: {{ .Release.Name }}-read
namespace: {{ .Release.Namespace }}
labels:
{{- include "pyroscope.labels" . | nindent 4 }}
spec:
type: "ClusterIP"
ports:
- port: 80
targetPort: {{ .Values.pyroscope.service.port_name }}
protocol: TCP
name: {{ .Values.pyroscope.service.port_name }}
selector:
{{- include "pyroscope.selectorLabels" . | nindent 4 }}
{{- if $hasQueryFrontend }}
app.kubernetes.io/component: query-frontend
{{- end }}
{{- end }}