Hello, Is it possible to use Metaflow with a priv...
# ask-metaflow
r
Hello, Is it possible to use Metaflow with a private image registry? In our case, it is a Gitlab registry and I can’t find docs for such a case.. I’m trying to run the flow on remote Kubernetes cluster:
METAFLOW_KUBERNETES_SECRETS=docker-secret METAFLOW_DEFAULT_CONTAINER_REGISTRY=<http://registry.domain.com|registry.domain.com> python flow.py --with kubernetes:image=<image:tag> --datastore=s3 run
docker-secret
created with command:
kubectl create secret docker-registry docker-secret --docker-username=USERNAME --docker-password=PASSWORD --docker-server=<http://registry.domain.com|registry.domain.com>
And the output from `kubectl describe pod ...`:
Copy code
Failed to pull image "<http://registry.domain.com/image:tag|registry.domain.com/image:tag>": rpc error: code = Unknown desc = failed to pull and unpack image "<http://registry.domain.com/image:tag|registry.domain.com/image:tag>": failed to resolve reference "<http://registry.domain.com/image:tag|registry.domain.com/image:tag>": failed to authorize: failed to fetch anonymous token: unexpected status: 403 Forbidden
Any ideas how to fix this? Thanks in advance
1