title: Kubernetes https://registry-1.docker.io/v2/: dial tcp: lookup registry-1.docker.io: Temporary failure in name resolution
body: <p>I have just setup a kubernetes cluster on my raspberrypis (3 in total) and am getting this error when trying to pull a docker image from a public repo:</p>
  <pre><code>Failed to pull image &quot;docker.io/jettech/kube-webhook-certgen:v1.2.2&quot;: rpc error: code = Unknown desc = Error response from daemon: Get https://registry-1.docker.io/v2/: dial tcp: lookup registry-1.docker.io: Temporary failure in name resolution
  </code></pre>
  <p>I have only found webpages which tell you to use a image pull secret but since it is a public repo im kinda confused... At work we didn't have to use a secret for public images.</p>
  <p>This is the service that i am trying to deploy.</p>
  <pre><code>    apiVersion: v1
  kind: Service
  metadata:
    name: echo1
  spec:
    ports:
    - port: 80
      targetPort: 5678
    selector:
      app: echo1
  ---
  apiVersion: apps/v1
  kind: Deployment
  metadata:
    name: echo1
  spec:
    selector:
      matchLabels:
        app: echo1
    replicas: 1
    template:
      metadata:
        labels:
          app: echo1
      spec:
        containers:
        - name: echo1
          image: hashicorp/http-echo
          args:
          - &quot;-text=echo1&quot;
          ports:
          - containerPort: 5678
  </code></pre>
  <p>But it doesn't make a difference on what service i want to deploy even the ingress-nginx doesn't work:</p>
  <pre><code>kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/controller-v0.34.1/deploy/static/provider/do/deploy.yaml
  </code></pre>
  <p>Thanks in advance!</p>