Skip to content

Commit

Permalink
replace vlogs helmchart by operator
Browse files Browse the repository at this point in the history
Signed-off-by: Andrei Kvapil <[email protected]>
  • Loading branch information
kvaps committed Aug 28, 2024
1 parent 0f4d416 commit 9632a6b
Show file tree
Hide file tree
Showing 74 changed files with 36,231 additions and 23,168 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
apiVersion: grafana.integreatly.org/v1beta1
kind: GrafanaDatasource
metadata:
name: vlog-{{ .name }}
name: vlogs-{{ .name }}
spec:
datasource:
access: proxy
type: victorialogs-datasource
name: vlog-{{ .name }}
url: http://vlog-{{ .name }}-0.vlog-{{ .name }}.{{ $.Release.Namespace }}.svc:9428
name: vlogs-{{ .name }}
url: http://vlogs-{{ .name }}.{{ $.Release.Namespace }}.svc:9428
instanceSelector:
matchLabels:
dashboards: grafana
Expand Down
31 changes: 0 additions & 31 deletions packages/extra/monitoring/templates/vlogs/vlogs-release.yaml

This file was deleted.

15 changes: 15 additions & 0 deletions packages/extra/monitoring/templates/vlogs/vlogs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{{- range .Values.logsStorages }}
apiVersion: operator.victoriametrics.com/v1beta1
kind: VLogs
metadata:
name: {{ .name }}
spec:
storage:
resources:
requests:
storage: {{ .storage }}
storageClassName: {{ .storageClassName }}
accessModes: [ReadWriteOnce]
retentionPeriod: "{{ .retentionPeriod }}"
removePvcAfterDelete: true
{{- end }}
2 changes: 1 addition & 1 deletion packages/extra/monitoring/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ metricsStorages:
##
logsStorages:
- name: generic
retentionPeriod: "1m"
retentionPeriod: "1"
storage: 10Gi
storageClassName: replicated

Expand Down
2 changes: 1 addition & 1 deletion packages/system/monitoring/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ fluent-bit:
[OUTPUT]
Name http
Match kube.*
Host vlog-generic.tenant-root.svc
Host vlogs-generic.tenant-root.svc
port 9428
compress gzip
uri /insert/jsonline?_stream_fields=stream,kubernetes_pod_name,kubernetes_container_name,kubernetes_namespace_name&_msg_field=log&_time_field=date
Expand Down
1 change: 0 additions & 1 deletion packages/system/victoria-logs/.helmignore

This file was deleted.

3 changes: 0 additions & 3 deletions packages/system/victoria-logs/Chart.yaml

This file was deleted.

11 changes: 0 additions & 11 deletions packages/system/victoria-logs/Makefile

This file was deleted.

225 changes: 0 additions & 225 deletions packages/system/victoria-logs/charts/victoria-logs-single/CHANGELOG.md

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit 9632a6b

Please sign in to comment.