Skip to main content
Install Mixpeek into a namespace on your EKS or GKE cluster and confirm it can process and search a document. What runs where, the permissions and the data flow are on Customer-hosted Mixpeek; read that first if you are evaluating.

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 (mixpeek by default) and permission to create the install kit’s six objects in it.
  • A ResourceQuota you 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: 0 and 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 503 with a Retry-After header. Set min_replicas in 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 local emptyDir.
  • Throughput and IOPS above the floor Mixpeek gives you for your workload size.
A stock EKS 1.31 cluster cannot provision a PersistentVolume. Its gp2 StorageClass is not marked default and uses the in-tree kubernetes.io/aws-ebs provisioner that Kubernetes removed in 1.31, and the EBS CSI driver is not a default addon. kubectl get storageclass shows it anyway. Install the aws-ebs-csi-driver addon and mark a class default before installing. GKE ships a working default.

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.co on 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 NetworkPolicy with 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 kubectl and python3. Ask Mixpeek for the CPU and memory your configuration needs; without them the capacity row skips.
Substrate qualification
Fix every 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
This creates the 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
platform must match your distribution. gke keeps GKE-specific defaults; anything else turns them off. Left at gke on EKS, the install succeeds and Deployments sit at 0 Ready with healthy containers, because a readinessGates entry names cloud.google.com/load-balancer-neg-ready, which nothing outside Google sets. gcsfuse mounts leave pods in ContainerCreating, and the BackendConfig and GMP PodMonitoring API groups do not exist off GKE, so helm install fails. Only api.yaml and the three observability templates branch on platform; the generated Ray cluster spec writes GKE node selectors, which Mixpeek replaces for you on other distributions.
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.
Batch job submission to the Ray dashboard carries no credential: the API submits to a bare http://host:port, so network reachability is the whole access control. Keep the dashboard port (8265) off any public ingress and restrict it with a NetworkPolicy.

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 the rayClusterConfig 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:
  1. No Serve endpoint yet. kubectl get rayservice -n mixpeek shows blank SERVICE STATUS and NUM SERVE ENDPOINTS: the engine is still importing or cannot schedule.
  2. No Ray worker. DESIRED WORKERS exceeds AVAILABLE WORKERS. A worker whose requests exceed its limits is refused by the API server, so no pod exists, and RayClusterProvisioned still reads True. Read the reason:
    Worker failure reason
  3. Applications have nowhere to go. A custom cluster config dropped the serve_node declaration; the RayService sits in Initializing and nothing reports an error.
  4. Wrong address. kubectl exec -n mixpeek deploy/api -- env | grep ENGINE_API shows what the API resolved. The chart points it at a head-only Serve service on purpose: KubeRay labels every pod ray.io/serve=true, but only the head runs the proxy.

Qualification rows