Skip to main content

Vector


설치

helm repo add vector https://helm.vector.dev
helm repo update vector \
&& helm search repo vector/vector -l | head -n 10
helm pull vector/vector --version 0.32.0
helm show values vector/vector --version 0.32.0 > vector-0.32.0.yaml
vector-values.yaml
role: Agent

tolerations: []

customConfig:
api:
enabled: true
address: 127.0.0.1:8686
playground: false

sources: {}

transforms: {}

sinks: {}

defaultVolumeMounts:
- name: var-log
mountPath: "/var/log/"
readOnly: true
- name: var-lib
mountPath: "/var/lib"
- name: procfs
mountPath: "/host/proc"
readOnly: true
- name: sysfs
mountPath: "/host/sys"
readOnly: true
helm template vector vector-0.32.0.tgz \
-n monitoring \
-f vector-values.yaml \
> vector.yaml
helm upgrade vector vector-0.32.0.tgz \
--install \
--max-history 5 \
-n monitoring \
-f vector-values.yaml

삭제

helm uninstall -n monitoring vector