Merge pull request 'Add Victoria Metrics' (#495) from victoria-metrics into main
Reviewed-on: jahanson/homelab#495
This commit is contained in:
commit
5b1f9669c3
6 changed files with 58 additions and 3 deletions
22
kubernetes/apps/victoria-metrics/app/helmrelease.yaml
Normal file
22
kubernetes/apps/victoria-metrics/app/helmrelease.yaml
Normal 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
|
6
kubernetes/apps/victoria-metrics/app/kustomization.yaml
Normal file
6
kubernetes/apps/victoria-metrics/app/kustomization.yaml
Normal 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
|
8
kubernetes/apps/victoria-metrics/kustomization.yaml
Normal file
8
kubernetes/apps/victoria-metrics/kustomization.yaml
Normal 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
|
8
kubernetes/apps/victoria-metrics/namespace.yaml
Normal file
8
kubernetes/apps/victoria-metrics/namespace.yaml
Normal 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"
|
|
@ -21,16 +21,17 @@ resources:
|
||||||
- ingress-nginx.yaml
|
- ingress-nginx.yaml
|
||||||
- intel.yaml
|
- intel.yaml
|
||||||
- jetstack.yaml
|
- jetstack.yaml
|
||||||
|
- kubernetes-sigs-external-dns.yaml
|
||||||
|
- kubernetes-sigs-metrics-server.yaml
|
||||||
- kubernetes-sigs-nfd.yaml
|
- kubernetes-sigs-nfd.yaml
|
||||||
- kyverno.yaml
|
- kyverno.yaml
|
||||||
- kubernetes-sigs-metrics-server.yaml
|
|
||||||
- kubernetes-sigs-external-dns.yaml
|
|
||||||
- nvidia.yaml
|
- nvidia.yaml
|
||||||
- openebs.yaml
|
- openebs.yaml
|
||||||
- piraeus.yaml
|
- piraeus.yaml
|
||||||
- postfinance.yaml
|
- postfinance.yaml
|
||||||
- prometheus-community.yaml
|
- prometheus-community.yaml
|
||||||
- rook-ceph.yaml
|
- rook-ceph.yaml
|
||||||
|
- spegel-org.yaml
|
||||||
- stakater.yaml
|
- stakater.yaml
|
||||||
- stevehipwell.yaml
|
- stevehipwell.yaml
|
||||||
- spegel-org.yaml
|
- victoria-metrics.yaml
|
||||||
|
|
10
kubernetes/flux/repositories/helm/victoria-metrics.yaml
Normal file
10
kubernetes/flux/repositories/helm/victoria-metrics.yaml
Normal 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
|
Loading…
Reference in a new issue