Score:1

Can't use images from k8s.gcr.io registry in my kubernetes cluster

cn flag

I've setup a k8s cluster on a bare metal ubuntu machine using RKE. There is no problem creating deployments with images from docker.io.

But I can't create deployments which are based on gcr.io:

Warning  Failed     10s   kubelet            Failed to pull image "k8s.gcr.io/ingress-nginx/kube-webhook-certgen:v1.0@sha256:f3b6b39a6062328c095337b4cadcefd1612348fdd5190b1dcbcb9b9e90bd8068": rpc er │
ror: code = Unknown desc = Error response from daemon: Get "https://k8s.gcr.io/v2/": dial tcp: lookup k8s.gcr.io: Temporary failure in name resolution                                                   │
Warning  Failed     10s   kubelet            Error: ErrImagePull

Why is k8s.gcr.io blocked and where can I enable it?

co flag
Check your DNS server. "lookup k8s.gcr.io: Temporary failure in name resolution"
user3142695 avatar
cn flag
@BMitch How do I check it?
Score:1
lr flag

According to Rancher

"If you want to use Google Container Registry, you will have to use a service account JSON key file. Don’t forget to grant the correct permissions to the Google Cloud Storage bucket containing your Container Registry images.

Specify the registry address according to the region your images are stored. Use _json_key as username and use the full contents of the service account JSON key file as password."

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.