Join 1M+ other developers and:
- Get help and share knowledge in Q&A
- Subscribe to topics of interest
- Get courses & tools that help you grow as a developer or small business owner
Using a custom DNS name server with managed Kubernetes
I’m very new to Kubernetes and I’m trying to pull a container from a private container registry.
The private container registry hostname is internal and only resolvable using our internal DNS.
Failed to pull image “this.is.private/awesome:latest”: rpc error: code = Unknown desc = Error response from daemon: Get https://this.is.private/v2/: dial tcp: lookup this.is.private on 184.108.40.206:53: no such host
How can I tell Kubernetes to use our internal DNS name server when it tries to resolve this.is.private?
Remember: this is a managed instance of Kubernetes and this error is before the pods are online.