Install Nova on Kubernetes

Install Nova on Kubernetes

Install the Nova operator and a cluster with Helm, then check that the cluster serves.

On Kubernetes you declare a Nova cluster as one resource, a Constellation, and the Nova operator keeps the running pods equal to it. One helm install puts both in place: the operator, its three resource types, and the Constellation built from your values. This guide installs them on a test cluster and checks that the nodes serve.

A new install has no clients yet. Later changes go through helm upgrade, and the operator replaces nodes one at a time, so clients see at most a reconnect.

What the operator manages

Nova itself decides which node leads each stream and moves streams when a node is busy. The operator decides the shape of the cluster: how many nodes run, in which zones, under which identities, at which version, and how they leave. It acts on nodes only through Nova's own node commands, drain and decommission, and never moves a stream.

On each pass, the operator reads the cluster's load from one ready node. Each node reports how busy it is: the highest of its CPU, network and memory use and its backlog of writes waiting for object storage. It also reports how slow the metadata store is for it. It also reports whether it is stranded: busy, with no other node able to take a stream from it.

The operator creates pods and holds no cloud credentials. Machines come from a node provisioner such as Karpenter or the cluster autoscaler, which adds them when pods wait for room. Buckets and their permissions are yours to create too: the operator checks the references and provisions nothing.

Choose where the metadata store runs

The metadata store records which streams exist and where every record is. On Kubernetes it runs as oxia pods of its own (External, the default) or inside the Nova pods (Embedded), set by metadataStore.placement.

External (default)Embedded
What the operator createsOne pod per node, with no volume, and oxia in StatefulSets of its ownOne StatefulSet per zone; each pod keeps its identity and its share of the metadata on a volume
Volumesoxia's onlyOne per Nova pod, 10Gi by default
Autoscaling and a separate auditor poolSupportedRefused
Metadata backupsSupportedNot available
Use whenProduction, and any cluster that will growA small cluster that should run the fewest pods

To move a running cluster from Embedded to External, see Metadata store.

Before you start

  • A Kubernetes cluster at version 1.27 or later, with Helm.
  • Each node that may run Nova pods labeled with its zone, topology.kubernetes.io/zone. Cloud providers set it; the operator pins each Nova pod to its zone with that label, so an unlabeled node never receives one.
  • A bucket, and credentials that can read, write and delete in it: either a Secret with AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY, or a ServiceAccount with a cloud role (IRSA on EKS). See Object storage.
  • The images, in a registry your nodes can pull from. The repository's CI publishes ghcr.io/supabase/nova (tags latest and sha-<commit>), which starts novad. The operator image and the Gateway image are not published, so you build them.
  • The Prometheus Operator's CRDs, only if you turn on the shipped alert rules or scrape monitors.
  • The nova command line, to check the cluster; Try it locally shows how to build it.

Install

The commands below install a test cluster on kind with three worker nodes, one per zone, and an in-cluster RustFS at http://rustfs.nova.svc:9000 standing in for S3. Create the kind cluster with the zone labels first:

kind.yaml
kind: Cluster
apiVersion: kind.x-k8s.io/v1alpha4
nodes:
  - role: control-plane
  - role: worker
    labels: { topology.kubernetes.io/zone: az-1 }
  - role: worker
    labels: { topology.kubernetes.io/zone: az-2 }
  - role: worker
    labels: { topology.kubernetes.io/zone: az-3 }
kind create cluster --name nova --config kind.yaml

Build and push the images

From a checkout of the Nova repository:

docker build -t registry.example.com/nova:2026-11-22 -f deploy/docker/Dockerfile .
docker build -t registry.example.com/nova-gateway:2026-11-22 --target gateway -f deploy/docker/Dockerfile .
docker build -t registry.example.com/nova-operator:2026-11-22 -f operator/Dockerfile .

Push the three images to your registry. On kind, load each one into the cluster instead, with kind load docker-image <image> --name nova. Use a new tag for every build: the operator starts an upgrade when the image reference changes, so a reused tag such as latest never rolls the cluster.

Create the namespace and the storage credentials

