Merge pull request 'Add Victoria Metrics' (#495) from victoria-metrics into main

Reviewed-on: jahanson/homelab#495
This commit is contained in:
Joseph Hanson 2024-08-08 16:12:00 -05:00
commit 5b1f9669c3
6 changed files with 58 additions and 3 deletions

View file

@ -0,0 +1,22 @@
---
# yaml-language-server: $schema=https://raw.githubusercontent.com/bjw-s/helm-charts/main/charts/other/app-template/schemas/helmrelease-helm-v2beta2.schema.json
apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease
metadata:
name: victoria-metrics-operator
namespace: monitoring
spec:
interval: 30m
chart:
spec:
chart: victoria-metrics-k8s-stack
version: 0.23.2
sourceRef:
kind: HelmRepository
name: victoria-metrics
values:
fullnameOverride: victoria-metrics
# VM Operator deployment
victoria-metrics-operator:
enabled: true

View file

@ -0,0 +1,6 @@
---
# yaml-language-server: $schema=https://json.schemastore.org/kustomization
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- ./helmrelease.yaml

View file

@ -0,0 +1,8 @@
---
# yaml-language-server: $schema=https://json.schemastore.org/kustomization
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
# Pre Flux-Kustomizations
- ./namespace.yaml
# Flux-Kustomizations

View file

@ -0,0 +1,8 @@
---
apiVersion: v1
kind: Namespace
metadata:
name: victoria-metrics
labels:
kustomize.toolkit.fluxcd.io/prune: disabled
pgo-enabled-hsn.dev: "true"

View file

@ -21,16 +21,17 @@ resources:
- ingress-nginx.yaml
- intel.yaml
- jetstack.yaml
- kubernetes-sigs-external-dns.yaml
- kubernetes-sigs-metrics-server.yaml
- kubernetes-sigs-nfd.yaml
- kyverno.yaml
- kubernetes-sigs-metrics-server.yaml
- kubernetes-sigs-external-dns.yaml
- nvidia.yaml
- openebs.yaml
- piraeus.yaml
- postfinance.yaml
- prometheus-community.yaml
- rook-ceph.yaml
- spegel-org.yaml
- stakater.yaml
- stevehipwell.yaml
- spegel-org.yaml
- victoria-metrics.yaml

View file

@ -0,0 +1,10 @@
---
# yaml-language-server: $schema=https://ks.hsn.dev/source.toolkit.fluxcd.io/helmrepository_v1beta2.json
apiVersion: source.toolkit.fluxcd.io/v1
kind: HelmRepository
metadata:
name: victoria-metrics
spec:
interval: 30m
url: https://victoriametrics.github.io/helm-charts/
timeout: 3m