The Constellation resource
Every field of the Constellation, the Kubernetes resource that declares one Nova cluster.
A Constellation declares one Nova cluster: its nodes, its storage, its metadata store and its optional parts. This page lists every field and the status the operator writes back. It is checked against the resource types in operator/api/v1alpha1 and against kubectl explain constellation.spec.
The Constellation spec
The example below passes the API server's validation. Fields it leaves out take the defaults listed in the sections that follow.
apiVersion: nova.dev/v1alpha1
kind: Constellation
metadata:
name: prod
namespace: nova
spec:
image: registry.example.com/nova:2026-11-22
location: eu-west-1
serving:
replicas: 3
zones: [eu-west-1a, eu-west-1b, eu-west-1c]
autoscale: { min: 3, max: 21 }
nodeSelector: { nova.dev/pool: serving }
storage:
bucket: nova-prod
region: eu-west-1
serviceAccountName: novad
express:
eu-west-1a: nova-prod--euw1-az1--x-s3
eu-west-1b: nova-prod--euw1-az2--x-s3
eu-west-1c: nova-prod--euw1-az3--x-s3
auth:
mode: jwt
metadataStore:
oxia:
servers: 3
autoscale: { maxServers: 5 }
nodeSelector: { nova.dev/pool: plane }
audit:
replicas: 2
autoscale: { min: 2, max: 8 }
nodeSelector: { nova.dev/pool: audit }
objectCache:
nodeSelector: { nova.dev/pool: cache }
upgrade: { width: 4 }
observability: { rules: true, monitors: true, dashboards: true }A change to any field that reaches the Nova pods (the image, a flag, the environment, the resources or the scheduling) replaces those pods through an upgrade.
Top level
serving
Change these to size the fleet, place it, or pass settings the spec has no field for.
The connection caps take a twentieth of three quarters of the memory limit, at 96 KiB a connection, split 2 to 1 between the client and fleet listeners. They stay between 1,024 and 4,096 for clients and 512 and 2,048 for the fleet. A 1Gi limit gives the floors, 1,024 and 512.
storage
The operator only refers to storage. It creates no bucket and no permission.
auth
With mode: jwt alone, the operator creates an HMAC key set in the Secret <name>-keys and keeps it. The nodes and the operator sign with it, and the secret half of a root credential never reaches the cluster. signingKeySecret and rootCredentialSecret need mode: jwt.
Choose the key source when you create the cluster
In a test, switching a running cluster from the generated key set to signingKeySecret stalled its upgrade. The operator signed with the new key, which the old nodes could not verify, and DepartureHeld reported Unauthenticated. The roll finished only after each old node's pod was deleted and came back with the new key.
metadataStore
With Retain, the volumes and the control state stay, and a Constellation created again under the same name resumes them. In a test, an Embedded cluster deleted and created again came back with the same node identities, and its metadata store started in 250 ms. Delete holds the deletion until oxia's pods have stopped, then deletes the volumes and the control state. Changing placement from Embedded to External moves the metadata store out of the Nova pods while the cluster serves; see Metadata store.
metadataStore.oxia
Change these for a large cluster, a faster disk class, or backups.
audit
By default each Nova pod runs its own auditor, the background process that reclaims storage. Declaring audit moves that work to a pool of its own and starts every Nova pod with --audit=off.
Scratch under 50Gi stops all reclamation
An auditor slice with less than 50Gi of scratch renders no auditor, and AuditScratchTooSmall turns true. The Nova pods still switch to --audit=off, so nothing reclaims storage until you give the slice 50Gi or remove audit.
objectCache
Absent means no cache: every read goes to the bucket. See Object cache.
A change to the cache's settings restarts it one zone at a time and one pod at a time within a zone, each waiting until the last has stayed ready for 30 seconds. While a zone's cache restarts, its readers read the bucket directly.
upgrade and observability
The alerts are listed in Alerts and the metrics in the metrics catalogue.
Retired fields
metadataPlane is the old name of metadataStore, and serving.locations of serving.zones. Each is read only when the new field is empty. A spec that sets both names to different values is refused.
Node identities
Under External placement the operator is the identity authority. It creates each node's identity, passes it with --node-id, and records it in status.stars, the roster:
Each entry is one plain pod, with no StatefulSet and no volume. A restarted pod keeps its identity, and a deleted pod is created again under the same identity on the next pass. A change to the image or the settings never edits a pod. The operator creates a replacement under a new identity, then removes the old one with a drain and a decommission. New nodes go to the zone with the fewest. Under Embedded placement there is no roster: each pod's identity lives on its volume, and the StatefulSets own the fleet's size.
Settings
The operator writes a fixed set of flags on every Nova pod, among them --node-id, --zone, --listen, --advertise, --dir, the storage and metadata store flags, --auth and --audit. Any other setting goes in serving.env or audit.env as its NOVAD_* variable.
A variable for a flag the operator writes could never take effect, so the operator refuses it. It logs the refusal and changes nothing until you remove the variable:
constellation nova: env NOVAD_LISTEN: the operator renders this setting; set it through the spec insteadaudit.s3Budget and audit.rewriteMiB are the two reclamation settings the spec carries itself.
Conditions and observability
The operator reports what it will not fix on its own as conditions in status.conditions, and as Warning events for the most serious. kubectl get constellation prints AuditScratchTooSmall as a column.
| Condition | True when | What to do |
|---|---|---|
UpgradeHalted | The canary did not run cleanly for its window | Look at the new image's nodes; the roll resumes once a window runs clean |
DepartureHeld | A leaving node's step cannot advance this pass; the message quotes Nova's answer | Usually nothing: Nova is converging. If it stays, read the message |
AuditWedged | Reclamation is behind on age while the auditors are idle | A stuck job or backend; see Auditor delays |
AuditScratchTooSmall | The auditor slice has under 50Gi of scratch | Raise audit.slice.scratch |
MetastoreDegraded | oxia's p99 latency stayed above the threshold, or a shard is too hot to split | Look at oxia's disks and load; nothing scales on this |
MetadataHotStream | One stream's metadata alone saturates its own shard | Split that stream's traffic over more streams, or use a scalable stream |
MetadataStoreConflict | metadataStore and metadataPlane disagree | Remove one; the operator renders nothing until then |
NamespacePrefixHeld | namespacePrefix changed, but oxia does not serve the new keyspaces yet | Finish the restore |
OxiaMoveBlocked | A move from Embedded to External cannot continue | Read the message |
OxiaDraining | oxia is moving a departing node's data server's shards | Wait |
OperatorStale | This operator replica is being replaced and stands down | The new replica clears it |