The Constellation resource

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.

A production Constellation on EKS
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

imagestringRequired
The image the Nova pods run; a new reference starts an upgrade, so give every build its own tag.
locationstringRequired
The cloud location the cluster serves, as a lowercase DNS label such as eu-west-1; it is stamped on every bucket created here and names the cluster's address, {location}.{domain}, under each domain in the Gateway's ingress.domains.
networkPoliciesEnabled | DisabledDefaultEnabled
Renders the two network policies that open the fleet port and oxia's ports only to the cluster's own pods, its Gateways and the operator.

serving

Change these to size the fleet, place it, or pass settings the spec has no field for.

replicasintegerRequired
How many Nova pods run; under autoscale, only the size before the first scaling decision.
zoneslist
The availability zones the pods spread over; each pod is pinned to one and told it with --zone.
reapAfterdurationDefault10m
How long a node must be missing, its pod standing but never ready, before the operator starts asking to decommission it.
autoscaleobject
Turns the sizing loop on: min, max, targetPercent (60), lowWaterPercent (30) and scaleDownAfter (30m).
sliceobjectDefault750M, 2 CPU, 4Gi to 8Gi
One pod's share: netCapacity, cpu, memory.request and memory.limit; see Size the cluster.
envlist
Environment variables for the Nova pods, for any NOVAD_* setting the operator does not write itself (see Settings).
nodeSelectormap
Steers the Nova pods onto your serving machines.
tolerationslist
Lets the Nova pods onto a tainted node pool.
connectionsobjectDefaultsized from the memory limit
client and fleet connection caps; a value of 0 turns that cap off.

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.

bucketstringRequired
The standard bucket every record is stored in.
endpointstringDefaultAWS S3
The S3 endpoint, for RustFS, MinIO and other S3-compatible stores.
regionstring
The bucket's region; empty leaves it to the AWS SDK's default chain.
pathStylebooleanDefaultfalse
Uses path-style addressing, which most non-AWS stores need.
expressmap
One express bucket per zone, as zone: bucket; setting it turns the Express class on.
credentialsSecretRefstring
A Secret with AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY; empty uses the default chain, such as IRSA.
serviceAccountNamestring
Runs the Nova pods and auditors under this ServiceAccount, the IRSA pattern on EKS.

auth

