Skip to main content
Version: v3.9.0

OfflineImage fields

Reference for kind: OfflineImage. The transfer and catalog upsert are on Offline images.

Deploy
apiVersion: datasance.com/v3 # required, string
kind: OfflineImage # required, string
metadata:
name: reader # required, string
namespace: my-ecn # no, string
spec:
name: reader # required, string. Lowercase alphanumeric
amd64: ghcr.io/datasance/reader:1.0.0 # one arch, string. At least one architecture image
arm64: ghcr.io/datasance/reader:1.0.0 # one arch, string
arm: ghcr.io/datasance/reader:1.0.0 # one arch, string
riscv64: ghcr.io/datasance/reader:1.0.0 # one arch, string
agent: # required, list of string. Remote Edgelet node names. The key is agent
- edge-01
auth: # no, object. If set, both username and password are required
username: pull-user # if auth is set, string
password: pull-token # if auth is set, string

At least one of amd64, arm64, arm, or riscv64 is required. Each node receives the image for its platform.

Fields​

FieldRequiredDescription
nameYesCatalog item name. Lowercase alphanumeric.
amd64One archImage for linux/amd64.
arm64One archImage for linux/arm64.
armOne archImage for linux/arm.
riscv64One archImage for linux/riscv64.
agentYesRemote Edgelet node names. The list key is agent.
auth.usernameIf auth is setRegistry username.
auth.passwordIf auth is setRegistry password or token.

Catalog row​

Lookup is by spec.name. A missing item is created with registry id 2 and a description that starts with Offline image bundle. An existing item asks for confirmation, then updates images. Built-in alias local is id 2.

The node arch selects the image. An arm64 node without arm64 fails with a message that names the missing field.

Validation​

ConditionError
Empty namespec must include a name.
No nodesmust include at least one agent.
No arch imagemust include at least one architecture image.
Local nodeonly supports remote Agents.
Partial authrequires both username and password.

--no-cache forces a fresh pull. Artifacts otherwise stay in the namespace offline cache.

Group 3See anything wrong with the document? Help us improve it!