kubectl create namespace nova
kubectl -n nova create secret generic rustfs-creds \
  --from-literal=AWS_ACCESS_KEY_ID=nova --from-literal=AWS_SECRET_ACCESS_KEY=novatest

On kind, start RustFS in the namespace and create the bucket. This RustFS keeps its data only as long as its pod:

kubectl -n nova run rustfs --image rustfs/rustfs:1.0.1 --port 9000 --expose \
  --env RUSTFS_ACCESS_KEY=nova --env RUSTFS_SECRET_KEY=novatest
kubectl -n nova wait --for=condition=Ready pod/rustfs --timeout 120s
until kubectl -n nova exec rustfs -- curl -fsS -o /dev/null http://localhost:9000/health/ready; do sleep 1; done
kubectl -n nova exec rustfs -- curl -fsS -o /dev/null -X PUT --user nova:novatest \
  --aws-sigv4 aws:amz:us-east-1:s3 http://localhost:9000/nova

On EKS, create a ServiceAccount whose role can use the bucket instead, and name it in storage.serviceAccountName.

Write the values

The values under constellation.spec are the Constellation's spec, unchanged. Four fields are required: image, location, serving.replicas and storage.bucket. Everything else takes the operator's default.

values.yaml for the test cluster
operator:
  image: registry.example.com/nova-operator:2026-11-22

constellation:
  spec:
    image: registry.example.com/nova:2026-11-22
    location: local
    serving:
      replicas: 3
      zones: [az-1, az-2, az-3]
      slice:
        netCapacity: 100M
        cpu: 100m
        memory: { request: 256Mi, limit: 1Gi }
    storage:
      bucket: nova
      endpoint: http://rustfs.nova.svc:9000
      region: us-east-1
      pathStyle: true
      credentialsSecretRef: rustfs-creds
    metadataStore:
      oxia:
        resources: { cpu: 100m, memory: 512Mi }

The slice and the oxia resources make the pods small enough for a laptop. Leave them out in production: the operator then reserves 2 CPUs and 4 to 8 GiB for each Nova pod. See Size the cluster.

values.yaml on EKS, the parts that differ
constellation:
  spec:
    location: eu-west-1
    serving:
      replicas: 3
      zones: [eu-west-1a, eu-west-1b, eu-west-1c]
    storage:
      bucket: nova-prod
      region: eu-west-1
      serviceAccountName: novad
    auth: { mode: jwt }
    observability: { rules: true, monitors: true, dashboards: true }

Every field is listed in The Constellation resource.

Install the chart

helm install nova deploy/helm/nova --namespace nova --values values.yaml
NAME: nova
LAST DEPLOYED: Sun Nov 22 19:22:22 2026
NAMESPACE: nova
STATUS: deployed
REVISION: 1
DESCRIPTION: Install complete

The chart's crds/ folder holds the three resource types: Constellation, Gateway and Credential. Helm creates them on the first install and never updates them. Before a chart upgrade, apply them yourself with kubectl apply -f deploy/helm/nova/crds/.

The Constellation takes the release's name unless you set constellation.name. Without constellation.spec the chart refuses to render:

Error: execution error at (nova/templates/constellation.yaml:10:6): constellation.spec is required: the chart installs nova, and nova is a Constellation (see values.yaml)

Watch the cluster converge

kubectl -n nova get pods
NAME                            READY   STATUS      RESTARTS   AGE
nova-0                          1/1     Running     0          15s
nova-1                          1/1     Running     0          15s
nova-2                          1/1     Running     0          15s
nova-operator-9b974b44c-kh76t   1/1     Running     0          17s
nova-oxia-0                     1/1     Running     0          14s
nova-oxia-registry-0            1/1     Running     0          14s

nova-0 to nova-2 are the Nova nodes, one per zone. nova-oxia-0 and nova-oxia-registry-0 are the metadata store. The test cluster was ready 19 seconds after helm install.

The roster in the Constellation's status lists each node's pod, its identity and its zone:

