feat(victoria-metrics): add configuration files for Victoria Metrics operator and resources
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"permissions": {
|
||||
"allow": [
|
||||
"Bash(helm show *)"
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: victoria-metrics-operator
|
||||
namespace: argocd
|
||||
annotations:
|
||||
argocd.argoproj.io/sync-wave: "-1"
|
||||
spec:
|
||||
project: default
|
||||
destination:
|
||||
namespace: victoria-metrics
|
||||
server: https://kubernetes.default.svc
|
||||
sources:
|
||||
- repoURL: git@git.janis-eccarius.de:NowChess/GitOps.git
|
||||
path: ./victoria-metrics-operator/eu-central-1
|
||||
targetRevision: main
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: true
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
- ServerSideApply=true
|
||||
@@ -0,0 +1,9 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
helmCharts:
|
||||
- name: victoria-metrics-operator
|
||||
repo: https://victoriametrics.github.io/helm-charts/
|
||||
version: 0.62.1
|
||||
releaseName: victoria-metrics-operator
|
||||
namespace: victoria-metrics
|
||||
valuesFile: values.yaml
|
||||
@@ -0,0 +1,13 @@
|
||||
resources:
|
||||
requests:
|
||||
cpu: 20m
|
||||
memory: 30Mi
|
||||
limits:
|
||||
cpu: 200m
|
||||
memory: 60Mi
|
||||
|
||||
operator:
|
||||
disable_prometheus_converter: false
|
||||
|
||||
crds:
|
||||
plain: true
|
||||
@@ -2,16 +2,9 @@
|
||||
# VMSingle service: vmsingle-vm-stack.victoria-metrics.svc.cluster.local:8428
|
||||
# VMAlert service: vmalert-vm-stack.victoria-metrics.svc.cluster.local:8080
|
||||
|
||||
# Operator installed separately (victoria-metrics-operator app, sync-wave -1)
|
||||
victoria-metrics-operator:
|
||||
resources:
|
||||
requests:
|
||||
cpu: 20m
|
||||
memory: 30Mi
|
||||
limits:
|
||||
cpu: 200m
|
||||
memory: 60Mi
|
||||
operator:
|
||||
disable_prometheus_converter: false
|
||||
enabled: false
|
||||
|
||||
vmsingle:
|
||||
enabled: true
|
||||
|
||||
Reference in New Issue
Block a user