-
-
Notifications
You must be signed in to change notification settings - Fork 321
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
ImagePullBackOff on hcloud-csi-node and hcloud-csi-controller #442
Comments
@melalj Please Also try clear the content in |
Here are the default firewall rules if you are curious, and most are needed for the proper functioning of the cluster. terraform-hcloud-kube-hetzner/locals.tf Line 112 in 9b4e813
|
I have filed a ticket on hcloud csi-driver repo (hetznercloud/csi-driver#339 (comment)), And they mentioned that it might be due to a temporary outage in the k8s.gcr.io registry. I solved that by using a proxy registry. Regarding the firewall rules, what I did was to open all outgoing network traffic:
Any insights on why this is not a good practice? Thanks :) |
My bad @melalj yes you did open the out traffic to the world indeed. My bad, I got confused for a sec there. IMHO I wouldn't say it's best practice unless you know a service needs to use a specific port, so you can always open that later by adding the firewall rule for that specific port in terraform and applying again. |
@melalj Out of curiosity, by proxy registry do you mean you used our new |
Exact :) that feature came in pretty handy! I used a Sonatype Nexus self-hosted registry that hosts my private docker images but also proxies all public repositories (docker.io, k8s.gcr.io, registry.k8s.io...) |
Wonderful, good to hear! @s3rius Thanks again for your contribution! 🙏 |
As I started a fresh cluster, the terraform execution went well, but after running
kubectl get pods --all-namespaces
I get the podshcloud-csi-node
andhcloud-csi-controller
stuck on the error ImagePullBackOffWhen I inspect one them I get that k8s.gcr.io is being forbidden:
FYI here's my terraform file:
Any help would be much appreciated
The text was updated successfully, but these errors were encountered: