Repository navigation
fix(p5): select app Pods by tenant label in the RAG Service (DRF-71) - #80
Merged
Merged
Conversation
Found in window P5-L3-20261125-01: /readyz and /query through the Service timed out under allow-app-same-tenant. The VPC CNI checks egress before the Service IP is translated, and its controller adds a ClusterIP to the egress PolicyEndpoint only when the Service selector holds the peer podSelector labels. The Service selected by name and sandbox only. A diagnostic Service with the tenant label added was reachable and its ClusterIP was allowed. Second in-window fix (deviation from A16, owner approved). Codex review after the window. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This was referenced Nov 25, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Found during window
P5-L3-20261125-01.window.sh probe sandboxfailed/readyzand/querythrough the Service (timeout) for both tenants; secret, DB, vector query and bucket passed.Cause (checked on the cluster with diagnostic Jobs in
tenant-a, removed after):rag-docs-qarag.zero-drift.io/tenantThe VPC CNI checks egress before the Service IP is translated. Its controller adds a ClusterIP to the egress PolicyEndpoint only when the Service selector holds the NetworkPolicy peer labels.
allow-app-same-tenantpeers onrag.zero-drift.io/tenant; the Service selected onlyapp.kubernetes.io/nameandrag.zero-drift.io/sandbox. kind never showed this (different CNI).Change: add
rag.zero-drift.io/tenant: ${schema.metadata.namespace}to the Service selector ingitops/platform/rgd/rag-sandbox.yaml. The app Pod template already carries this label (Kyvernozdr-tenant-label).Checks:
gitops/check.shPASS;check_guards.sh77 cases PASS;kubectl apply --dry-run=serveron the window cluster accepted the RGD.kyverno testruns in CI (Docker was off locally).Second in-window fix, a deviation from A16 approved by the owner. Codex review is due after the window (RGD change).
🤖 Generated with Claude Code