-
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
We should use services hostname instead of ingresses for inter-components communications #17644
Comments
I think it worths to declare that different communication should be configurable like Che and Keycloak are run in the same namespace and there is no reason to use external networking except external keycloak is used ( as is described in the issue ). |
@sleshchenko you are probably referring to the OpenShift Online cluster (che.osio) network policy that blocks communications across namespaces. That's a cluster with a peculiar configuration. By default communications across namespaces are enabled on both Kubernetes and OpenShift. |
Hello. @l0rd , @sleshchenko we are going to introduce cheCluster settings to enable internal network. Let's call it |
Not sure if this is relevant but in order to achive the network isolation on 3.11 the multitenant sdn for 4.x clusters network policy is used to achieve multitenancy - https://docs.openshift.com/container-platform/4.1/networking/configuring-networkpolicy.html#nw-networkpolicy-multitenant-isolation_configuring-networkpolicy-plugin
|
Is your enhancement related to a problem? Please describe.
When wsmaster try to reach Keycloak it uses its external ingress/route hostname instead of using the internal service hostname. That makes sense only if Keycloak is external (the exception).
This is a problem because HTTP requests may need to follow a complicated and venturesome path going through proxies, firewalls etc...
This is NOT a wsmaster <--> keycloack specific problem. The plugin broker has the same issue when communicating with the registries and the wsmaster. And other Che components may have the same problem.
Describe the solution you'd like
All communications between Che services, by default, should use the cluster internal service hostname.
The text was updated successfully, but these errors were encountered: