-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
[self-hosted] cannot initialize workspace: cannot connect to workspace daemon #2935
Comments
This was partially fixed in #2029 by implementing the configuration of When
Since you do not want to configure the hostNetwork for all pods and only ws-daemon needs it, I recommend implementing this in the Helm template for ws-daemon to set this value if the dnsPolicy is configured to use the host network. |
I think we've been moving a bit too fast here. ws-daemon should never have to run with I've written up the search for alternatives here: #2956 and would like to close this issue in its favour. Please re-open if you disagree. |
@csweichel I agree. I would rather have the pod/nodePort communication use native/standard configurations than further escalate the pod. The default networking provider for RKE is Canal which is what we are using in our clusters which explains the slight differences I have seen here (and some in the past) when deploying Gitpod. This does seem to be a topic of discussion for Canal projectcalico/canal#31 so I don't think it is much a luck as it is tuning the CNIs correctly to achieve this functionality. I'll do some research into the configuration of the Rancher cluster to see if this can be achieved with a setting change at the cluster level. |
Describe the bug
Gitpod cannot initial workspace with the following error
Further investigation of the
ws-manager
logs show the workspace launching then immediately shutting downSteps to reproduce
NOTE: Because it only fails when components talk across the host network to the ws-daemon, this will succeed occassionally depending on your K8s scheduling and available resources.
Expected behavior
Workspace launches
Additional information
Rancher Kubernetes 1.17.5
Docker CE 19.03.13
Red Hat Enterprise Linux 7.8
This is closely related to #2029
Example repository
n/a
The text was updated successfully, but these errors were encountered: