Syncing Deployments From a Control Plane to Customer Clusters
Last updated: November 29, 2026
Quick Overview
Design how a central control plane reliably applies and reports the state of user deployments across hundreds of customer-owned Kubernetes clusters that may sit behind firewalls with only outbound connectivity.
Truefoundry
November 29, 20260
0
0 solved
Design how a central control plane reliably applies and reports the state of user deployments across hundreds of customer-owned Kubernetes clusters that may sit behind firewalls with only outbound connectivity.
TrueFoundry separates its control plane from compute planes running in customer clouds, so the core platform problem is keeping desired state and actual state in sync over unreliable links. The interviewer checks for a pull-based agent model, idempotent reconciliation and good status reporting.
What the Interviewer Expects
- Agent in each cluster with outbound-only connection
- Versioned desired state and idempotent reconciliation
- Status and events flowing back to the control plane
- Handling disconnects without drift or duplicate actions
- Security: scoped credentials and no inbound ports
Key Topics to Cover
How to Approach This
- Start by clarifying functional and non-functional requirements with the interviewer.
- Estimate the scale: QPS, storage, bandwidth. This drives your design decisions.
- Draw a high-level architecture first, then deep dive into 1-2 critical components.
- Discuss trade-offs explicitly (e.g., consistency vs availability, SQL vs NoSQL).
- Address failure scenarios, monitoring, and how the system handles 10x traffic spikes.
Possible Follow-up Questions
- How would you roll out a breaking agent upgrade to hundreds of clusters?
- How do you detect and handle a user editing resources directly with kubectl?
- What is the latency from a click in the UI to pods starting, and where does it go?
- How would you support GitOps users who want manifests in their own repo?
Sharpen Your Skills on Codemia
Practice similar problems with our interactive workspace, get AI feedback, and track your progress.
Practice System Design ProblemsSample Answer
Requirements
Users create or update deployments in a UI or CLI. The platform must apply them to the right cluster, show live status (pods, events, logs on demand), and survive network partitions. Clusters only all...
High-Level Design
Control plane stores each application spec with a monotonically increasing generation per cluster. Each cluster runs an agent that opens a long-lived outbound gRPC or WebSocket stream to the control p...