Files
devops-infra-helm-charts-gcp/helm-templates/pyroscope/ci/micro-services-values.yaml
T
2026-08-26 03:39:42 +05:30

89 lines
2.2 KiB
YAML

# Default values for pyroscope.
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.
pyroscope:
components:
querier:
kind: Deployment
replicaCount: 3
resources:
limits:
memory: 1Gi
requests:
memory: 32Mi
cpu: 10m
query-frontend:
kind: Deployment
replicaCount: 2
resources:
limits:
memory: 1Gi
requests:
memory: 32Mi
cpu: 10m
query-scheduler:
kind: Deployment
replicaCount: 2
resources:
limits:
memory: 1Gi
requests:
memory: 32Mi
cpu: 10m
distributor:
kind: Deployment
replicaCount: 2
resources:
limits:
memory: 1Gi
requests:
memory: 32Mi
cpu: 50m
ingester:
kind: StatefulSet
replicaCount: 3
resources:
limits:
memory: 4Gi
requests:
memory: 256Mi
cpu: 100m
store-gateway:
kind: StatefulSet
replicaCount: 3
persistence:
# The store-gateway needs not need persistent storage, but we still run it as a StatefulSet
# This is to avoid having blocks of data being
enabled: false
resources:
limits:
memory: 4Gi
requests:
memory: 64Mi
cpu: 20m
initContainers:
- name: create-bucket
image: minio/mc:RELEASE.2025-04-08T15-39-49Z
command:
- /bin/sh
- -c
- |
export MC_CONFIG_DIR="/tmp/mc"
mkdir -p "$MC_CONFIG_DIR"
until mc config host add myminio http://$MINIO_ENDPOINT:9000 grafana-pyroscope supersecret; do
echo "Waiting for Minio to be available..."
sleep 5
done
mc mb myminio/grafana-pyroscope-data --ignore-existing
env:
- name: POD_NAMESPACE
valueFrom:
fieldRef:
fieldPath: metadata.namespace
- name: MINIO_ENDPOINT
value: $(POD_NAMESPACE)-minio
minio:
enabled: true