-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Che can't verify ingress after creating it in k8s (Azure AKS) #10751
Comments
Hi, Just to clarify which server strategy do you use? |
right now we use single-host |
@bsukramlitt I've created an issue for fixing an issue that you faced #10767. |
how can i fix the issue without this implementation? |
turns out the fix is as easy as enabling this in the values.yaml of nginx ingress
afterwards all ingress objects will get the lb ip in the ingress and che continues. |
Closing. Feel free to reopen this issue if you think it's still relevant for you. |
Description
Hello,
I need help to debug an issue in che. We right now can't create workspaces beacuse the creation of the ingress endpoints always fails. But its unclear why. The attached loggs show the error and the created ingresses. There are no errors on the k8s event log. Any suggestions? To me the created ingress connections look just fine.
The error happens due to the timeout of the future here https://github.com/eclipse/che/blob/07263f1e30089689d71b057f747a44a29283e3c4/infrastructures/kubernetes/src/main/java/org/eclipse/che/workspace/infrastructure/kubernetes/namespace/KubernetesIngresses.java#L109
If I step into here I can evaluate ingress.getStatus().getLoadBalancer().getIngress().isEmpty() and it returns true. So at least something seems to be correct.
https://github.com/eclipse/che/blob/07263f1e30089689d71b057f747a44a29283e3c4/infrastructures/kubernetes/src/main/java/org/eclipse/che/workspace/infrastructure/kubernetes/namespace/KubernetesIngresses.java#L84
If I set a breakpoint here https://github.com/eclipse/che/blob/07263f1e30089689d71b057f747a44a29283e3c4/infrastructures/kubernetes/src/main/java/org/eclipse/che/workspace/infrastructure/kubernetes/namespace/KubernetesIngresses.java#L85
The application never stops. This already confuses me a lot.
Could it be that che does not get the k8s events for some reason? And if yes how can I check this in fabric8.
Anything additional I can look at?
OS and version:
kubernets v 1.10.6
che 6,7.1
Diagnostics:
From che:
Created Ingresses:
The text was updated successfully, but these errors were encountered: