-
Notifications
You must be signed in to change notification settings - Fork 108
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failed to pull image "busybox" #82
Comments
Yes would be awesome if any ref to public images could be replaced by variable |
I have a plan I have yet to try. High level
1. Find a public cache for busybox other than DockerI found an official repository on ECR Public Gallery for busybox I could set up a mirror that I would need to maintain, but this looks in line with the official busybox on Dockerhub 2. Replace InitContainer with new linkKubernetes official documentation shows you can update the image of the daemonset in place and the default strategy is already RollingUpgrade:
But we don't want to update the image, we need to update the Image under the InitContainer. This StackOverflow answer says that we can update the image under the InitContainer by referencing the InitContainer name as per the Kubernetes PR that implemented this change. In my case there are two
Which means my command will be:
|
After last fluentd-cloudwatch update I have this in logs.
`kubectl get events -A | grep -i "error|warning|failed" | grep fluentd-cloudwatch
Failed to pull image "busybox": rpc error: code = Unknown desc = Error response from daemon: toomanyrequests: You have reached your pull rate limit. You may increase the limit by authenticating and upgrading: https://www.docker.com/increase-rate-limit
amazon-cloudwatch 12m Warning Failed pod/fluentd-cloudwatch-h8q6w Error: ErrImagePull
amazon-cloudwatch 12m Warning Failed pod/fluentd-cloudwatch-h8q6w Error: ImagePullBackOff
amazon-cloudwatch 19m Warning Failed pod/fluentd-cloudwatch-qd8hh Failed to pull image "busybox": rpc error: code = Unknown desc = Error response from daemon: toomanyrequests: You have reached your pull rate limit. You may increase the limit by authenticating and upgrading: https://www.docker.com/increase-rate-limit`
fluentd-cloudwatch could not start anymore.
Could you include variable to use either public AWS ECR repository or private AWS ECR repository?
If the variable was not set use by default busybox docker hub repository.
If the variable was set use repository provided in the variable.
The text was updated successfully, but these errors were encountered: