Seldon Core is a Kubernetes-native model serving framework that turns trained machine learning models into scalable, observable inference services defined by declarative resources. In MLOps & deployment, it sits at the serving layer: it takes a stored model artifact, loads it into an inference server, exposes standard REST and gRPC endpoints and connects the result to routing, monitoring and experiment logic.
The project is developed by Seldon, a London-based company, and exists in two generations. Seldon Core 1 organizes everything around a single SeldonDeployment resource, while Seldon Core 2 separates models, servers, pipelines and experiments into distinct resources built for multi-model serving and streaming data flows.
How Seldon Core serves a model on Kubernetes
Seldon Core works as a Kubernetes operator: engineers describe the desired serving state in YAML, and a controller reconciles the cluster until running pods match that description. The model files themselves usually live in object storage such as S3, Google Cloud Storage or Azure Blob Storage and are pulled by an init step or agent when a model is scheduled.
Requests follow a predictable path. An ingress gateway, typically Envoy or Istio, receives the call, the platform routes it to the right model or pipeline, and an inference server executes the prediction. Seldon Core 2 relies on MLServer for Python frameworks and NVIDIA Triton for deep learning workloads, and both speak the Open Inference Protocol, also called the V2 inference protocol.
The following table lists the main building blocks and their role in the serving path.
| Component | Role | Typical technology |
|---|---|---|
| Model resource | Declares one model, its storage URI and requirements | Custom resource definition |
| Server resource | Defines a pool of inference server replicas | MLServer or Triton |
| Pipeline resource | Chains models into a data flow | Kafka topics |
| Experiment resource | Splits or mirrors traffic between candidates | Weighted routing |
| Scheduler | Places models onto available servers | Seldon control plane |
| Gateway | Handles external REST and gRPC traffic | Envoy proxy |
Seldon Core 1 and Seldon Core 2 compared
The two major versions share a goal but differ in architecture. Seldon Core 1 deploys each model as its own set of pods and expresses composition through an inference graph of predictors, transformers, routers and combiners inside one resource. This design is simple to reason about but becomes expensive at scale, because every model reserves dedicated CPU and memory.
Seldon Core 2 decouples the model from the server. Many models can share one server, the scheduler can overcommit memory by unloading rarely used models, and pipelines pass data asynchronously through Apache Kafka. The table below summarizes the practical differences.
| Aspect | Seldon Core 1 | Seldon Core 2 |
|---|---|---|
| Main resource | SeldonDeployment | Model, Server, Pipeline, Experiment |
| Model placement | One model per deployment | Many models per server |
| Composition | Synchronous inference graph | Kafka-based pipelines |
| Default protocol | Seldon protocol or V2 | Open Inference Protocol |
| Resource efficiency | Lower at large model counts | Higher through sharing |
Teams migrating from version 1 should expect to rewrite deployment manifests rather than convert them automatically, since the resource model changed fundamentally.
Experiments, monitoring and explanations
Beyond plain serving, Seldon Core supports controlled release strategies that are central to production machine learning. An Experiment resource can split traffic between a champion and a challenger for model A/B testing, or mirror live requests to a candidate in a shadow deployment whose responses are recorded but never returned to users.
Observability comes from Prometheus metrics for latency, throughput and error rates, plus optional request logging to Kafka or a search index. Seldon also maintains the open libraries Alibi Detect for outlier and drift detection and Alibi Explain for model explanations, which can run as additional components next to a deployed model.
The table below maps common production needs to the Seldon Core feature that addresses them.
| Production need | Seldon Core capability | Main benefit |
|---|---|---|
| Safe release of a new model | Traffic split experiment | Measured, reversible rollout |
| Risk-free validation | Mirrored shadow traffic | No user impact during testing |
| Detecting input changes | Drift detector component | Early warning of degradation |
| Auditing predictions | Request and response logging | Traceable decisions |
| Capacity planning | Prometheus metrics | Data-driven autoscaling |
Seldon Core among other serving platforms
Seldon Core competes most directly with KServe, the serving component that originated in Kubeflow and also runs on Kubernetes with the same Open Inference Protocol. KServe leans on Knative for request-driven autoscaling and scale to zero, while Seldon Core 2 emphasizes dense multi-model packing and streaming pipelines.
Framework-centric tools such as BentoML focus on packaging a model and its code into a service, and managed platforms such as Amazon SageMaker, Vertex AI and Azure Machine Learning remove cluster operations entirely. Seldon Core suits organizations that already operate Kubernetes and want serving to remain inside their own infrastructure.
Licensing, limitations and common mistakes
Licensing deserves early attention. In 2024 Seldon moved Seldon Core to the Business Source License, which keeps the source available but generally requires a commercial license for production use by companies. Legal review belongs in the platform decision, not after deployment.
Technical limitations also matter. The platform assumes solid Kubernetes skills, Kafka adds operational weight to pipelines, and large language models often need specialized runtimes and GPU scheduling that exceed default settings. Frequent mistakes include:
- Ignoring model warm-up, which causes slow first requests after scaling
- Packing too many models onto one server without memory headroom
- Treating shadow results as proof without checking training-serving skew
- Enabling payload logging without masking personal data
The idea in brief
A trained model is only a file. It cannot answer questions until something loads it and listens for requests. Seldon Core is that something for teams that run Kubernetes.
Think of it as a restaurant kitchen manager. The recipes are the models. The cooks are the servers. The manager decides which cook prepares which dish, sends orders to the right station and keeps track of how fast meals leave the kitchen. The key point is simple: Seldon Core turns stored models into reliable services that many applications can call.
A practical scenario
A mid-sized online retailer runs forty recommendation and fraud models on its own Kubernetes cluster. Under its earlier setup, every model had dedicated pods, and most of them sat idle overnight while still consuming memory. The platform team adopts Seldon Core 2 and places the models on three shared MLServer pools and one Triton pool for a neural ranking model.
When the data science team trains a new fraud model, engineers define an Experiment that mirrors all live traffic to the challenger for two weeks. Prometheus dashboards show comparable latency, and offline analysis confirms fewer false positives. The team then shifts ten percent of traffic, then fifty, and finally promotes the model. The outcome is a measured, reversible release and a cluster that needs noticeably fewer nodes for the same workload.