modeoff | jwtDefaultoff
Absent or off accepts every caller; jwt makes every node check a token.
signingKeySecretstring
A Secret with private.pem (a PKCS#8 Ed25519, ECDSA or RSA key) and key_id; set, the operator mints no key set and signs with this key.
rootCredentialSecretstring
A Secret whose digest holds the JSON that nova credential generate --env prints; every node creates that credential at boot.
credentialNamespaceslist
Other namespaces whose Credential resources may mint keys for this cluster; its own namespace always may.
insecureAuthboolean
Deprecated and ignored: plaintext credentials inside the cluster are accepted, and a node warns at boot.

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

placementExternal | EmbeddedDefaultExternal
Where oxia runs: as pods of its own, or inside the Nova pods; see the comparison.
storagequantityDefault10Gi
Under Embedded, the volume of each Nova pod, which holds its identity and its share of the metadata.
storageClassNamestring
Under Embedded, the class of those volumes; empty uses the cluster's default.
retentionRetain | DeleteDefaultRetain
What deleting the Constellation does with oxia's volumes and its control state (two ConfigMaps and a Lease).
oxiaobject
Shapes oxia; under Embedded only its shards apply, to the founding counts.

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.

imagestringDefaultoxia/oxia:0.17.1
The oxia image.
serversintegerDefault0
Above zero, oxia runs as a cluster of this many servers with a coordinator; zero runs two standalone instances.
storagequantityDefault10Gi
Each oxia instance's data volume.
walStoragequantityDefault8Gi
Each clustered server's separate write-ahead log volume.
storageClassNamestring
The class of oxia's volumes; metadata commits wait on fsync, so pick a provisioned-throughput class in production.
streamsPerShardintegerDefault10000
Active streams per streams shard that the shard counts are sized for.
shardsobject
Founding shard counts for streams, queues, sessions and dispatch; counts only ever grow.
autoscaleobject
Lets the operator add servers as shards split, up to maxServers, and tunes the split and the latency alarm: opsPerShard (2,000), leadersPerServer (7), p99ThresholdMs (50) and p99AlarmAfter (5m). Shards split without it whenever servers is above zero.
resourcesobjectDefault4500m, 4Gi
The servers' CPU and memory, as requests equal to limits.
databaseCachequantityDefaulta third of the memory
Each clustered server's database block cache, at least 64Mi and at most half of resources.memory.
coordinatorobjectDefault500m, 256Mi
The coordinator's CPU and memory, as requests equal to limits.
namespacePrefixstringDefaultnova
The prefix of the five keyspace names, changed to switch the cluster onto a restore.
backupobject
Backs every shard up to object storage on a schedule; see Backups and restore.
nodeSelectormap
Steers every oxia pod onto your metadata machines.
tolerationslist
Lets oxia's pods onto a tainted node pool.

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.

replicasintegerRequired
How many auditors run.
autoscaleobject
Turns the pool's sizing loop on: min, max, ageThreshold (5m), busyPercent (50), lowWaterPercent (30) and scaleDownAfter (30m).
s3Budgetinteger
Object-store requests per second one auditor may send; size it so the auditors keep up with ingest.
rewriteMiBinteger
MiB per second one auditor may rewrite; size it with s3Budget.
sliceobjectDefault438M, 4 CPU, 8Gi to 12Gi, 300Gi scratch
One auditor's share, with scratch, the disk it reads WAL objects into.
envlist
Environment variables for the auditors, under the same rule as serving.env.
nodeSelectormap
Steers auditors onto your audit machines.
tolerationslist
Lets auditors onto a tainted node pool.

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.

instancesintegerDefault1
Cache instances in each zone.
imagestring
Overrides the pinned cache image; pin an exact commit.
sliceobjectDefault2 CPU, 2Gi to 4Gi, 300Gi scratch
One instance's share; the cache uses 90% of the scratch.
maxConcurrentRequestsintegerDefaultfrom the memory limit
Requests one instance serves at once before it answers 503 SlowDown; 320 at a 4Gi limit.
dnsServerslist
Resolvers the cache dials storage through; required when storage.endpoint is a cluster Service.
metricsEndpointstring
An OTLP HTTP metrics URL the cache pushes to; empty leaves its metrics off.
nodeSelectormap
Steers the cache onto machines with guaranteed network.
tolerationslist
Lets the cache onto a tainted node pool.

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

upgrade.widthintegerDefault1
Replacements in flight at once after the canary, at most a quarter of the fleet.
upgrade.canaryWindowdurationDefault5m
How long the first replacement must run cleanly before the rest follow.
observability.rulesbooleanDefaultfalse
Ships the alert rules as a PrometheusRule; needs the Prometheus Operator's CRDs.
observability.monitorsbooleanDefaultfalse
Ships a ServiceMonitor for the Nova pods and a PodMonitor for the auditors; needs the same CRDs.
observability.dashboardsbooleanDefaultfalse
Ships the Grafana dashboards as ConfigMaps labeled grafana_dashboard: "1".

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:

podstring
The pod that runs the node.
starIDstring
The node's identity; it never changes and never returns once decommissioned.
zonestring
The zone the pod is pinned to.
imagestring
The image the node was created with; a recreated pod uses it again.
templateHashstring
A fingerprint of the image, flags, environment, resources and scheduling the node was created with.
replacesstring
During an upgrade, the node this one replaces.
phaseDraining | Decommissioned
Set while the node leaves; empty while it serves.
missingSincetime
When the node was first seen missing; reapAfter counts from here.

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 instead

audit.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.

ConditionTrue whenWhat to do
UpgradeHaltedThe canary did not run cleanly for its windowLook at the new image's nodes; the roll resumes once a window runs clean
DepartureHeldA leaving node's step cannot advance this pass; the message quotes Nova's answerUsually nothing: Nova is converging. If it stays, read the message
AuditWedgedReclamation is behind on age while the auditors are idleA stuck job or backend; see Auditor delays
AuditScratchTooSmallThe auditor slice has under 50Gi of scratchRaise audit.slice.scratch
MetastoreDegradedoxia's p99 latency stayed above the threshold, or a shard is too hot to splitLook at oxia's disks and load; nothing scales on this
MetadataHotStreamOne stream's metadata alone saturates its own shardSplit that stream's traffic over more streams, or use a scalable stream
MetadataStoreConflictmetadataStore and metadataPlane disagreeRemove one; the operator renders nothing until then
NamespacePrefixHeldnamespacePrefix changed, but oxia does not serve the new keyspaces yetFinish the restore
OxiaMoveBlockedA move from Embedded to External cannot continueRead the message
OxiaDrainingoxia is moving a departing node's data server's shardsWait
OperatorStaleThis operator replica is being replaced and stands downThe new replica clears it

See also

On this page