Self-Hosting on Kubernetes¶
Run Nanorix inside your own cluster, in your own cloud account or data
centre. Nanorix's own components send your regulated content outside your
cluster only where you direct it: back to the clients that call your
install's API, to the egress hosts your capsules declare, to the model
provider you call through the install's OpenAI or Anthropic proxy, to the
Capsulefile file storage you choose with storage.backend (the Google Cloud
Storage bucket you name for gcs, or the NFS server you name for nfs),
which receives the files you add to Capsulefiles, encrypted before they are
stored, and to the Postgres database you name with database.external, which
holds the proof and account records, including the names of the files each
capsule took in and gave out and the metadata you set on it. What a
workload sends to a host you declared is your decision, as the
threat model
explains. The AuditProofs your install emits have the same format as the ones the hosted service
emits, and verify with the same offline verifier.
This page walks the whole path once: sign up → API key → chart → install → run a capsule → get an AuditProof → verify it.
When you want this
Self-hosting is how production regulated data runs: data-residency obligations, air-gapped or hospital-owned clusters (with this chart, an air-gapped cluster cannot sign anchorable proofs yet; see section 3), or a security review that requires the processing boundary to sit inside your own account. The hosted service at nanorix.io is an evaluation sandbox for data that is not regulated; production regulated data runs in an install like this one. To try the product without installing anything, start with the Quickstart.
What you need before you start¶
| Requirement | Why | Check |
|---|---|---|
| Kubernetes 1.28+ | chart floor (cgroup v2, seccomp profile, Pod Security admission) | kubectl version |
| cgroup v2 on worker nodes | capsule memory and CPU isolation | cat /sys/fs/cgroup/cgroup.controllers lists cpu memory io |
| Linux kernel 5.10+, containerd 1.7+ / CRI-O 1.28+ | namespace and seccomp behaviour the capsule runtime relies on | uname -r on a node |
IPv6 either available with the kernel's nf_tables IPv6 support, or disabled at boot (ipv6.disable=1) |
a capsule with egress gets no IPv6 path: IPv6 is switched off on its network link and dropped in its network namespace with ip6tables. On a node booted with ipv6.disable=1 these steps are skipped, because the kernel carries no IPv6 there; on any other node, if they fail, the API does not start |
cat /sys/module/ipv6/parameters/disable on a node reads 1 when IPv6 is disabled at boot |
| Swap disabled on any node that will run capsules | Nanorix refuses to start on a node with active swap — volatile-memory-only is enforced, not assumed | cat /proc/swaps shows only the header line |
| Helm 3.14+ and cluster-admin | the chart installs RBAC and NetworkPolicy | helm version --short |
| Postgres 15 | proof and account records | bundled sub-chart for evaluation, your own instance for production |
| Node memory: one node with 6Gi of allocatable memory not requested by other pods, plus 2Gi on every node for the runtime DaemonSet | the production profile's API pod requests 6Gi (requests equal limits) and stays Pending without it; see Capsule memory and the capsule count | kubectl describe node (Allocated resources) |
| A namespace that permits privileged pods | see Why the capsule runtime needs privilege | kubectl create ns nanorix |
Swap is a hard stop, by design
A node with active swap can page capsule memory to disk, which would break the volatile-memory-only property the AuditProof attests to. The API refuses to start rather than emit a proof it cannot stand behind. Managed node pools are usually swap-free already; a laptop-class VM often is not.
1. Get the chart and the image¶
The Helm chart and the Nanorix container image are distributed through onboarding — there is no public Helm repository or public image registry today. Ask for access at [email protected] and you will receive:
- the chart bundle (
nanorixchart, version0.5.0or later: it is the first version that refuses to install a development signer outside a sandbox install), and - a pull path plus credentials for the
nanorix-apiimage. A release signed by the Nanorix release job carries its signature and SBOM references beside the image in the registry, as OCI referrers; copy them with the image when you mirror it (below).
For an air-gapped cluster, copy the image together with its signature and SBOM references into a folder (an OCI layout) on a machine with network access, carry the folder across, check it, and load it into your internal registry:
# On the connected machine:
cosign verify --key release-signing.pub <granted-pull-path>/nanorix-api@sha256:<digest>
cosign save --dir nanorix-oci <granted-pull-path>/nanorix-api@sha256:<digest>
# Carry nanorix-oci/ and release-signing.pub across. Inside the closed network:
cosign verify --key release-signing.pub --insecure-ignore-tlog=true --local-image nanorix-oci
cosign load --dir nanorix-oci registry.internal.example.com/nanorix-api
cosign verify --key release-signing.pub --insecure-ignore-tlog=true \
registry.internal.example.com/nanorix-api@sha256:<digest>
release-signing.pub is the Nanorix release key: it is published at
https://nanorix.io/.well-known/release-signing.pub and ships in the chart,
from version 0.8.0, as files/release-signing.pub (compare their fingerprints as the chart README's
"Image signature check" shows). cosign verify succeeds only for an image from
a release signed by the Nanorix release job.
--insecure-ignore-tlog=true skips only the check that the signature is in
the public log; the signature is still checked against the key. For a registry
on a private CA, add --registry-cacert <ca file> to the commands that read or
write it. cosign load also writes the tag latest on the mirror repository,
so install by digest (image.digest), as the chart's image signature check
requires.
If cosign verify, run with cosign v3.1.4 (the version the Nanorix
release job uses), reports that it found no signatures, the image you
checked carries no signature from the Nanorix release job where you
checked it (it is not from a signed release, or a copy left the signature
behind): the image signature check would refuse it, so leave
imageVerification.enabled off for that image, and ask [email protected] how
to mirror it.
Then resolve the chart's bundled dependencies once, from a machine with network access:
2. Create the secrets the chart consumes¶
The chart never generates key material and never accepts it inline in a values file. Create the secrets yourself, in the namespace you will install into:
kubectl create ns nanorix
kubectl create secret generic nanorix-prod-secrets -n nanorix \
--from-literal=CAPSULEFILE_MASTER_KEY="$(openssl rand -base64 32)" \
--from-literal=JWT_SECRET="$(openssl rand -hex 32)"
# External Postgres: the chart reads the DSN from a secret you own.
kubectl create secret generic nanorix-postgres-dsn -n nanorix \
--from-literal=DATABASE_URL="postgres://user:password@host:5432/nanorix"
Rotate both under your own key-management policy. Outside a sandbox
install you sign with a Google Cloud KMS key: see the cdpSigning and customer sections of the
chart's values.yaml (section 3 below shows them). secrets.signingKey is
the Capsulefile master key, not the AuditProof signer.
3. Write your overrides¶
Start from the production profile shipped with the chart,
values-production-byoc.yaml, and layer your own file on top of it.
That profile is the one written for a customer cluster: it turns the
capsule runtime on, turns the bundled Postgres off, gives the API no
Stripe credentials, so it builds no Stripe client and makes no Stripe call,
and marks every value you must supply.
# my-overrides.yaml
image:
repository: registry.internal.example.com/nanorix-api
digest: "sha256:<the digest you mirrored>"
region: eu-west-1 # your residency label; declared by you, never inferred
database:
existingSecret: nanorix-postgres-dsn
secrets:
signingKey:
existingSecret: nanorix-prod-secrets
jwt:
existingSecret: nanorix-prod-secrets
webauthn:
rpId: nanorix.internal.example.com
rpOrigin: https://nanorix.internal.example.com
console:
baseUrl: https://nanorix.internal.example.com
storage:
backend: pvc
pvc:
size: 100Gi
storageClass: encrypted-fast
ingress:
enabled: true
className: nginx
host: nanorix.internal.example.com
cdpSigning:
source: kms
keyResource: projects/<p>/locations/<l>/keyRings/<r>/cryptoKeys/<k>/cryptoKeyVersions/1
credentials:
source: metadata # or: secret, with credentials.secret.name
The SSO sign-in redirect goes to console.baseUrl (read as
NANORIX_CONSOLE_BASE_URL), your console's https origin. Left empty, the API
uses secrets.webauthn.rpOrigin when secrets.webauthn.rpId is set. With
neither, the SSO callback answers 503 console_origin_not_configured and
issues no session. A value that is not an https origin is not used, and the
callback answers the same 503.
Single sign-on builds its OIDC redirect URI and its SAML entity ID, ACS and
AuthnRequest on api.baseUrl (read as NANORIX_API_BASE_URL), this API's
https origin; register those URLs at your identity provider. Left empty, the
chart renders https://<ingress.host> when ingress.enabled is true,
ingress.host is set and does not start with *, ingress.path is /, and
ingress.pathType is not Exact (an Exact / routes only / to the API).
An install served under a path prefix or on a wildcard host gets nothing
derived: set api.baseUrl to the origin of one concrete host it serves, and
serve the API at the root of that host. With no value, the SSO sign-in
endpoints that build a URL on it (SAML metadata and login, OIDC login and
callback) answer 503 api_base_url_not_configured and build no URL (the
callback answers console_origin_not_configured first when the console
origin is missing too). The value must be an https
origin: a scheme, a host and an optional port, with no userinfo, path, query
or fragment; http://localhost and http://127.0.0.1 are also accepted, and
a host with * is refused. Any other value is not used, and those four
endpoints answer the same 503.
Outside a sandbox install the chart installs only with a KMS signer, because
proofs from its development signer cannot be anchored to any key list. The
only KMS signer today is Google Cloud KMS. The API pods need a route to
cloudkms.googleapis.com and oauth2.googleapis.com and Google
credentials: cdpSigning.credentials.source: metadata for GKE Workload
Identity or a Compute Engine service account, or secret for a
service-account key file in a Kubernetes Secret (workload identity
federation is not supported yet). The chart opens the API's egress to
Google itself when cdpSigning.source is kms; narrow it with
cdpSigning.egress.cidrs (the pin also cuts any other HTTPS egress from the
API pods unless you set egress.apiHttps.enabled, which opens every non-private
IPv4 address beside the pin; DNS for both Google hosts must resolve into it, and the chart has no
setting for a forward proxy; with secrets.stripe.enabled the pin no longer limits HTTPS: the
Stripe rule opens 443 to every address, private ones included). A cluster with no route to Google
cannot sign anchorable proofs with this chart yet.
Why the capsule runtime needs privilege¶
Capsule execution sets up Linux namespaces, cgroup v2 limits and a
private /proc from inside the API container. That needs a privileged
security context, and the chart states the requirement rather than
hiding it.
The chart's own default cannot run a capsule. values.yaml ships
capsuleRuntime.privileged: false, which renders
NANORIX_CAPSULE_RUNTIME=disabled. That gives you an API surface you can
browse: capsule create, exec and one-shot destroy answer 503
isolation_unavailable, no capsule is created, and /v1/health/ready
reports "capsule_runtime": "disabled".
values-production-byoc.yaml sets it to true — install with that
profile, or set the value yourself:
On a cluster enforcing restricted Pod Security Standards, grant the namespace an exception:
With privileged: true the API runs an isolation self-test before it
connects to the database. If isolation does not hold on the cluster, the
container exits and the pod never becomes Ready.
Leave it false only when you deliberately want an API-only evaluation
with no capsule execution.
How the API classifies its host¶
The API treats a host as production unless it is told otherwise. Every pod on
Kubernetes is production, because Kubernetes sets KUBERNETES_SERVICE_HOST
and that variable overrides any NANORIX_ENV value. A production host never
falls back to a disk-backed capsule workspace when tmpfs cannot be mounted,
never accepts NANORIX_SKIP_CGROUP, and does not start if the isolation
self-test refuses. Only a host that sets NANORIX_ENV=development and none of
K_SERVICE, CLOUD_RUN_SERVICE or KUBERNETES_SERVICE_HOST is a development
host; do not set it on an install that handles customer data. See the
error catalog.
Turning capsule execution off¶
The API reads one environment variable, NANORIX_CAPSULE_RUNTIME, to decide
whether this install creates capsules and runs commands in them:
| Value | Effect |
|---|---|
unset, empty, or enabled (any letter case, and whitespace around enabled is ignored; a value of only whitespace turns execution off) |
capsule execution is on, after the startup isolation self-test described above holds |
disabled |
capsule execution is off |
| any other value | capsule execution is off, so a mistyped value cannot leave it running |
With execution off, capsule create (a batch create reports it per entry, inside
its 200 envelope), capsule exec, one-shot destroy and the sealed LLM-provider
proxy answer 503 with code isolation_unavailable before any capsule is
created or any command runs; see the
error catalog. Sign-up, verification, proof
retrieval and health are not affected. Authentication and request validation
run first, so those errors can arrive instead.
The value is read once, when the API process starts, so a change takes effect
on restart or on a new revision. The API logs its posture at startup (a warning
line naming NANORIX_CAPSULE_RUNTIME when it is off). The chart renders this
variable from capsuleRuntime.privileged: true renders enabled and false
renders disabled. Change it through that value rather than by editing the
Deployment: the release records the value but not a hand edit, and the next
upgrade either overwrites the edit or, on a release installed with Helm 4,
stops with a field conflict until the edit is reverted or the upgrade is rerun
with --force-conflicts. Supply the value on every upgrade (for example with
the same values file, or with --reuse-values, except on the upgrade to chart
0.7.x); an upgrade that sets other
values without it renders the chart default, disabled.
Capsule memory and the capsule count¶
From chart 0.7.0. Upgrading from 0.6.x: pass the 0.7.x production profile with
-f; see "Upgrade from 0.6.x" in the chart README.
Each API process sets aside a memory budget for its capsules. The budget
starts from the lower of the host's memory and the lowest memory limit on a
cgroup above the capsules' parent group, less a reserve for the API of a quarter of
that memory or 128 MiB, whichever is larger.
With a budget of less than 64 MiB, every capsule create fails with an internal
error. With billing off, a capsule's memory limit is its Capsulefile's
capsule_memory_mb when it sets one, or else this server's per-capsule
limit: the budget, or one capsule's share of it when NANORIX_MAX_CAPSULES is
set (below). With Stripe credentials, a capsule whose Capsulefile sets no
capsule_memory_mb gets the smaller of its tier's memory limit and this one,
and a capsule_memory_mb above its tier's limit is refused with
400 invalid_parameters, which is checked first. A create that asks for more
than the per-capsule limit is refused
with 400
capsule_memory_exceeds_server_limit
before any capsule is created or any usage is counted. The create response, each
created entry of a bulk create, and the status of a capsule that the answering
API process runs report the limit as memory_limit_bytes. When capsules can run
on the host, the API logs the budget and the per-capsule limit at startup
(capsule_memory_budget_bytes, per_capsule_memory_limit_bytes).
NANORIX_CAPSULE_CGROUP sets where the capsules' parent group is:
nested: the API moves itself into a child groupapiof its own cgroup, and the capsules' parent group isnanorixbeside it. Capsule memory is charged to the API's own cgroup and bounded by its limit. On Kubernetes that is the API container's limit, so capsule memory counts against the pod's request and limit (the request reserves all of it only when it equals the limit), and kubelet counts it as the pod's. It needs cgroup v2 and a cgroup the API may divide, such as a container's cgroup. In a container that has its own cgroup namespace, the API divides the namespace's root group, which is the container's own cgroup. When the API cannot set this up, every capsule create fails, and a production API does not start. The Helm chart setsnestedwhenever the capsule runtime is on.- Unset or empty: the parent group is
/sys/fs/cgroup/nanorix. On a host or VM, or in a privileged container whose/sys/fs/cgroupis the node's cgroup tree, that group sits outside any service or pod, and the budget starts from the host's memory. Set the API's memory andNANORIX_MAX_CAPSULESwith that in mind. In a container that has its own cgroup namespace, the isolation self-test refuses with this setting (read under Docker with a private cgroup namespace), so a production API does not start there: usenested.
Any other value stops the API at startup. The value is read once, at startup, and the API logs the parent group and the budget.
NANORIX_MAX_CAPSULES sets how many capsules one API process runs at once. It
takes a whole number of at least 1. Empty counts as unset, and any other value
stops the API at startup. When it is set, each capsule's memory limit is also
at most that share of the budget, so the capsules together fit inside it, and a
create past the count answers 503 with code
capsule_capacity_reached before any
capsule record is written or any usage is counted. A slot frees when a capsule
is destroyed or reclaimed after its max_lifetime_seconds. Unset or empty, a
process admits any number of capsules, each up to the whole budget.
The value is read once, at startup, and the API logs it as max_live. The
chart renders it from capsuleRuntime.maxCapsules: unset in the base values, 1 in values-production-byoc.yaml.
4. Install¶
helm install nanorix ./nanorix \
--namespace nanorix \
-f ./nanorix/values-production-byoc.yaml \
-f my-overrides.yaml
kubectl rollout status deployment/nanorix-api -n nanorix --timeout=5m
Confirm the install is healthy:
kubectl port-forward -n nanorix svc/nanorix-api 8080:8080 &
curl -fsS http://localhost:8080/v1/health
curl -fsS http://localhost:8080/v1/health/ready
/v1/health/ready returning ready confirms the database is reachable and
the schema migrations have been applied.
5. Create the first organization and get an API key¶
Your install issues its own API keys. Apart from the calls to Google Cloud KMS and its token service when the install signs, nothing in the steps below leaves your cluster.
Self-service signup is off on your install (signup.mode: disabled, the chart
default): POST /v1/signup and POST /v1/auth/signup answer
403 signup_disabled, so nobody who can reach the API can mint themselves a
key. You create each organization from inside the API pod. The command reads
the owner's email address on standard input, here from a file holding it on
one line, so the address stays out of process lists and shell history, and
prints the API key once. The image runs the API as /app/nanorix-api, which is
not on the container's PATH:
kubectl exec -i -n nanorix deployment/nanorix-api -- \
/app/nanorix-api create-organization --jurisdiction EU < owner-email.txt
organization_id 6849eec3-...
customer_id 6849eec3-...
jurisdiction EU
api_key nrx_live_...
The API key is shown once; store it securely.
The right to create an organization is the right to exec into that pod, so
keep it with your cluster administrators. To let anyone who reaches the API
sign up instead (a one-person evaluation on a private cluster), set
signup.mode: open.
With billing off (the production profile gives the API no Stripe
credentials), the API sets no monthly AuditProof or capsule limit on the
install's organizations (it still counts each month's capsules), and no
per-organization limit on capsules running at once, team size, API keys or
Capsulefiles; each account's request rates are the server's own rather than
its organization's tier's. What bounds them is this server: capsule memory and
the number of capsules this server runs at once, NANORIX_MAX_CAPSULES when it
is set (see
Capsule memory and the capsule count),
the 3600-second ceiling on a capsule's lifetime, and request and upload sizes,
where a single uploaded file still has its tier's size limit. With Stripe
credentials, the tier limits apply.
jurisdiction is your declaration, required at signup, and selects which
regulatory references appear in your AuditProofs. Nanorix stores it and never
verifies or overrides it. Accepted values: US, EU, UK, CA, AU,
IN, OTHER. A capsule's AuditProof signs the jurisdiction named on
the capsule create, else this one where it names one country (UK is
signed as gb). An account declared EU or OTHER, like this one, names
it on each create (eu-fr, eu-de or eu-nl), or the create is refused.
Commercial onboarding — image access, licensing, and billing — runs through Nanorix separately; talk to us before you put production data through a self-hosted install.
6. Run a capsule¶
API=http://localhost:8080 # the port-forward from step 4
KEY=nrx_live_...
# create — data_classification and jurisdiction are your declarations
CAP=$(curl -fsS -X POST $API/v1/capsules \
-H "Authorization: Bearer $KEY" -H 'Content-Type: application/json' \
-d '{"data_classification":"general","jurisdiction":"eu-de","max_lifetime_seconds":300}' \
| python3 -c 'import json,sys; print(json.load(sys.stdin)["id"])')
# execute inside the sealed capsule
curl -fsS -X POST $API/v1/capsules/$CAP/exec \
-H "Authorization: Bearer $KEY" -H 'Content-Type: application/json' \
-d '{"command":"echo hello from the capsule","timeout":30}'
# destroy — this is what builds and signs the AuditProof
curl -fsS -X DELETE $API/v1/capsules/$CAP \
-H "Authorization: Bearer $KEY" > destroy.json
Destroy is DELETE /v1/capsules/{id}. The response carries the full
record; the AuditProof is its cdp field:
python3 -c 'import json;print(json.dumps(json.load(open("destroy.json"))["cdp"]))' > auditproof.json
Getting data in and out
input_data (up to 512 KB) is written to /data/input/uploads/data
in the capsule before your command runs; larger inputs go through
POST /v1/capsules/{id}/upload, and results come back through
GET /v1/capsules/{id}/output. The in-capsule path conventions are
not yet documented well enough to copy blind — ask us for the current
layout before wiring a real workload, and use the echo command
above for your first round-trip.
7. Verify the AuditProof¶
Verification is offline. It needs no network, no Nanorix account, and none of your data:
You should see all 8 destruction steps recompute and the Ed25519
signature check out against the key embedded in the document. That is
integrity verification — no signed byte has changed since it was
signed (fields outside the signed view, such as metadata, are not checked). It reports status not_anchored and exits 4, never 0:
a proof signed with any freshly made key reaches the same result, so it
does not establish who signed. Exit 0, status verified, needs a signed key list that holds
the signing key, as the next section shows. The full manual algorithm, and SDK equivalents in Python and
TypeScript, are in Verification.
Anchoring a self-hosted proof to your own key list¶
A stronger check compares the signature with the key that a signed key list
holds for the proof's authority, not with the key the document carries.
That is what --trust-chain does. It lets an assessor verify a proof
without trusting the party that handed it over.
This release cannot sign proofs under your own signing authority: it
refuses to start when customer.signingAuthorityId is set (helm refuses to
render it), until the hybrid signer ships. That signer will add a second,
post-quantum signature to every proof signed under your authority, and this
release cannot make it. Leave the value empty. The steps below set up the
Ed25519 signer as it is built; this release does not start with them, and
the release with the hybrid signer adds its own steps.
With the Ed25519 signer as built, an install signs every proof under your
own signing authority. With the install signing on your Google Cloud KMS key (section 3), register that
key as your authority on the running install (an org admin calls
POST /v1/customer-authorities, then activates the authority). Then set
customer.signingAuthorityId to the authority's id and upgrade. From then
on every proof names your authority. The install refuses to start unless
its KMS key and key version are the ones registered for that authority.
Registration writes key version 1 today, so cdpSigning.keyResource must
end in /cryptoKeyVersions/1. The registration carries a certificate
signing request whose subject key is that KMS key and which that key
signs; Nanorix checks the request's signature under the key. The
request's challengePassword attribute must be your organization id in
lowercase hyphenated form (in an OpenSSL config with prompt = no,
challengePassword = <org_id> under [req_attributes]), so a copy of the
request cannot be registered by another organization. Your organization
id is the org_id of each entry that GET /v1/console-audit-log returns
to an org admin and of every AuditProof your capsules produce; a request
without it is refused with a 400 that names it ("its challengePassword
must be your organization id GET /v1/customer-authorities/{authority_id}/attestation. A key already
registered under any authority is refused, so each authority needs its
own KMS key.
To let an assessor anchor those proofs, give the assessor a key list for your authority. Sign the list offline with an identity key that only you hold. The list and that key's fingerprint go only to your assessor and, if you have one, your client; neither is published. Send the fingerprint through at least two channels the assessor can reach without going through your servers or Nanorix, such as a signed letter and a contract annex. The assessor pins the fingerprint and runs this command.
nanorix-verify auditproof.json \
--trust-chain trust-chain.json \
--identity-fingerprint sha256:<the fingerprint you gave the assessor> \
--required-authority-id <your authority id>
Exit code 0 (status verified) with stage 8 of 8 reached means your list holds the key that
signed the proof, under that authority and key version. It also means the
identity the assessor pinned signed the list. A wrong fingerprint, or a
list signed by another identity, stops the verifier with exit code 2 before
it checks any proof. The step-by-step procedure, from making the identity
key to what each failure means, is in the Kubernetes on-prem deployment
guide, section "Anchoring proofs to your own key list". Key lists made
with today's signing tool are for evaluation only; the guide says why. Ask
for it with the chart at
[email protected].
Two results fall short of anchoring. The verifier says which one you have.
- Run without
--trust-chain, it checks integrity only, against the key the document carries, and exits 4 with statusnot_anchored. That says nothing about who signed. - Run against the key list Nanorix publishes, which carries only Nanorix's
own authority, your proofs stop at stage 6 with
signing_key_version_unknown.
Without customer.signingAuthorityId, your proofs name a Nanorix authority
(its default one, or its test one for a test-mode API key), and in this
release that holds for every self-hosted proof. No key
list anchors them then: neither the one Nanorix publishes nor one you sign
for your own authority. Describe a proof as independently
anchored only when it reached stage 8 against a pinned key list. State any other verdict for what it is.
Day-2¶
# upgrade
helm upgrade nanorix ./nanorix -n nanorix \
-f ./nanorix/values-production-byoc.yaml -f my-overrides.yaml
# roll back
helm history nanorix -n nanorix
helm rollback nanorix <revision> -n nanorix
Run one API pod while the capsule runtime is on. A capsule runs inside the API pod
that created it, and this chart version cannot route a request to that pod.
With capsuleRuntime.privileged: true (the production profile) the chart
defaults to replicaCount: 1, upgrades with Recreate, and refuses to render
more than one replica or the autoscaler; do not add pods with
kubectl scale. The cost is an API outage on every upgrade, node drain or pod
crash until the replacement pod is Ready, and no horizontal scale. With the
capsule runtime off you can scale the API with kubectl scale. The runtime
DaemonSet is one Pod per node, with no scaling knob.
Back up the proofs. The AuditProof archive is the asset with the longest life. AuditProofs are stored in Postgres, never in the storage backend, so a standard Postgres backup of the proof records covers it. For multi-year retention obligations, keep those backups on storage with object lock or the equivalent immutability control in your platform.
Uninstall leaves nothing behind except the evidence that is designed to survive:
Where this has been run¶
Nanorix validates this path on a real non-GCP cluster rather than only in
a lab: the most recent end-to-end run installed the chart on a managed
Kubernetes cluster in fr-par, pulled the image from a private registry,
ran a capsule through create → execute → destroy, and produced a signed
AuditProof whose 8-step chain and signature verify offline. That run used
the development signer, which the chart now accepts only on an install
labelled region: sandbox-local, so its proof verifies for integrity and
is not anchored to any key list.
Next¶
- Quickstart — the same lifecycle against the hosted service
- Verification — every way to verify an AuditProof, including the manual algorithm
- AuditProof Specification — the complete artifact format
- Security Architecture — what the isolation boundary is made of
- API Reference — every endpoint your install serves
Deployment questions: [email protected].