2024-02-29 11:02:27 -06:00
|
|
|
---
|
2024-03-19 17:38:08 -05:00
|
|
|
# yaml-language-server: $schema=https://raw.githubusercontent.com/bjw-s/helm-charts/main/charts/other/app-template/schemas/helmrelease-helm-v2beta2.schema.json
|
2024-05-28 10:02:09 -05:00
|
|
|
apiVersion: helm.toolkit.fluxcd.io/v2
|
2024-02-29 11:02:27 -06:00
|
|
|
kind: HelmRelease
|
|
|
|
metadata:
|
|
|
|
name: vector-agent
|
|
|
|
spec:
|
|
|
|
interval: 30m
|
|
|
|
timeout: 15m
|
|
|
|
chart:
|
|
|
|
spec:
|
|
|
|
chart: app-template
|
2024-05-28 10:02:16 -05:00
|
|
|
version: 3.2.1
|
2024-02-29 11:02:27 -06:00
|
|
|
sourceRef:
|
|
|
|
kind: HelmRepository
|
|
|
|
name: bjw-s
|
|
|
|
namespace: flux-system
|
|
|
|
install:
|
|
|
|
remediation:
|
|
|
|
retries: 3
|
|
|
|
upgrade:
|
|
|
|
cleanupOnFail: true
|
|
|
|
remediation:
|
|
|
|
retries: 3
|
2024-03-19 18:43:34 -05:00
|
|
|
strategy: rollback
|
2024-02-29 11:02:27 -06:00
|
|
|
dependsOn:
|
|
|
|
- name: vector-aggregator
|
|
|
|
namespace: observability
|
|
|
|
values:
|
|
|
|
controllers:
|
2024-03-19 17:38:08 -05:00
|
|
|
vector:
|
2024-02-29 11:02:27 -06:00
|
|
|
type: daemonset
|
|
|
|
strategy: RollingUpdate
|
|
|
|
annotations:
|
|
|
|
reloader.stakater.com/auto: "true"
|
|
|
|
containers:
|
2024-03-19 17:38:08 -05:00
|
|
|
app:
|
2024-02-29 11:02:27 -06:00
|
|
|
image:
|
|
|
|
repository: docker.io/timberio/vector
|
2024-06-17 12:02:16 -05:00
|
|
|
tag: 0.39.0-alpine@sha256:018e43618e374eb3f52ec0d1067a056c75c4c90ffcec967d4019e0731d31afc7
|
2024-02-29 11:02:27 -06:00
|
|
|
env:
|
|
|
|
PROCFS_ROOT: /host/proc
|
|
|
|
SYSFS_ROOT: /host/sys
|
|
|
|
VECTOR_SELF_NODE_NAME:
|
|
|
|
valueFrom:
|
|
|
|
fieldRef:
|
|
|
|
apiVersion: v1
|
|
|
|
fieldPath: spec.nodeName
|
|
|
|
VECTOR_SELF_POD_NAME:
|
|
|
|
valueFrom:
|
|
|
|
fieldRef:
|
|
|
|
apiVersion: v1
|
|
|
|
fieldPath: metadata.name
|
|
|
|
VECTOR_SELF_POD_NAMESPACE:
|
|
|
|
valueFrom:
|
|
|
|
fieldRef:
|
|
|
|
apiVersion: v1
|
|
|
|
fieldPath: metadata.namespace
|
|
|
|
args: ["--config", "/etc/vector/vector.yaml"]
|
|
|
|
securityContext:
|
|
|
|
privileged: true
|
|
|
|
serviceAccount:
|
|
|
|
create: true
|
|
|
|
name: vector-agent
|
|
|
|
persistence:
|
|
|
|
config:
|
|
|
|
enabled: true
|
|
|
|
type: configMap
|
|
|
|
name: vector-agent-configmap
|
|
|
|
globalMounts:
|
|
|
|
- path: /etc/vector/vector.yaml
|
|
|
|
subPath: vector.yaml
|
|
|
|
readOnly: true
|
|
|
|
data:
|
|
|
|
type: emptyDir
|
|
|
|
globalMounts:
|
|
|
|
- path: /vector-data-dir
|
|
|
|
procfs:
|
|
|
|
type: hostPath
|
|
|
|
hostPath: /proc
|
|
|
|
hostPathType: Directory
|
|
|
|
globalMounts:
|
|
|
|
- path: /host/proc
|
|
|
|
readOnly: true
|
|
|
|
sysfs:
|
|
|
|
type: hostPath
|
|
|
|
hostPath: /sys
|
|
|
|
hostPathType: Directory
|
|
|
|
globalMounts:
|
|
|
|
- path: /host/sys
|
|
|
|
readOnly: true
|
|
|
|
var-lib:
|
|
|
|
type: hostPath
|
|
|
|
hostPath: /var/lib
|
|
|
|
hostPathType: Directory
|
|
|
|
globalMounts:
|
|
|
|
- readOnly: true
|
|
|
|
var-log:
|
|
|
|
type: hostPath
|
|
|
|
hostPath: /var/log
|
|
|
|
hostPathType: Directory
|
|
|
|
globalMounts:
|
|
|
|
- readOnly: true
|