kubectl -n nova get constellation nova -o jsonpath='{.status.stars}' | jq -c '.[] | {pod, starID, zone}'
{"pod":"nova-0","starID":"01a2047e-c236-7c53-b328-e10bafc9af4b","zone":"az-1"}
{"pod":"nova-1","starID":"01a2047e-c236-7ca4-97ae-955d5b8947ef","zone":"az-2"}
{"pod":"nova-2","starID":"01a2047e-c236-7ce0-80d3-5f02440226ed","zone":"az-3"}

Check that it serves

The nova-seed Service reaches any node. Forward a local port to it and ask for the cluster's health:

kubectl -n nova port-forward svc/nova-seed 8421:7780 &
nova --addr localhost:8421 health
nova --addr localhost:8421 fleet
SERVING  node=01a2047e-c236-7ce0-80d3-5f02440226ed zone=az-3 version=… leading=0
01a2047e-c236-7c53-b328-e10bafc9af4b  zone=az-1 addr=nova-0.nova-stars.nova.svc:7780
01a2047e-c236-7ca4-97ae-955d5b8947ef  zone=az-2 addr=nova-1.nova-stars.nova.svc:7780
01a2047e-c236-7ce0-80d3-5f02440226ed  zone=az-3 addr=nova-2.nova-stars.nova.svc:7780

Clients outside the cluster read and write through a Gateway, which follows each stream to its leader for them. See Expose the Gateway.

Change and remove the cluster

To change anything, edit the values and run helm upgrade. The operator replaces each node whose image or settings changed: it starts the new pod first, drains the old one, then removes it. The first replacement is a canary, and the rest follow once it has run cleanly for 5 minutes. See Upgrades.

helm uninstall deletes the cluster

The Constellation belongs to the Helm release, so helm uninstall deletes it, and every Nova pod and oxia pod with it. The bucket, oxia's volumes, the resource types and any resource you applied yourself, such as a Gateway, remain. In a test, installing again under the same name resumed the cluster on those volumes, with every record still readable.

With metadataStore.retention: Delete, the operator must delete oxia's volumes before the Constellation can go, and helm uninstall removes the operator at the same time. Delete the Constellation with kubectl delete constellation <name> first, wait until it is gone, then uninstall.

The Pulumi reference deployment

deploy/pulumi/ provisions an AWS deployment end to end and installs the chart:

  • a VPC over three zones and an EKS cluster, with node pools labeled nova.dev/pool: serving, audit and plane, and optional bench and Gateway pools;
  • the S3 bucket and an IRSA role scoped to it, and one S3 Express directory bucket per zone in expressZoneIds;
  • ECR repositories, which deploy.sh fills, so nodes never pull from a public registry;
  • kube-prometheus-stack on its own tainted node.
cd deploy/pulumi
./deploy.sh --stack dev

deploy.sh can run again at any time. It builds the images for linux/amd64 and linux/arm64, pushes them, and runs pulumi up. Every setting is in Pulumi.yaml under config:. To give the Gateway a public address, set gatewayDomains, a comma-separated list, usually of one domain. The stack requests one certificate per domain: publish their validation records, and turn on gatewayIngress only once every certificate is issued.

vpcCniNetworkPolicy turns on the VPC CNI's network-policy agent, which enforces the operator's network policies. It is off by default, and turning it on restarts aws-node one node at a time. Turn it on as a step of its own. Then check that the Nova pods still reach each other on port 7790, and that a pod outside the cluster does not.

These steps need AWS and were not run for this guide.

If it goes wrong

SymptomLikely causeWhat to do
constellation.spec is requiredThe values have no constellation.specAdd it; the chart never installs an operator with nothing to run
Nova pods stay PendingNo node in their zone has room for the slice, or no node carries the zone labelLabel the nodes, add machines, or set a smaller serving.slice
Pods in ImagePullBackOffThe nodes cannot pull an imagePush the images, and check the registry's pull credentials
No new pods, and the operator logs the operator renders this setting; set it through the spec insteadserving.env sets a variable for a flag the operator writesRemove the variable and use the spec field
The Constellation shows a conditionThe operator is waiting, or refuses to actSee conditions

See also

On this page