-
Notifications
You must be signed in to change notification settings - Fork 686
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
Association fails when Kibana and Elasticsearch are managed by different operators #1438
Comments
After looking into this a little bit more, I think the issue is that the cross-namespace Elasticsearch watch created by the Kibana association controller never succeeds because the controller-runtime currently supports watching a single namespace only. Once we upgrade to v0.2.0 of the controller-runtime, we can start making use of the multi namespace cache and potentially fix this problem. |
To give a bit more context to this issue: We currently have 3 controllers running in the operator to manage ES and Kibana:
With #374, we describe a way for the user to pick which controllers they want to run, with which associated namespace. The user could choose to run any combination of controller/namespace to achieve the case you describe in the first post. That is:
As you pointed out, we cannot achieve that yet since we're waiting for controller-runtime v0.2.0 (our related issue). I think another reason why this is not possible/implemented yet (other than the multi-namespace watch feature) is that we don't really know whether the situation we describe here is an actual use case. Is it maybe just us over-engineering something nobody will never use? |
Closing as this is not a supported use case. Please reopen if you feel we should mention it in our documentation. |
Scenario:
Operator-A
manages namespaceA
Operator-B
manages namespaceB
A
B
with a reference to Elasticsearch deployed in namespaceA
Outcome:
Kibana pods don't get deployed because the operator fails to find the Elasticsearch backend.
This is probably because the Kibana association controller requires access to both namespaces in order to create the association. The current operator deployment model does not support this configuration.
Related issues:
The text was updated successfully, but these errors were encountered: