Skip to main content

tetrate agentrouter manage images copy

Copy management plane images from the source registry (authenticated with admin API key) to a destination registry.

Examples:
# Copy images with the same tag (using flag)
TETRATE_REGISTRY_URL=registry.staging.tetrate.ai tetrate agentrouter manage images copy --api-key=<key> --to=gcr.io/myproject --tag=0.0.1-alpha.1

# Copy both management plane and dataplane images
TETRATE_REGISTRY_URL=registry-staging.tetrate.ai tetrate agentrouter manage images copy --api-key=<key> --to=gcr.io/myproject --tag=0.0.1-alpha.1 --all

# Copy images using environment variable
TETRATE_REGISTRY_URL=registry.staging.tetrate.ai TETRATE_ADMIN_API_KEY=<key> tetrate agentrouter manage images copy --to=gcr.io/myproject --tag=0.0.1-alpha.1

# Copy images and retag (source tag -> destination tag)
TETRATE_REGISTRY_URL=registry.staging.tetrate.ai TETRATE_REGISTRY_API_KEY=<key> tetrate agentrouter manage images copy --to=gcr.io/myproject --tag=0.0.1-alpha.1->1.0.0

Usage:
tetrate agentrouter manage images copy [flags]

Flags:
--all Copy all images (management plane + dataplane)
--api-key string Admin API key for source registry authentication (can also use TETRATE_REGISTRY_API_KEY or TETRATE_ADMIN_API_KEY env var)
--registry string Source registry URL (can also use TETRATE_REGISTRY_URL env var)
--tag string Image tag to copy. Format: 'tag' or 'sourceTag->destTag' for retagging (default "latest")
--timeout duration Timeout for each image copy operation (default 1h0m0s)
--to string Destination registry (required)

Global Flags:
-q, --quiet Suppress progress output; only errors and the final summary go to stderr
-v, --verbose Verbose output: plain-mode progress lines plus full per-blob chunk logs to stderr