PracHub
QuestionsPremiumLearningGuidesCheatsheetNEWCoaches
|Home/System Design/Salesforce

Design a pipeline orchestration system on Kubernetes

Last updated: Apr 23, 2026

Quick Overview

This question evaluates a candidate's ability to design scalable, highly available pipeline and workflow orchestration systems on Kubernetes, emphasizing DAG-based scheduling, containerized task execution, retry and failure handling, multi-tenant RBAC, and observability.

  • medium
  • Salesforce
  • System Design
  • Software Engineer

Design a pipeline orchestration system on Kubernetes

Company: Salesforce

Role: Software Engineer

Category: System Design

Difficulty: medium

Interview Round: Onsite

Design a **pipeline/workflow orchestration system** (similar to a DAG-based scheduler) that runs workloads on **Kubernetes**. ### Functional requirements - Users can define pipelines as **DAGs** of tasks (task dependencies). - Tasks run as containerized jobs on Kubernetes. - Support scheduling (cron / interval), ad-hoc runs, and manual retries. - Track task/run states (queued, running, success, failed, cancelled). - Provide logs per task and basic UI/API to view pipeline status. - Retry policy, timeouts, and failure notifications. ### Non-functional requirements - Multi-tenant support (teams/namespaces) and RBAC. - Scale to many concurrent runs (e.g., thousands of tasks/minute). - High availability of control plane. - Handle worker/pod failures and scheduler restarts. - Observability: metrics, tracing, structured logs. ### Constraints / assumptions - You can assume Kubernetes is available. - You can choose the storage, queue, and execution model. Describe the high-level architecture, core components, data model, and how you handle scheduling, execution, retries, and failure recovery.

Quick Answer: This question evaluates a candidate's ability to design scalable, highly available pipeline and workflow orchestration systems on Kubernetes, emphasizing DAG-based scheduling, containerized task execution, retry and failure handling, multi-tenant RBAC, and observability.

Related Interview Questions

  • Design a TikTok-like short video platform - Salesforce (medium)
  • Design a scalable coffee ordering notification system - Salesforce (medium)
  • Design a configurable monthly API rate limiter - Salesforce (medium)
  • Design an async job system and cache layer - Salesforce (hard)
  • Design a coffee ordering system - Salesforce (medium)
Salesforce logo
Salesforce
Feb 11, 2026, 12:00 AM
Software Engineer
Onsite
System Design
8
0
Loading...

Design a pipeline/workflow orchestration system (similar to a DAG-based scheduler) that runs workloads on Kubernetes.

Functional requirements

  • Users can define pipelines as DAGs of tasks (task dependencies).
  • Tasks run as containerized jobs on Kubernetes.
  • Support scheduling (cron / interval), ad-hoc runs, and manual retries.
  • Track task/run states (queued, running, success, failed, cancelled).
  • Provide logs per task and basic UI/API to view pipeline status.
  • Retry policy, timeouts, and failure notifications.

Non-functional requirements

  • Multi-tenant support (teams/namespaces) and RBAC.
  • Scale to many concurrent runs (e.g., thousands of tasks/minute).
  • High availability of control plane.
  • Handle worker/pod failures and scheduler restarts.
  • Observability: metrics, tracing, structured logs.

Constraints / assumptions

  • You can assume Kubernetes is available.
  • You can choose the storage, queue, and execution model.

Describe the high-level architecture, core components, data model, and how you handle scheduling, execution, retries, and failure recovery.

Solution

Show

Comments (0)

Sign in to leave a comment

Loading comments...

Browse More Questions

More System Design•More Salesforce•More Software Engineer•Salesforce Software Engineer•Salesforce System Design•Software Engineer System Design
PracHub

Master your tech interviews with 7,500+ real questions from top companies.

Product

  • Questions
  • Learning Tracks
  • Interview Guides
  • Resources
  • Premium
  • For Universities
  • Student Access

Browse

  • By Company
  • By Role
  • By Category
  • Topic Hubs
  • SQL Questions
  • Compare Platforms
  • Discord Community

Support

  • support@prachub.com
  • (916) 541-4762

Legal

  • Privacy Policy
  • Terms of Service
  • About Us

© 2026 PracHub. All rights reserved.