Skip to content

Commit 69077da

Browse files
committed
Add victoria logs with vector
1 parent c1632f6 commit 69077da

File tree

3 files changed

+37
-1
lines changed

3 files changed

+37
-1
lines changed

infra/argo-apps/victoria-logs.yaml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
apiVersion: argoproj.io/v1alpha1
2+
kind: Application
3+
metadata:
4+
name: victoria-logs
5+
namespace: argocd
6+
spec:
7+
project: infra
8+
sources:
9+
- repoURL: https://github.com/code4romania/code4ro-k8s.git
10+
targetRevision: HEAD
11+
ref: myRepo
12+
- repoURL: https://victoriametrics.github.io/helm-charts
13+
targetRevision: 0.11.6
14+
chart: victoria-logs-single
15+
helm:
16+
valueFiles:
17+
- $myRepo/infra/victoria-logs/helm-chart-values/values.yaml
18+
destination:
19+
namespace: victoria-logs
20+
server: https://kubernetes.default.svc
21+
syncPolicy:
22+
syncOptions:
23+
- CreateNamespace=true

infra/argo-apps/victoria-metrics.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ spec:
1616
targetRevision: HEAD
1717
ref: myRepo
1818
- repoURL: https://victoriametrics.github.io/helm-charts
19-
targetRevision: 0.58.3
19+
targetRevision: 0.59.0
2020
chart: victoria-metrics-k8s-stack
2121
helm:
2222
valueFiles:
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
server:
2+
retentionPeriod: 30d
3+
4+
persistentVolume:
5+
size: 5Gi
6+
7+
vector:
8+
enabled: true
9+
10+
dashboards:
11+
enabled: true
12+
labels:
13+
grafana_dashboard: "1"

0 commit comments

Comments
 (0)