cloud-native-stack icon indicating copy to clipboard operation
cloud-native-stack copied to clipboard

unable to add docker credentials to avoid pull rate limits

Open wolfganghuse opened this issue 7 months ago • 7 comments

Hello, i cannot add docker credentials to CNS deployment to avoid pull rate limit issues. In my case during install, k8s was not able to pull Calico images from Docker registry.

Regards, Wolfgang

wolfganghuse avatar Jul 21 '25 09:07 wolfganghuse

Defining a registry mirror for installation would also be a suitable solution.

wolfganghuse avatar Jul 21 '25 09:07 wolfganghuse

after patching pull secret manually for calico at a later time also "local-path-storage helper-pod-create-pvc-f6f86b95-c510-4120-89f5-30a8ae72ead5" fails with rate limit issue.

wolfganghuse avatar Jul 21 '25 09:07 wolfganghuse

CNS Deployment is focused for Fresh Install, if you hit rate limit that specific the docker hub and your system, but with fresh installation we never see this issue before. docker hub login feature is customized if your system already used enough docker pulls

angudadev avatar Aug 25 '25 19:08 angudadev

Based on how docker pull rate limits works, this is independent of install state of the individual system. If there are a lot of un-auth docker pulls from a single public IP this will result in rate limit errors independent of the systems behind that IP. Therefore adding ability to authenticate or use private registry would be very helpful.

wolfganghuse avatar Aug 26 '25 07:08 wolfganghuse

But if you have a fresh install you shouldn't hit the issue ?

We will add this step as part of troubleshooting

ghost avatar Aug 26 '25 15:08 ghost

If the fresh install uses public IP of corporate network which already has exhausted free pulls, it will fail.

wolfganghuse avatar Aug 26 '25 15:08 wolfganghuse

it seems like your corporatation need to work on increase the pull rate limits for corporate IP, as it's intended to an orgnization. Cloud Native Stack implemented for Fresh Install with inteneded static IP that can allow enough pulls from docker hub. It doesn't make sense to add the credentials additional step for docker hub rate limit issue

ghost avatar Sep 24 '25 15:09 ghost