Vigyata.AI
Is this your channel?

Stop Hitting Docker Hub Rate Limits! Use Harbor Proxy Cache in Kubernetes!

2.0K views· 64 likes· 18:47· Mar 29, 2025

🛍️ Products Mentioned (1)

Setting up Harbor Proxy Cache in Kubernetes allows you to cache and accelerate container image pulls, reduce Docker Hub rate limits, and improve your cluster's performance. This setup enables your Kubernetes nodes to fetch images faster by storing frequently used ones in Harbor, reducing external dependencies and bandwidth usage. In this guide, we’ll cover: ✅ Installing Harbor in a Kubernetes cluster using Helm ✅ Configuring Harbor as a proxy cache for Docker Hub or other registries By the end, you'll have a self-hosted container registry that speeds up deployments and enhances reliability. 🚀 Install Instructions: https://github.com/sassdrew/homelab/tree/main/42-Kubernetes-Harbor Interested in other Homelab videos? Check out this playlist: https://www.youtube.com/playlist?list=PLhkW8M2MBf-H33LeTrVMc0LwN3EuOqGQV Wanting to automate your builds with Gitlab and Ansible? Check out this playlist: https://www.youtube.com/playlist?list=PLhkW8M2MBf-Gjb5qI-f1vPbXN530Hd1-3 For Business Inquiries you can email me at: sassdrew501@gmail.com

About This Video

In this video I’m setting up Harbor in my Kubernetes homelab and using it as a proxy cache in front of Docker Hub. The whole point is simple: stop getting wrecked by Docker Hub pull limits (especially with the April 1st, 2025 changes—10 pulls/hour unauthenticated and 100 pulls/hour on a free authenticated account) and speed up image pulls by keeping the stuff you use all the time inside your own network. If you’re running a bunch of CI/CD pipelines or you’re like me and you’re constantly spinning up random self-hosted apps and test containers, you can hit those limits way faster than you’d think. I walk through installing Harbor with Helm, setting the external URL, deploying it into a dedicated namespace, and then wiring up ingress correctly (this part matters). Harbor splits things across microservices, so I show the Traefik routing rules that need to send specific paths (like /api and /v2) to “core” instead of only forwarding everything to the portal—otherwise login gets weird even with the right credentials. After that, I create a Docker Hub registry entry in Harbor, create a public proxy-cache project, and demo pulling an image through Harbor so it caches locally. Bonus: Harbor’s built-in vulnerability scanning is a really nice extra so you can see what you’re actually pulling into your lab.

Frequently Asked Questions

🎬 More from sass drew