theshire/kubernetes/apps/observability/vector-agent/app/helmrelease.yaml

48 lines
1,017 B
YAML
Raw Permalink Normal View History

2024-10-19 19:49:25 -05:00
---
# yaml-language-server: $schema=https://ks.hsn.dev/helm.toolkit.fluxcd.io/helmrelease_v2.json
apiVersion: helm.toolkit.fluxcd.io/v2
kind: HelmRelease
metadata:
name: vector-agent
spec:
interval: 30m
chart:
spec:
chart: vector
2024-10-21 13:02:32 -05:00
version: 0.37.0
2024-10-19 19:49:25 -05:00
sourceRef:
kind: HelmRepository
name: vector
namespace: flux-system
driftDetection:
mode: enabled
install:
remediation:
retries: 3
upgrade:
cleanupOnFail: true
remediation:
retries: 3
values:
role: "Agent"
workloadResourceAnnotations:
reloader.stakater.com/auto: "true"
containerPorts:
- name: prom-exporter
containerPort: 9090
resources:
requests:
memory: "64Mi"
cpu: "500m"
limits:
memory: 1Gi
cpu: "6000m"
service:
ports:
- name: prom-exporter
port: 9090
existingConfigMaps: ["vector-agent-configmap"]
dataDir: /vector-data-dir
podMonitor:
enabled: true