Prerequisites
Cluster
- KubeRay 1.1 or newer, installed cluster-wide or watching the namespace you grant. Mixpeek does not install it. Kubernetes 1.33 or newer is optional and enables in-place pod resizing for Ray’s autoscaler.
- One namespace (
mixpeekby default) and permission to create the install kit’s six objects in it. - A
ResourceQuotayou accept. One ships with the kit; change the numbers and Mixpeek sizes batches to fit.
Compute
- Node capacity the namespace can schedule onto. Tell Mixpeek the node labels and taints to target; they are rendered into the deployment.
- Worker size: each Ray worker replica needs at least 11 CPU and 28 GiB available to Ray. The head starts with
num-cpus: 0and runs only the Serve HTTP proxy, so all 13 Serve applications land on workers. Let autoscaling add workers for batch work. - The idle floor: 3 of the 13 applications stay warm (the engine entry point, the work runtime and the text embedding model) and reserve 7.20 CPU. At their replica minimums the 13 reserve 0.85 CPU sitting idle, and 32.20 CPU at maximum replicas. These are logical Ray reservations for the engine alone, before the API, Redis and MongoDB. The other applications start on first use; that call gets
503with aRetry-Afterheader. Setmin_replicasin your values to keep one warm. - GPU nodes at a known NVIDIA driver baseline. None of the 13 Serve applications requests a GPU; GPU extractors take one through the batch path. A cluster without GPU nodes installs healthy and fails at extraction time.
- Disk: about 60 GB of image storage per node before its own workload. The platform image (API and MVS) is 4.96 GB in the registry and 14.2 GB unpacked; the engine image is about 15.4 GB unpacked. A cold pull takes minutes (130 seconds measured for the platform image on a well-connected VM).
Storage
- Object storage (S3 or GCS) reachable from the namespace. MVS keeps its durable state here; this is the load-bearing requirement.
- A CSI storage class that provisions PersistentVolumes surviving pod restarts and rescheduling. Redis runs as a StatefulSet with
volumeClaimTemplates. MVS keeps only its unreplayed write-ahead window, in a localemptyDir. - Throughput and IOPS above the floor Mixpeek gives you for your workload size.
MongoDB
The chart ships Redis and does not ship MongoDB. Provide one the namespace can reach, managed or self-run, inside or outside the cluster. Mixpeek stores metadata there (objects, collections, batches, retriever definitions) and, on a fully self-hosted install, the six control-plane collections. It holds records and references, not media, so it stays small next to the index. The driver is pymongo 4.9 and Mixpeek tests against current MongoDB; tell Mixpeek if you plan an older version or a wire-compatible service so it can be qualified.Networking and identity
- Egress from the namespace to your object storage and, on a managed control plane, to Mixpeek’s control plane.
- Egress to
huggingface.coon first start, or a pre-baked image (details). Without either, Ray reports healthy and the reranker, SigLIP, MiniLM and CLAP applications never load. - In-cluster DNS and pod-to-pod routing. A default-deny
NetworkPolicywith no allow rule for Mixpeek leaves a namespace that looks healthy and cannot talk to itself. - Optional workload identity (GKE Workload Identity, EKS IRSA or AKS Workload Identity) so pods reach cloud resources without static keys.
- Image pull access to the Mixpeek images: a pull secret in the namespace, or a mirror in a registry your nodes trust.
Install
1
Qualify the bare cluster
Run the substrate suite with a kubeconfig. It needs only Fix every
kubectl and python3. Ask Mixpeek for the CPU and memory your configuration needs; without them the capacity row skips.Substrate qualification
FAIL using What goes wrong and read every WARN before going on. INCOMPLETE means some rows could not run; it is not a pass.2
Install KubeRay if the report shows it absent
Your platform team installs it once with the Helm command Mixpeek publishes, or grants Mixpeek
create on customresourcedefinitions, clusterroles and clusterrolebindings to do it. crd-install-grant in the report says who can.3
Apply the install kit
Apply the kit
mixpeek-submitter ServiceAccount, the rayjob-manager and ray-autoscaler-generation-stable Roles and bindings, and the ResourceQuota. To use a namespace other than mixpeek, first edit the namespace: line in kustomization.yaml and the Group subject system:serviceaccounts:mixpeek in role-ray-autoscaler.yaml, which kustomize does not rewrite. Do not pass -n: kustomize pins the namespace and kubectl refuses the mismatch object by object.4
Create the Secret
The chart does not create any Secret. Every workload reads
envFrom: secretRef: mixpeek-engine-secrets, so create it in the namespace first; without it pods do not start. The settings are in Create the Secret below.5
Install the chart with your overlay
values.yaml is an all-off skeleton (enabled: false for api, mvs, ray and redis). Mixpeek ships an install-values overlay written for your environment, and that overlay is what turns components on and decides what runs. Review the overlay, not values.yaml: a default under a disabled component is not one you get.Install or upgrade
6
Run the Ray suite
With the plane installed, Mixpeek runs the 20-check Ray suite (security, connectivity from inside the cluster, scheduling, autoscaling, failure recovery, isolation and a
golden-e2e document from ingestion to retrieval) and sends you the report.Create the Secret
These keys name your infrastructure. Each has a built-in default that points at Mixpeek’s own buckets and projects, so leaving one out does not fail at start: the component talks to a resource you do not own, your credentials cannot open it, and the error names Mixpeek’s resource. Data does not cross tenants, and the error gives you nothing to act on.
Mixpeek’s internal Secret has about 120 keys, mostly integrations you do not need (payments, support, analytics, social connectors). Set only what you use; anything left unset stays off, except
SENTRY_DSN. Product analytics (PostHog) is off without a key, and every CONTROL_PLANE_* setting is unset unless you use the managed control plane.
Customize scheduling
The chart renders therayClusterConfig from values, so anything a Kubernetes pod template can express reaches the cluster unmodified.
If you replace the cluster config, keep the
serve_node custom resource declared in rayStartParams on both node groups, and keep Kubernetes requests equal to limits: Ray reads its CPU count from the limit.
Check it worked
Ray status
SERVICE STATUS should be set and NUM SERVE ENDPOINTS above zero. Then call GET /v1/health/deep on your API with an organization API key (see Monitoring), and run a smoke test: create a namespace, bucket and collection, upload one object, let its batch complete, and execute a retriever.
What goes wrong
After install: a batch will not start
Engine submission failed ... [Errno 111] Connection refused means the API reached an address where nothing listens. The message names the address. Check in order:
-
No Serve endpoint yet.
kubectl get rayservice -n mixpeekshows blankSERVICE STATUSandNUM SERVE ENDPOINTS: the engine is still importing or cannot schedule. -
No Ray worker.
DESIRED WORKERSexceedsAVAILABLE WORKERS. A worker whose requests exceed its limits is refused by the API server, so no pod exists, andRayClusterProvisionedstill readsTrue. Read the reason:Worker failure reason -
Applications have nowhere to go. A custom cluster config dropped the
serve_nodedeclaration; theRayServicesits inInitializingand nothing reports an error. -
Wrong address.
kubectl exec -n mixpeek deploy/api -- env | grep ENGINE_APIshows what the API resolved. The chart points it at a head-only Serve service on purpose: KubeRay labels every podray.io/serve=true, but only the head runs the proxy.
Qualification rows
Substrate rows
Substrate rows
Ray suite rows
Ray suite rows
Related
- Customer-hosted Mixpeek: architecture, permissions, data flow and qualification
- Monitoring and troubleshooting: health checks and batch diagnosis
- Deployment options: Mixpeek Cloud and dedicated alternatives

