Skip to main content

Tagging and Pushing Images

Step 1: Set Environment Variables

First, export the VERSION and CUSTOM-DOCKER-REGISTRY environment variables in your shell:
Replace <YOUR-DESIRED-VERSION> with the version of the Odigos images you want to use, <YOUR-CUSTOM-DOCKER-REGISTRY> with the URL of your custom Docker registry, and <YOUR-PLATFORM-ARCHITECTURE> with the platform architecture of the environment where you are deploying Odigos (linux/amd64, linux/arm64).

Step 2: Pull the Images

Start by pulling the required images from the enterprise registry (registry.odigos.io) onto your local machine or CI environment:
If you are using the k8s-init-container mount method make sure the odigos-agents image is also pulled, as it’s required by the injected InitContainer. This is not the default configuration, if you’re unsure what this means, you can safely ignore this step and continue with the standard setup.
Odigos component images are published in multi-arch for ARM64 and AMD64 architectures. When pulling these images, be sure to specify the correct architecture for the environment they will be deployed.

Step 3: Tag the Images

Next, Tag each image with your custom Docker registry prefix:
Note: Enterprise images are hosted at registry.odigos.io. Image names are odigos-<component> or odigos-enterprise-<component> without an embedded keyval/ path segment. If you previously mirrored images under an older layout, re-tag them to match this naming when pushing to your custom registry.
Note: Odigos Enterprise now runs a dedicated collector image, odigos-enterprise-collector, in place of odigos-collector. If you were already mirroring odigos-collector, mirror odigos-enterprise-collector as well before upgrading, otherwise the gateway and the node collectors will fail to pull.

Step 4: Push the Images

Now, push the tagged images to your custom Docker registry:

Step 5: Configure Access for Private Registries

If your Docker registry is private, configure your Kubernetes cluster to pull images from it. Refer to the official Kubernetes documentation for guidance: Pull an Image from a Private Registry.
Note: To ensure your Odigos deployments and daemonsets can pull images from a private registry, patch them to add the image pull secret. Use the following commands:

Step 6: Install Odigos Using Custom Images

Finally, install Odigos using the images from your custom Docker registry: