feat(monitoring): migrate VictoriaLogs from VLogs to VLCluster by sircthulhu · Pull Request #2153 · cozystack/cozystack

@sircthulhu self-assigned this

Mar 5, 2026

gemini-code-assist[bot]

@dosubot dosubot bot added the size:XL

This PR changes 500-999 lines, ignoring generated files.

label

Mar 10, 2026

@sircthulhu @claude

Upgrade from v0.55.0 to v0.68.1 to add VLCluster CRD support,
which is required for migrating VictoriaLogs from single-node
to cluster mode.

Co-Authored-By: Claude <noreply@anthropic.com>
Signed-off-by: Kirill Ilin <stitch14@yandex.ru>

@sircthulhu @claude

Replace deprecated single-node VLogs CR with VLCluster (cluster mode)
for reliability and horizontal scalability.

Changes:
- Replace VLogs (v1beta1) with VLCluster (v1) using vlinsert/vlselect/vlstorage
- Update fluent-bit outputs to vlinsert-generic:9481
- Update Grafana datasource to vlselect:9471
- Update ExternalName service from vlogs-generic to vlinsert-generic
- Add VPA for all VLCluster components
- Update WorkloadMonitors for three-component architecture
- Add migration 35 to preserve old VLogs resources with keep annotation

Co-Authored-By: Claude <noreply@anthropic.com>
Signed-off-by: Kirill Ilin <stitch14@yandex.ru>

coderabbitai[bot]

coderabbitai[bot]

@sircthulhu @claude

After migrating VictoriaLogs from VLogs to VLCluster, the e2e test
still waited for the old vlogs/generic resource which no longer exists.

Co-Authored-By: Claude <noreply@anthropic.com>
Signed-off-by: Kirill Ilin <stitch14@yandex.ru>

coderabbitai[bot]

@sircthulhu @claude

The victoria-metrics-operator v0.68.1 renamed VMCluster status field
from .status.clusterStatus to .status.updateStatus.

Co-Authored-By: Claude <noreply@anthropic.com>
Signed-off-by: Kirill Ilin <stitch14@yandex.ru>

@dosubot dosubot bot added the lgtm

This PR has been approved by a maintainer

label

Mar 11, 2026

@kvaps kvaps deleted the feat/migrate-vlogs-to-vlcluster branch

March 11, 2026 07:58