Files
homelab-infra/platform/observability/operator/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

21 lines
704 B
Bash
Executable File

#!/usr/bin/env bash
# Install / upgrade the VictoriaMetrics operator into the monitoring namespace.
# The operator owns the VM* + VLSingle CRDs that everything else in this folder relies on.
set -euo pipefail
kubectl apply -f ../namespace.yaml
helm repo add vm https://victoriametrics.github.io/helm-charts/
helm repo update vm
# Pin the chart version after the first install for reproducibility:
# helm search repo vm/victoria-metrics-operator --versions | head
# then add: --version <x.y.z>
helm upgrade --install vm-operator vm/victoria-metrics-operator \
--namespace monitoring \
--values values.yaml \
--wait
# CRDs land cluster-wide; verify:
# kubectl get crd | grep victoriametrics