Install
Air-gapped install
Mirror the images with their signatures, point the chart at your registry and model mirror, and keep signature verification working with no egress.
In short
opod runs with no internet access. You copy the images (with their signatures) and the chart into your own registry, point the chart at it, and give workers a model mirror or a pre-filled cache. Signature checks and the licence both work offline. Nothing in opod calls home.
When you need it
- Your cluster has no route to the internet, or only through an allow-listed proxy.
- Your security policy says every image must come from your own registry.
- You must prove that the images you run are the ones we signed, without reaching Sigstore.
Do it
Mirror the images and the chart
cosign copy ghcr.io/opod-io/opodcp:0.3.6 harbor.example.com/opod/opodcp:0.3.6 helm pull oci://ghcr.io/opod-io/charts/opodcp --version 0.3.6 helm push opod-0.2.1.tgz oci://harbor.example.com/chartsRepeat
cosign copyfor every digest the chart pins: 1. Mirror the images prints the list.Write a values file for the mirror
Put the
image,imagePullSecrets,engineImages, device plugin andlwslines from 2. Point the chart at the mirror and theimagesblock from 3 intovalues-airgap.yaml, and theweightsvalues from 4.Install from the mirror
helm install opodcp oci://harbor.example.com/charts/opodcp --version 0.3.6 -n opodcp --create-namespace \ -f values-airgap.yamlInstall the licence key from a file
See 6. The licence. A key is verified offline.
Check it worked
export H="Authorization: Bearer $(kubectl -n opodcp get secret opodcp-admin -o jsonpath='{.data.token}' | base64 -d)"
kubectl -n opodcp exec deploy/opodcp -- /opodcp doctor | grep -E 'registry|images-signed'
kubectl -n opodcp port-forward svc/opodcp 8080:8080 &
curl -s -H "$H" http://127.0.0.1:8080/api/v1/images | jq '.images[] | {ref, pinned, signature, signatureReason}'A good answer: every ref starts with your registry and ends in @sha256:…, pinned is true, and signature is verified. The images-signed doctor row is ✔ and names the trust root in use. The console's Images & artifacts page shows the same list.
If it fails
| Symptom | Cause | Fix |
|---|---|---|
Pods in ImagePullBackOff with harbor.example.com/…: unauthorized | no pull Secret, or the wrong one | create the Secret in namespace opodcp and list it in imagePullSecrets |
signature: invalid, signatureReason: untrusted-identity | no images.trust entry matches the mirror path | add the two entries in step 3, with your mirror prefix |
signature: unknown | the control plane could not ask the registry | check imagePullSecrets and the registry's address from the pod |
A rollout is refused E-UNSIGNED or E-SIGNATURE | images.verify: enforce and a signature that fails | copy the image with cosign copy, not docker push, so the signature travels |
A worker fails to fetch weights from huggingface.co | no mirror set | set weights.hubEndpoint, and weights.skipSourceCheck: true |
A plan is refused E-NO-ENGINE | that engine × vendor has no image in engineImages | mirror its image and set the value |
What reaches out by default
The control plane needs no connection to us at any time, and verifying signatures needs no egress. An install without internet access needs three things: the images in your registry, the chart, and a source for model weights.
| What | Where to | Without it |
|---|---|---|
| image pulls | ghcr.io/opod-io/*, nvcr.io, docker.io (AMD, Intel, Valkey), registry.k8s.io (LeaderWorkerSet), ghcr.io (Tenstorrent plugin, CloudNativePG, the endpoint picker) | mirror them (step 1) |
| model weights | huggingface.co, from workers and prefetch Jobs | a Hub mirror or a pre-filled cache (step 4) |
| the Sigstore root | tuf-repo-cdn.sigstore.dev, daily, with images.trustRoot: auto | the root built into the binary is used, and the doctor says so |
| signature reads | your registry only | — |
| the licence | nothing: a key is verified offline | — |
1. Mirror the images with their signatures
Copy every image the chart pins by digest, with cosign copy, so each image's signature and SBOM travel with it and the digests stay the same:
helm show values oci://ghcr.io/opod-io/charts/opodcp --version 0.3.6 > values-upstream.yaml
# every image reference the chart pins:
grep -oE '[a-z0-9.-]+\.[a-z]+/[^ "]+@sha256:[0-9a-f]{64}' values-upstream.yaml | sort -u
cosign copy ghcr.io/opod-io/opodcp:0.3.6 harbor.example.com/opod/opodcp:0.3.6
cosign copy ghcr.io/opod-io/opod-leader@sha256:<digest> harbor.example.com/opod/opod-leaderThe list includes the control plane, the leader, one worker per engine and vendor, the device plugins, the LeaderWorkerSet controller and, when you use them, KEDA, CloudNativePG, NATS, Valkey and the endpoint picker. Every node must be able to pull the control plane image: the GPU telemetry DaemonSets copy their agent out of it.
Mirror the chart too:
helm pull oci://ghcr.io/opod-io/charts/opodcp --version 0.3.6
helm push opod-0.2.1.tgz oci://harbor.example.com/charts2. Point the chart at the mirror
image:
repository: harbor.example.com/opod/opodcp
digest: sha256:<the control plane digest>
imagePullSecrets: [{ name: harbor }] # the first entry is also used for every endpoint pod
engineImages:
leader: harbor.example.com/opod/opod-leader@sha256:<digest>
llamacppNvidia: harbor.example.com/opod/opod-worker-llamacpp-nvidia@sha256:<digest>
vllmNvidia: harbor.example.com/opod/opod-worker-vllm-nvidia@sha256:<digest>
# … one line per engine × vendor you serve; leave the rest empty to refuse them by name
substrate:
nvidiaDevicePlugin: { image: harbor.example.com/nvidia/k8s-device-plugin@sha256:<digest> }
lws:
image: { manager: { repository: harbor.example.com/lws/lws, tag: "v0.7.0@sha256:<digest>" } }An empty engineImages value means the planner refuses that engine × vendor pair with the reason, before anything is created.
3. Keep signature verification
The control plane verifies every pinned image's cosign keyless signature offline (the Fulcio chain, the transparency log's signed timestamp, the digest). With the signatures copied, it needs no egress. Two settings make that explicit:
images:
verify: enforce # refuse an invalid, unsigned or unverifiable image (default: warn)
trustRoot: embedded # never go online for the Sigstore root
trust:
- repositoryPrefix: harbor.example.com/opod/opod-
issuer: https://token.actions.githubusercontent.com
identityRegex: ^https://github\.com/opod-io/opod-core/\.github/workflows/.+@refs/(heads|tags)/.+$
- repositoryPrefix: harbor.example.com/opod/opodcp
issuer: https://token.actions.githubusercontent.com
identityRegex: ^https://github\.com/opod-io/opod-cp/\.github/workflows/.+@refs/tags/.+$The leader and worker images are signed by the core repository's workflows, and the control plane image by the control plane repository's release workflow on a tag. A mirror that holds both needs both entries, as above. A prefix without a trailing slash matches every repository that starts with it.
- Nothing outside
ghcr.io/opod-io/is trusted until atrustentry names who signs it. A mirror filled withcosign copykeeps our signatures, so its entry names our identity. A mirror you re-sign names yours. - With
trustRoot: auto(the default) the control plane refreshes Sigstore's root daily when it can reach it and otherwise uses the copy built into the binary.opodcp doctorsays which is in use. - After a Sigstore key rotation, a binary's built-in root can age out. Mount a current root with
images.trustRootConfigMap(a ConfigMap with itemtrusted_root.json). - A registry the control plane cannot ask reads as
unknown. An unknown is never refused and always recorded.
See Supply chain.
4. Model weights
Workers and prefetch Jobs fetch weights from Hugging Face by default. Without internet access:
| Value | Effect |
|---|---|
weights.hubEndpoint | a Hugging Face mirror's base URL, given to workers as HF_ENDPOINT |
weights.skipSourceCheck | true = a worker never checks a model's upstream; an air-gapped mirror needs it. With it, no model signature is checked. |
weights.catalogPubKey | a minisign public key: a catalog file with a signature beside it must verify against it |
weights.catalogRequireSigned | true = a catalog file with no signature is refused too (needs catalogPubKey) |
Each of these is empty by default and reaches the pods only when set, so an install that sets none renders exactly the templates it would otherwise.
5. Check it
kubectl -n opodcp exec deploy/opodcp -- /opodcp doctor
curl -s -H "$H" http://127.0.0.1:8080/api/v1/images | jq '.images[] | {ref, signature, signatureReason}'The images-signed doctor row says which trust root is in use and how old it is. Images & artifacts lists every configured image with its pin and signature result. A row that reads invalid with untrusted-identity means a trust entry is missing or does not match the mirror's path. A row that reads unknown means the control plane could not ask the registry: check imagePullSecrets.
6. The licence
The key is verified offline. Install it from a file as in Licensing. Renewal of an air-gapped install is the same: install the new key.
Last updated · Source: content/docs/control-plane-install/air-gapped.mdx · View as Markdown