Skip to main content
Version: main 🚧

Override the Alpine sidecar image

vCluster uses an Alpine sidecar container to manage host entries in the virtual cluster's /etc/hosts file. By default, it pulls the Alpine image from DockerHub.

Configure your own image​

In your vcluster.yaml configuration, add the following:

sync:
toHost:
pods:
rewriteHosts:
initContainer:
image: "your-alpine-or-similar-img"

Add image pull secrets​

For private registry images that require authentication add the following.

Ensure you replace secret-name-in-vcluster-ns with your actual secret name in the vCluster namespace.

controlPlane:
advanced:
workloadServiceAccount:
imagePullSecrets:
name: secret-name-in-vcluster-ns