The Simplest Way to Make Linkerd and Phabricator Work Like They Should
Running linkerd and phabricator together secures internal code review traffic with mutual TLS. This pair lets your team route, check, and encrypt requests to developer tools. Phabricator hosts code reviews, tasks, and git repos for your team. Linkerd runs as a service mesh inside your cluster. It adds tiny sidecars next to each running app. When you combine them, the mesh handles network security for your code host. How traffic and roles flow between linkerd and phabricator Traffic enters th
Your coding agents run with your access.
Claude Code reaches prod with a developer's credentials, and approval prompts get clicked through. hoop.dev checks every query, masks sensitive data, and holds risky changes for a human.
Running linkerd and phabricator together secures internal code review traffic with mutual TLS. This pair lets your team route, check, and encrypt requests to developer tools.
Phabricator hosts code reviews, tasks, and git repos for your team. Linkerd runs as a service mesh inside your cluster. It adds tiny sidecars next to each running app. When you combine them, the mesh handles network security for your code host.
How traffic and roles flow between linkerd and phabricator
Traffic enters the cluster and goes toward the Phabricator web app. Linkerd intercepts that traffic through its local sidecar container. The mesh checks the identity of the calling service using TLS certificates. It encrypts the data in transit between pods inside the cluster.
Once the network packet reaches the app, Phabricator handles user log in steps. The service mesh checks machine identity at the network level. The code review app checks human identity at the user level. Both checks must pass before a developer can read or write code.
Background workers in Phabricator also talk to databases and storage backends. The mesh watches these internal calls and records success rates and latency. Platform teams use these metrics to spot slow queries or broken links early. Good metrics help teams fix slow git pulls before developers notice any lag.
Common failure modes and how to scope network paths
A common failure mode is using shared service accounts for automation bots. Teams often create one broad API token in Phabricator for all cluster jobs. If that token leaks, an attacker gains wide control over your source code. Instead, create a separate bot account with tight roles for each workload.
Another common issue comes from open network paths inside the cluster. By default, any pod in the mesh might talk to the Phabricator web port. You should set up strict network rules in your mesh control plane. Only allow your ingress controller and specific build runners to send requests.
End-to-End Encryption + Linkerd Security Features: architecture patterns and best practices
Continue reading? Get the full guide.
Free. No spam. Unsubscribe anytime.
Protocol detection can also fail when developers push or pull code over SSH. Web traffic uses HTTP, which the mesh understands right away. SSH traffic uses opaque TCP streams that need clear port hints. Make sure your pod specs label every port so the sidecar routes SSH right.
Steps to keep your review workflow fast and safe
Start by putting the Phabricator web tier and worker pods into the mesh. Leave your external database outside the mesh if it runs on managed cloud hardware. Watch the golden metrics in your mesh dashboard during peak work hours. Check for dropped packets or slow responses when big builds run.
Rotate your user tokens and bot keys on a fixed schedule. Audit who has admin rights inside the code review tool every month. Keep your mesh control plane updated so TLS certs rotate on time. If a cert expires, traffic between pods will stop right away.
Logs from both tools should flow into one central log store. Mesh logs show which pod talked to which service and when. App logs show which user approved a diff or changed a task. Matching these two log streams helps you trace incidents from network to user.
Check database and API queries on the wire
Identity tools, roles, and network rules decide who opens a session. Setup alone cannot check what each query does or mask sensitive values in a response once a session starts. When workflows touch Postgres, MySQL, SQL Server, MongoDB, ClickHouse, Kubernetes APIs, SSH, or internal HTTP APIs, hoop.dev runs beside those services as an open-source proxy, a sidecar for your Postgres or API. It inspects requests coming in and results going back on the wire.
Your login details and client tools stay as they are while hoop.dev guardrails refuse bad deletes or drops before they run. On responses, hoop.dev data masking rewrites matched sensitive values in memory. Furthermore, hoop.dev holds SOC 2 Type II, is MIT licensed, and writes every query and decision to an audit trail that generates evidence for HIPAA, GDPR, and PCI DSS. See the source on GitHub.
Frequently asked questions
Does Linkerd replace user log in checks inside Phabricator?
No, the service mesh only handles pod-to-pod identity and network encryption. Phabricator still runs its own user log in and role checks for humans.
Why do git SSH pushes fail after adding the service mesh?
SSH uses raw TCP traffic rather than standard HTTP calls. You must mark the SSH port as an opaque port so the mesh forwards it.
How should build runners talk to Phabricator inside the cluster?
Put the build runners into the mesh so they get their own workload certs. Then write a mesh rule that allows only those runners to call the API.
Related guides
In this post