5 ms·
Hosting a forwarding / redirect server instead of actually hosting images is probably a decent idea. The K8s proxy is redirecting from only hosting on GCR to c
by alexellisuk 4y ago
Hosting a forwarding / redirect server instead of actually hosting images is probably a decent idea.
The K8s proxy is redirecting from only hosting on GCR to community-owned registries - https://kubernetes.io/blog/2023/03/10/image-registry-redirect/ https://kubernetes.io/blog/2023/03/10/image-registry-redirec...
You can view the code here - https://github.com/kubernetes/registry.k8s.io https://github.com/kubernetes/registry.k8s.io
But because everyone is already pointing at gcr.io (just like many openfaas users point at docker.io/) - they're having to do a huge campaign to announce the new URL - the same would apply with the author's solution here.
I wrote some automation for hosting (not redirects) in arkade with the OSS registry - Get a TLS-enabled Docker registry in 5 minutes - https://blog.alexellis.io/get-a-tls-enabled-docker-registry-in-5-minutes/ https://blog.alexellis.io/get-a-tls-enabled-docker-registry-...
The registry is also something you can run on a VM if you so wish, and have act as a pull through cache.
Apart from reliability - GitHub's container registry is the current next best option - but we have to ask ourselves, what happens when they start charging or the outages start to last longer or are more frequent than 1-2 times per week as we've seen in Q1 2023.
- kobalsky 4y ago> But because everyone is already pointing at gcr.io Did people forget about Google Code repositories already?
- Takennickname 4y agoI'm the annoying kind that always has answers to people's questions. Want me to argue for everything liberal and against everything conservative? Easy. For everything conservative, and against everything liberal? Also easy. I cannot for the life of me understand why people use google products like google isn't going to shut them down whenever they want to. Stadia was the most amazing example. "Surely, google wouldn't do that. Stadia customers are paying customers." 3 years from launch to shut down announcement. 3 months from shutdown announcement to actually shutting down and losing all your investment in Stadia. I don't understand how long google can keep getting away with this.
- piperswe 4y agoPeople didn't lose all their investment in Stadia. They lost save files, but not monetary investment - Google refunded all game/software purchases and all Google Store hardware purchases.
- pleb_nz 4y agoPeople may just be avoiding google stuff where possible, and not really forgetting. A lot of bad stigma there, at least on hackernews from what I've read.