What This Design Does:
A production-minded reference architecture for serving machine learning models on Kubernetes. Inference requests enter through an Ingress and are routed to MLServer, which runs two replicas behind a Service, scales on CPU with a HorizontalPodAutoscaler, and is protected by a PodDisruptionBudget. On startup, an init container pulls model artifacts from a MinIO bucket backed by a PersistentVolumeClaim. A NetworkPolicy restricts MinIO access to the model server only, credentials are held in a Secret, and Prometheus scrapes MLServer's metrics endpoint. All workloads define resource limits and health probes.
Design Snapshot
Caveats and Consideration:
1. Replace the placeholder MinIO credentials in the Secret before deploying. 2. Upload a model to the "models" bucket; the server starts with an empty repository otherwise. 3. Requires an Ingress controller, a default StorageClass, metrics-server (for the HPA), and a CNI that enforces NetworkPolicy. 4. The Ingress host (ml.example.local) is a placeholder; set your own host and TLS. 5. MinIO runs as a single replica and Prometheus has no persistent storage; both are for demonstration, not high availability. 6. The MLServer image includes the scikit-learn runtime; change the image tag for other frameworks.
Compatibility:
Design Details
CATEGORY
deploymentCREATED BY
CREATED AT
November 15, 2026VERSION
0.0.5-
MODELS
Related Designs
vault-0.30.1.tgz