Skip to content

Instantly share code, notes, and snippets.

@angelbarrera92
Created January 4, 2021 12:24
Show Gist options
  • Save angelbarrera92/6b5d800affc18c3c2bf65783d962f3b3 to your computer and use it in GitHub Desktop.
Save angelbarrera92/6b5d800affc18c3c2bf65783d962f3b3 to your computer and use it in GitHub Desktop.
Avoid DockerHub rate limit on kind configuration
apiVersion: kind.x-k8s.io/v1alpha4
kind: Cluster
nodes:
- role: control-plane
- role: worker
containerdConfigPatches:
- |-
[plugins."io.containerd.grpc.v1.cri".registry]
[plugins."io.containerd.grpc.v1.cri".registry.mirrors]
[plugins."io.containerd.grpc.v1.cri".registry.mirrors."docker.io"]
endpoint = ["https://registry-1.docker.io"]
[plugins."io.containerd.grpc.v1.cri".registry.configs]
[plugins."io.containerd.grpc.v1.cri".registry.configs."registry-1.docker.io".auth]
username = "<DOCKERHUB-USERNAME>"
password = "<DOCKERHUB-PASSWORD>"
auth = ""
identitytoken = ""
@angelbarrera92
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment