feat(operators): add Victoria Metrics operator
This commit is contained in:
parent
f85a269f38
commit
df138d257f
4 changed files with 51 additions and 0 deletions
9
apps/victoriametrics/base/kustomization.yaml
Normal file
9
apps/victoriametrics/base/kustomization.yaml
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- github.com/VictoriaMetrics/operator/config/base?ref=v0.47.3
|
||||
|
||||
images:
|
||||
- name: manager
|
||||
newName: victoriametrics/operator
|
||||
newTag: v0.47.3
|
||||
11
apps/victoriametrics/overlays/system/config.json
Normal file
11
apps/victoriametrics/overlays/system/config.json
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"appName": "victoriametrics",
|
||||
"userGivenName": "victoriametrics",
|
||||
"destNamespace": "monitoring-system",
|
||||
"destServer": "https://kubernetes.default.svc",
|
||||
"srcPath": "apps/victoriametrics/overlays/system",
|
||||
"srcRepoURL": "ssh://git@gitea-ssh.gitops.svc.cluster.local:2222/davad/argo.git",
|
||||
"srcTargetRevision": "",
|
||||
"labels": null,
|
||||
"annotations": null
|
||||
}
|
||||
9
apps/victoriametrics/overlays/system/kustomization.yaml
Normal file
9
apps/victoriametrics/overlays/system/kustomization.yaml
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- ../../base
|
||||
|
||||
namespace: monitoring-system
|
||||
|
||||
patches:
|
||||
- manager.patch.yaml
|
||||
22
apps/victoriametrics/overlays/system/manager.patch.yaml
Normal file
22
apps/victoriametrics/overlays/system/manager.patch.yaml
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
labels:
|
||||
control-plane: vm-operator
|
||||
name: vm-operator
|
||||
spec:
|
||||
template:
|
||||
spec:
|
||||
containers:
|
||||
- name: manager
|
||||
env:
|
||||
- name: VM_ENABLEDPROMETHEUSCONVERTER_PODMONITOR
|
||||
value: "false"
|
||||
- name: VM_ENABLEDPROMETHEUSCONVERTER_SERVICESCRAPE
|
||||
value: "false"
|
||||
- name: VM_ENABLEDPROMETHEUSCONVERTER_PROMETHEUSRULE
|
||||
value: "false"
|
||||
- name: VM_ENABLEDPROMETHEUSCONVERTER_PROBE
|
||||
value: "false"
|
||||
- name: VM_ENABLEDPROMETHEUSCONVERTER_ALERTMANAGERCONFIG
|
||||
value: "false"
|
||||
Loading…
Add table
Add a link
Reference in a new issue