Add Victoria Metrics

This commit is contained in:
Joseph Hanson 2024-08-08 16:07:47 -05:00
parent 909de2054e
commit 9a41a3ef76
Signed by: jahanson
SSH key fingerprint: SHA256:vy6dKBECV522aPAwklFM3ReKAVB086rT3oWwiuiFG7o
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