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 default community registry (docker.io/keyval) 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.
If you are using image mirrored Go offsets updates, also mirror the offsets image:
Keeping this image regularly up-to-date is necessary to pull the latest offsets into your cluster.
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: Community images use the registry prefix docker.io/keyval (for example docker.io/keyval/odigos-scheduler). Image names themselves are odigos-<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.

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: