theshire/kubernetes/apps/observability/vector-agent/app/helmrelease.yaml
2024-12-14 14:50:16 -06:00

46 lines
996 B
YAML

---
# 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
version: 0.38.1
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
service:
ports:
- name: prom-exporter
port: 9090
existingConfigMaps: ["vector-agent-configmap"]
dataDir: /vector-data-dir
podMonitor:
enabled: true