René's URL Explorer Experiment


Title: feat(monitoring): switch VLogs to cluster mode for secure tenant log isolation · Issue #2000 · cozystack/cozystack · GitHub

Open Graph Title: feat(monitoring): switch VLogs to cluster mode for secure tenant log isolation · Issue #2000 · cozystack/cozystack

X Title: feat(monitoring): switch VLogs to cluster mode for secure tenant log isolation · Issue #2000 · cozystack/cozystack

Description: Problem PR #1971 proposes adding NetworkPolicy egress to VLogs pods so that nested cluster Fluent Bit instances can forward logs to the parent tenant's VLogs. However, VLogs in single-node mode exposes both write (/insert/*) and read (/s...

Open Graph Description: Problem PR #1971 proposes adding NetworkPolicy egress to VLogs pods so that nested cluster Fluent Bit instances can forward logs to the parent tenant's VLogs. However, VLogs in single-node mode exp...

X Description: Problem PR #1971 proposes adding NetworkPolicy egress to VLogs pods so that nested cluster Fluent Bit instances can forward logs to the parent tenant's VLogs. However, VLogs in single-node mode...

Opengraph URL: https://github.com/cozystack/cozystack/issues/2000

X: @github

direct link

Domain: patch-diff.githubusercontent.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"feat(monitoring): switch VLogs to cluster mode for secure tenant log isolation","articleBody":"## Problem\n\nPR #1971 proposes adding NetworkPolicy egress to VLogs pods so that nested cluster Fluent Bit instances can forward logs to the parent tenant's VLogs. However, VLogs in single-node mode exposes both write (`/insert/*`) and read (`/select/*`) endpoints on the same port (9428). If we open NetworkPolicy egress to VLogs, a child tenant would be able to query `/select/*` and read ALL logs stored in the parent tenant's VLogs — including logs from other tenants.\n\nThis is why PR #1971 cannot be merged as-is (see kvaps' comment about the security concern).\n\n**Note on metrics**: vminsert is architecturally write-only — it has no query endpoints. The existing NetworkPolicy egress to vminsert is secure. This issue is VLogs-specific.\n\n## Current State\n\n- VLogs is deployed via the deprecated `VLogs` CRD (`operator.victoriametrics.com/v1beta1`) in single-node mode\n- victoria-metrics-operator is at v0.55.0\n- VictoriaLogs image is v1.17.0\n- The `VLogs` CRD will become read-only after operator v0.61.0\n\n## Proposed Solution\n\nSwitch VLogs from single-node to **cluster mode** using the `VLCluster` CRD (introduced in operator v0.59.0):\n\n- **vlinsert** — write-only component, accepts logs from tenants\n- **vlselect** — read-only component, handles log queries\n- **vlstorage** — storage backend\n\nWith this architecture, tenant NetworkPolicy egress would target only vlinsert pods (write-only by design, with `-select.disable` flag). Tenants can ingest logs but cannot read them. This mirrors the existing vminsert/vmselect separation for metrics.\n\n### Prerequisites\n\n1. Upgrade victoria-metrics-operator from v0.55.0 to v0.59.0+ (current stable: v0.67.0)\n2. Migrate from deprecated `VLogs` CRD (v1beta1) to `VLCluster` CRD (v1)\n3. Update VictoriaLogs image to a cluster-capable version\n\nThis also addresses the upcoming `VLogs` CRD deprecation.\n\n### Alternative\n\nDeploy vmauth (VictoriaMetrics auth proxy) in front of single-node VLogs, routing only `/insert/*` paths to tenants. Simpler but adds an extra component without solving the CRD deprecation.\n\n## References\n\n- #1971 — PR that surfaced this issue (tenant log forwarding NetworkPolicy)\n- #1970 — Related bug report","author":{"url":"https://github.com/lexfrei","@type":"Person","name":"lexfrei"},"datePublished":"2026-02-08T22:29:13.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/2000/cozystack/issues/2000"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:75253961-db4c-ced0-f86e-9dc4c6d99b63
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id9A76:370505:89AFDC:BAC804:698E3AAC
html-safe-nonce6d2fcc33776f170a7fbbaa8b73f69ca77f0e7918630a3c5dc4c761a33fe9ec54
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5QTc2OjM3MDUwNTo4OUFGREM6QkFDODA0OjY5OEUzQUFDIiwidmlzaXRvcl9pZCI6IjczNzQ5ODU3NzI3NzA2NzEyNzYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacb5c589f0467c13420ae279e555ce4ea1121bc93862427a21da2d01f508133a7b
hovercard-subject-tagissue:3913705180
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/cozystack/cozystack/2000/issue_layout
twitter:imagehttps://opengraph.githubassets.com/09856f70730259c9d0eb909b77a7e27ea58281731cfce42bdb409e7c0e81af64/cozystack/cozystack/issues/2000
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/09856f70730259c9d0eb909b77a7e27ea58281731cfce42bdb409e7c0e81af64/cozystack/cozystack/issues/2000
og:image:altProblem PR #1971 proposes adding NetworkPolicy egress to VLogs pods so that nested cluster Fluent Bit instances can forward logs to the parent tenant's VLogs. However, VLogs in single-node mode exp...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamelexfrei
hostnamegithub.com
expected-hostnamegithub.com
Nonea5632af64f7fed7bff1d6a428d1aca1b94fa7a48f760de2d39d9b1effdbf0082
turbo-cache-controlno-preview
go-importgithub.com/cozystack/cozystack git https://github.com/cozystack/cozystack.git
octolytics-dimension-user_id202342215
octolytics-dimension-user_logincozystack
octolytics-dimension-repository_id721858229
octolytics-dimension-repository_nwocozystack/cozystack
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id721858229
octolytics-dimension-repository_network_root_nwocozystack/cozystack
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releaseaa1fa9100f85cd8b602c63c7e337f9151e70024f
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/cozystack/cozystack/issues/2000#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcozystack%2Fcozystack%2Fissues%2F2000
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcozystack%2Fcozystack%2Fissues%2F2000
Sign up https://patch-diff.githubusercontent.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=cozystack%2Fcozystack
Reloadhttps://patch-diff.githubusercontent.com/cozystack/cozystack/issues/2000
Reloadhttps://patch-diff.githubusercontent.com/cozystack/cozystack/issues/2000
Reloadhttps://patch-diff.githubusercontent.com/cozystack/cozystack/issues/2000
cozystack https://patch-diff.githubusercontent.com/cozystack
cozystackhttps://patch-diff.githubusercontent.com/cozystack/cozystack
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2Fcozystack%2Fcozystack
Fork 139 https://patch-diff.githubusercontent.com/login?return_to=%2Fcozystack%2Fcozystack
Star 1.9k https://patch-diff.githubusercontent.com/login?return_to=%2Fcozystack%2Fcozystack
Code https://patch-diff.githubusercontent.com/cozystack/cozystack
Issues 74 https://patch-diff.githubusercontent.com/cozystack/cozystack/issues
Pull requests 37 https://patch-diff.githubusercontent.com/cozystack/cozystack/pulls
Discussions https://patch-diff.githubusercontent.com/cozystack/cozystack/discussions
Actions https://patch-diff.githubusercontent.com/cozystack/cozystack/actions
Projects 0 https://patch-diff.githubusercontent.com/cozystack/cozystack/projects
Security 0 https://patch-diff.githubusercontent.com/cozystack/cozystack/security
Insights https://patch-diff.githubusercontent.com/cozystack/cozystack/pulse
Code https://patch-diff.githubusercontent.com/cozystack/cozystack
Issues https://patch-diff.githubusercontent.com/cozystack/cozystack/issues
Pull requests https://patch-diff.githubusercontent.com/cozystack/cozystack/pulls
Discussions https://patch-diff.githubusercontent.com/cozystack/cozystack/discussions
Actions https://patch-diff.githubusercontent.com/cozystack/cozystack/actions
Projects https://patch-diff.githubusercontent.com/cozystack/cozystack/projects
Security https://patch-diff.githubusercontent.com/cozystack/cozystack/security
Insights https://patch-diff.githubusercontent.com/cozystack/cozystack/pulse
New issuehttps://patch-diff.githubusercontent.com/login?return_to=https://github.com/cozystack/cozystack/issues/2000
New issuehttps://patch-diff.githubusercontent.com/login?return_to=https://github.com/cozystack/cozystack/issues/2000
feat(monitoring): switch VLogs to cluster mode for secure tenant log isolationhttps://patch-diff.githubusercontent.com/cozystack/cozystack/issues/2000#top
securitySecurity-related issues and featureshttps://github.com/cozystack/cozystack/issues?q=state%3Aopen%20label%3A%22security%22
https://github.com/lexfrei
https://github.com/lexfrei
lexfreihttps://github.com/lexfrei
on Feb 8, 2026https://github.com/cozystack/cozystack/issues/2000#issue-3913705180
#1971https://github.com/cozystack/cozystack/pull/1971
#1971https://github.com/cozystack/cozystack/pull/1971
[tenant] fix: allow egress to vlogs in parent tenants #1971https://github.com/cozystack/cozystack/pull/1971
Nested cluster Fluent Bit cannot send logs to parent VLogs: missing vlogs in tenant egress policy #1970https://github.com/cozystack/cozystack/issues/1970
securitySecurity-related issues and featureshttps://github.com/cozystack/cozystack/issues?q=state%3Aopen%20label%3A%22security%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.