Files
homelab-infra/platform/observability/logs/helm.sh
T
panxiao81 88a02ababa
lint / yaml (push) Has been cancelled
lint / ansible (push) Has been cancelled
lint / terraform (push) Has been cancelled
Establish clean homelab infrastructure baseline
Reorganize the brownfield repository, remove retired and generated artifacts, harden ignore rules, and record the GitOps/IaC redesign.
2026-09-09 16:47:20 +00:00

16 lines
560 B
Bash
Executable File

#!/usr/bin/env bash
# Deploy the pod-log collector (vlagent DaemonSet) that ships container logs to the
# VLSingle instance created by ./vlsingle.yaml. Apply vlsingle.yaml first.
set -euo pipefail
kubectl apply -f vlsingle.yaml
helm repo add vm https://victoriametrics.github.io/helm-charts/
helm repo update vm
# Pin --version after the first install (helm search repo vm/victoria-logs-collector --versions).
helm upgrade --install victoria-logs-collector vm/victoria-logs-collector \
--namespace monitoring \
--values collector-values.yaml \
--wait