-
Notifications
You must be signed in to change notification settings - Fork 103
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
Liveness probe failed: private network connection refused #152
Comments
this solves my issue: #143 (comment) |
@JWDobken we won't recommend using the host network for this. It looks like something on your network stack is wrong (Maybe missing routes?). Exposing the CSI Driver via the host network, exposes all the ports completely, so an attacker might use these open ports as an entry point. |
thanks @LKaemmerling. Also, I cannot shell connect to containers other than on the master node. So that might have the same cause. Although I can't figure out exactly what. $ kubectl exec -it my-csi-app -- /bin/sh
Error from server: error dialing backend: dial tcp 10.244.0.3:10250: connect: no route to host |
OK.. if I diable ufw on all nodes, everything works fine. I'm definitely not an expert in this field at all, so if anyone can tell me how to properly set up my firewall for this private network it would be much appreciated. My current ufw settings:
|
@JWDobken you should whitelist the whole private network range. As a sample
So basically you need to make sure that the intercluster communication can work. |
I am running my cluster with:
10.244.0.0/16
and that is all working fine:
Now when I deploy the CSI driver:
The hcloud-csi-driver of the hcloud-csi-controller and the hcloud-csi-nodes will keep restarting forever. But when I try to read the logs, I get:
and the events from the pod description reports that the Liveness probe fails:
The text was updated successfully, but these errors were encountered: