Skip to content

Add blog paving-the-way-for-a-new-logging-backend-the-victorialogsbackend-feature-gate#883

Open
gardener-answering-machine wants to merge 1 commit intomasterfrom
blog/2026-03-04-paving-the-way-for-a-new-logging-backend-the-victorialogsbackend-feature-gate
Open

Add blog paving-the-way-for-a-new-logging-backend-the-victorialogsbackend-feature-gate#883
gardener-answering-machine wants to merge 1 commit intomasterfrom
blog/2026-03-04-paving-the-way-for-a-new-logging-backend-the-victorialogsbackend-feature-gate

Conversation

@gardener-answering-machine
Copy link
Copy Markdown
Collaborator

@gardener-answering-machine gardener-answering-machine commented Mar 4, 2026

Purpose

@rrhubenov This is an automatically generated draft pull request proposing a new blog post based on your Gardener review meeting presentation you gave on 2026-03-04 titled:

"Paving the Way for a New Logging Backend: The VictoriaLogsBackend Feature Gate"

The purpose of the blog post is to actively inform the community about new Gardener features or changes, as discussed during review meetings.

Notes to Reviewers

This draft was automatically generated by LLMs using the review meeting recording and referenced materials.
Please evaluate whether this topic is suitable for a blog post. If so, review and edit the content as needed.
If you decide the topic isn't appropriate for a blog post, feel free to close this PR and delete the branch.

⚠️ This is an experimental GenAI feature. Feedback is welcome! Please direct it to @vlerenc. Thank you!

Instructions for Reviewers

❌ If the draft isn't viable

  • Close this PR
  • Delete the branch

✏️ If the draft is viable but requires editing

  1. Clone the repository and change to the directory:
git clone https://github.com/gardener/documentation
cd documentation
  1. Check out the branch:
git fetch origin && git checkout blog/2026-03-04-paving-the-way-for-a-new-logging-backend-the-victorialogsbackend-feature-gate
  1. Review the content in website/blog/2026/03/03-04-paving-the-way-for-a-new-logging-backend-the-victorialogsbackend-feature-gate.md.
  2. Make any necessary edits, additions, or removals, and then push the changes:
git add website/blog/2026/03/03-04-paving-the-way-for-a-new-logging-backend-the-victorialogsbackend-feature-gate.md
git commit --amend --no-edit
git push origin +blog/2026-03-04-paving-the-way-for-a-new-logging-backend-the-victorialogsbackend-feature-gate

✅ If the draft is ready for review

  • Mark this PR as Ready for review
  • Invite additional reviewers (optional step)
  • Comment with /lgtm to approve (required step)

The documentation team will review your PR, as required by branch protection.
They will merge it once you (and any additional reviewers) have approved it.

@rrhubenov Thank you for helping us share valuable updates from the Gardener project with the community!

Summary by CodeRabbit

  • Documentation
    • Published documentation for the VictoriaLogsBackend feature gate, enabling a new logging backend deployment across all cluster types while maintaining compatibility with existing logging infrastructure during migration.

@gardener-prow gardener-prow Bot added do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. do-not-merge/needs-kind Indicates a PR lacks a `kind/foo` label and requires one. labels Mar 4, 2026
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented Mar 4, 2026

📝 Walkthrough

Walkthrough

A blog post is added documenting the VictoriaLogsBackend feature gate for Gardener. It describes how enabling this gate deploys VictoriaLogs alongside the existing Vali instance, with the OpenTelemetry Collector dual-writing logs to both systems to prevent data loss during migration.

Changes

Blog Post: VictoriaLogsBackend Feature Gate Documentation

Layer / File(s) Summary
Blog Post Content
website/blog/2026/03/03-04-paving-the-way-for-a-new-logging-backend-the-victorialogsbackend-feature-gate.md
Front matter (title, author, publish date) and comprehensive post explaining the feature gate behavior, dual-writing mechanism via OpenTelemetry Collector, how to access VictoriaLogs VMUI via port-forwarding, default enablement for local setups, and planned next steps for Vali removal.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Suggested labels

kind/enhancement, area/documentation, lgtm

Poem

🐰 A new logging tale we hop to tell,
Victoria's logs now cast their spell,
Dual streams flow, both paths aligned,
Migration smooth, no logs left behind,
The future bright—Vali's farewell soon! 📝✨

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title directly describes the main change: adding a blog post about the VictoriaLogsBackend feature gate, which aligns with the changeset.
Description check ✅ Passed The description is mostly complete with purpose, reviewer notes, and instructions. However, it lacks the required '/kind' categorization in the template's 'How to categorize this PR?' section.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch blog/2026-03-04-paving-the-way-for-a-new-logging-backend-the-victorialogsbackend-feature-gate

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share
Review rate limit: 0/1 reviews remaining, refill in 60 minutes.

Comment @coderabbitai help to get the list of available commands and usage tips.

@gardener-prow gardener-prow Bot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Mar 4, 2026
@gardener-prow
Copy link
Copy Markdown

gardener-prow Bot commented Mar 4, 2026

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign dimitar-kostadinov for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@netlify
Copy link
Copy Markdown

netlify Bot commented Mar 4, 2026

Deploy Preview for soon-to-be-gardenercloud ready!

Name Link
🔨 Latest commit fb5549f
🔍 Latest deploy log https://app.netlify.com/projects/soon-to-be-gardenercloud/deploys/69a830df79bb9f0008e2fdc2
😎 Deploy Preview https://deploy-preview-883--soon-to-be-gardenercloud.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 64 (🔴 down 1 from production)
Accessibility: 97 (no change from production)
Best Practices: 92 (no change from production)
SEO: 97 (no change from production)
PWA: 90 (no change from production)
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify project configuration.

@gardener-prow gardener-prow Bot added the cla: yes Indicates the PR's author has signed the cla-assistant.io CLA. label Mar 4, 2026
@gardener-ci-robot
Copy link
Copy Markdown

The Gardener project currently lacks enough active contributors to adequately respond to all PRs.
This bot triages PRs according to the following rules:

  • After 30d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 14d of inactivity since lifecycle/rotten was applied, the PR is closed

You can:

  • Mark this PR as active with /lifecycle active
  • Mark this PR as fresh with /remove-lifecycle stale
  • Mark this PR as rotten with /lifecycle rotten
  • Close this PR with /close

/lifecycle stale

@gardener-prow gardener-prow Bot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Apr 3, 2026
@gardener-ci-robot
Copy link
Copy Markdown

The Gardener project currently lacks enough active contributors to adequately respond to all PRs.
This bot triages PRs according to the following rules:

  • After 30d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 14d of inactivity since lifecycle/rotten was applied, the PR is closed

You can:

  • Mark this PR as active with /lifecycle active
  • Mark this PR as fresh with /remove-lifecycle rotten
  • Close this PR with /close

/lifecycle rotten

@gardener-prow gardener-prow Bot added lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. and removed lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. labels May 3, 2026
@rrhubenov rrhubenov marked this pull request as ready for review May 4, 2026 13:25
@rrhubenov rrhubenov requested a review from a team as a code owner May 4, 2026 13:25
@gardener-prow gardener-prow Bot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label May 4, 2026
@rrhubenov
Copy link
Copy Markdown
Member

/lgtm

@gardener-prow
Copy link
Copy Markdown

gardener-prow Bot commented May 4, 2026

@rrhubenov: adding LGTM is restricted to approvers and reviewers in OWNERS files.

Details

In response to this:

/lgtm

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🧹 Nitpick comments (1)
website/blog/2026/03/03-04-paving-the-way-for-a-new-logging-backend-the-victorialogsbackend-feature-gate.md (1)

27-32: ⚡ Quick win

Add a concrete kubectl port-forward example (or placeholders) for the VMUI.

At Line 31, the post tells readers to port-forward the logging-vl service but doesn’t include a command or port mapping, which makes it harder for users to follow precisely. Suggest adding an example command using placeholders for the VMUI port if it’s not uniform across setups (e.g., <VMUI_PORT>), or link to where the port is defined.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In
`@website/blog/2026/03/03-04-paving-the-way-for-a-new-logging-backend-the-victorialogsbackend-feature-gate.md`
around lines 27 - 32, Add a concrete kubectl port-forward example for accessing
the VMUI by showing the command to forward the logging-vl service to a local
port (use placeholders like <VMUI_PORT> and <LOCAL_PORT> if the VMUI port
varies) and include brief guidance about the namespace and how to find the
service port (e.g., reference the logging-vl service and VMUI). Update the
paragraph mentioning "port-forward the `logging-vl` service" to include that
example command and a note directing readers to where the VMUI port is defined
if it isn’t standard.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In
`@website/blog/2026/03/03-04-paving-the-way-for-a-new-logging-backend-the-victorialogsbackend-feature-gate.md`:
- Around line 15-36: The headings in the blog post use h3 (###) where the
document structure expects h2 (MD001); update the top-level section headings
like "A New Feature Gate for a Gradual Transition", "How It Works: Dual-Writing
Logs", "Exploring the New VictoriaLogs UI", and "What's Next?" from ### to ##
and then increment subsequent subsection headings consistently (e.g., make any
nested headings one level deeper than these) so the hierarchy is correct across
the article.

---

Nitpick comments:
In
`@website/blog/2026/03/03-04-paving-the-way-for-a-new-logging-backend-the-victorialogsbackend-feature-gate.md`:
- Around line 27-32: Add a concrete kubectl port-forward example for accessing
the VMUI by showing the command to forward the logging-vl service to a local
port (use placeholders like <VMUI_PORT> and <LOCAL_PORT> if the VMUI port
varies) and include brief guidance about the namespace and how to find the
service port (e.g., reference the logging-vl service and VMUI). Update the
paragraph mentioning "port-forward the `logging-vl` service" to include that
example command and a note directing readers to where the VMUI port is defined
if it isn’t standard.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 3792b965-7a17-4433-869e-57a18acfda5e

📥 Commits

Reviewing files that changed from the base of the PR and between c65e387 and fb5549f.

📒 Files selected for processing (1)
  • website/blog/2026/03/03-04-paving-the-way-for-a-new-logging-backend-the-victorialogsbackend-feature-gate.md

Comment on lines +15 to +36
### A New Feature Gate for a Gradual Transition

The `VictoriaLogsBackend` feature gate, available for both `gardenlet` and `gardener-operator`, allows you to start experimenting with the new logging backend. When enabled, Gardener deploys a `VictoriaLogs` instance in every `Garden`, `Seed`, and `Shoot` cluster.

Crucially, this initial phase is designed for safety and stability. The existing Vali instance remains active and continues to receive logs. This parallel deployment ensures that the logging pipeline is not interrupted during the transition period.

### How It Works: Dual-Writing Logs

With the `VictoriaLogsBackend` feature gate enabled, the OpenTelemetry Collector is reconfigured to send logs to both the existing Vali instance and the new VictoriaLogs instance. This dual-writing mechanism is key to the migration strategy, guaranteeing that no logs are lost and allowing for direct comparison and verification between the two systems.

The architectural change is straightforward: logs collected by Fluent Bit and processed by the OpenTelemetry Collector are now routed to two destinations instead of one.

### Exploring the New VictoriaLogs UI

While Gardener's current dashboarding tool, Plutono, does not have a native integration for VictoriaLogs, you can still explore your logs through the powerful, feature-rich UI provided by VictoriaMetrics itself, known as the VMUI.

To access it, you can port-forward the `logging-vl` service in the respective cluster namespace. The UI offers valuable statistics and a different way to query and visualize your log data. For those running a local Gardener setup, this feature gate is enabled by default, making it easy to start experimenting right away.

### What's Next?

This update represents the first major step in the migration to VictoriaLogs. Future releases will build upon this foundation, culminating in a final step that will introduce another feature gate to cleanly remove Vali, completing the transition. Stay tuned for more updates as we continue to enhance Gardener's observability capabilities.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟡 Minor | ⚡ Quick win

Fix markdownlint heading levels (MD001).

markdownlint reports that at Line 15 it expected an h2 heading but found an h3 (###). To keep the structure consistent, consider changing the first-level headings to ## (and then using one increment level consistently within sections).

Suggested change
-### A New Feature Gate for a Gradual Transition
+## A New Feature Gate for a Gradual Transition
@@
-### How It Works: Dual-Writing Logs
+## How It Works: Dual-Writing Logs
@@
-### Exploring the New VictoriaLogs UI
+## Exploring the New VictoriaLogs UI
@@
-### What's Next?
+## What's Next?
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
### A New Feature Gate for a Gradual Transition
The `VictoriaLogsBackend` feature gate, available for both `gardenlet` and `gardener-operator`, allows you to start experimenting with the new logging backend. When enabled, Gardener deploys a `VictoriaLogs` instance in every `Garden`, `Seed`, and `Shoot` cluster.
Crucially, this initial phase is designed for safety and stability. The existing Vali instance remains active and continues to receive logs. This parallel deployment ensures that the logging pipeline is not interrupted during the transition period.
### How It Works: Dual-Writing Logs
With the `VictoriaLogsBackend` feature gate enabled, the OpenTelemetry Collector is reconfigured to send logs to both the existing Vali instance and the new VictoriaLogs instance. This dual-writing mechanism is key to the migration strategy, guaranteeing that no logs are lost and allowing for direct comparison and verification between the two systems.
The architectural change is straightforward: logs collected by Fluent Bit and processed by the OpenTelemetry Collector are now routed to two destinations instead of one.
### Exploring the New VictoriaLogs UI
While Gardener's current dashboarding tool, Plutono, does not have a native integration for VictoriaLogs, you can still explore your logs through the powerful, feature-rich UI provided by VictoriaMetrics itself, known as the VMUI.
To access it, you can port-forward the `logging-vl` service in the respective cluster namespace. The UI offers valuable statistics and a different way to query and visualize your log data. For those running a local Gardener setup, this feature gate is enabled by default, making it easy to start experimenting right away.
### What's Next?
This update represents the first major step in the migration to VictoriaLogs. Future releases will build upon this foundation, culminating in a final step that will introduce another feature gate to cleanly remove Vali, completing the transition. Stay tuned for more updates as we continue to enhance Gardener's observability capabilities.
## A New Feature Gate for a Gradual Transition
The `VictoriaLogsBackend` feature gate, available for both `gardenlet` and `gardener-operator`, allows you to start experimenting with the new logging backend. When enabled, Gardener deploys a `VictoriaLogs` instance in every `Garden`, `Seed`, and `Shoot` cluster.
Crucially, this initial phase is designed for safety and stability. The existing Vali instance remains active and continues to receive logs. This parallel deployment ensures that the logging pipeline is not interrupted during the transition period.
## How It Works: Dual-Writing Logs
With the `VictoriaLogsBackend` feature gate enabled, the OpenTelemetry Collector is reconfigured to send logs to both the existing Vali instance and the new VictoriaLogs instance. This dual-writing mechanism is key to the migration strategy, guaranteeing that no logs are lost and allowing for direct comparison and verification between the two systems.
The architectural change is straightforward: logs collected by Fluent Bit and processed by the OpenTelemetry Collector are now routed to two destinations instead of one.
## Exploring the New VictoriaLogs UI
While Gardener's current dashboarding tool, Plutono, does not have a native integration for VictoriaLogs, you can still explore your logs through the powerful, feature-rich UI provided by VictoriaMetrics itself, known as the VMUI.
To access it, you can port-forward the `logging-vl` service in the respective cluster namespace. The UI offers valuable statistics and a different way to query and visualize your log data. For those running a local Gardener setup, this feature gate is enabled by default, making it easy to start experimenting right away.
## What's Next?
This update represents the first major step in the migration to VictoriaLogs. Future releases will build upon this foundation, culminating in a final step that will introduce another feature gate to cleanly remove Vali, completing the transition. Stay tuned for more updates as we continue to enhance Gardener's observability capabilities.
🧰 Tools
🪛 markdownlint-cli2 (0.22.1)

[warning] 15-15: Heading levels should only increment by one level at a time
Expected: h2; Actual: h3

(MD001, heading-increment)

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In
`@website/blog/2026/03/03-04-paving-the-way-for-a-new-logging-backend-the-victorialogsbackend-feature-gate.md`
around lines 15 - 36, The headings in the blog post use h3 (###) where the
document structure expects h2 (MD001); update the top-level section headings
like "A New Feature Gate for a Gradual Transition", "How It Works: Dual-Writing
Logs", "Exploring the New VictoriaLogs UI", and "What's Next?" from ### to ##
and then increment subsequent subsection headings consistently (e.g., make any
nested headings one level deeper than these) so the hierarchy is correct across
the article.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla: yes Indicates the PR's author has signed the cla-assistant.io CLA. do-not-merge/needs-kind Indicates a PR lacks a `kind/foo` label and requires one. lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants