-
Notifications
You must be signed in to change notification settings - Fork 718
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
Fleet agent never associates with kibana if Nodeport is provided in kibana manifest #8043
Comments
I had the same problem. I was able to solve it by looking at the logs. They were showing an error related to the unavailability of a port named So the following modification should do the trick (at least, it did for me): # service:
# spec:
# type: NodePort
# ports:
# - name: https
# port: 5601
# nodePort: 32000 |
Also having same issue running on an rke2 cluster (eck version 8.15.3) but am having issues with elasticsearch too which is running on ClusterIP and unfortunately setting the name for the service ports did not work for me.
Update
When I look through the fleet server logs, am seeing logs:
strange that it's now trying to connect via http and not using the environment variable set FLEET_SERVER_ELASTICSEARCH_HOST = "https://elastic-cluster-es-http.elastic-system.svc:9200" but at least I now have a fleet server pod executing. I suspect the dns is irrelevant and the real issue I should be focusing on is: as it seems the agent is trying to authenticate and get it's settings from Kibana but can't. I've tried a number of things but cannot seem to get anywhere. Hoping your issue is similar and we can find a way forward. |
If we set the service and nodeport configuration for kibana, the fleet server 'Agent' custom resource never associates with kibana
Fleet server manifest
Kibana manifest
It gets stuck in this state.
The text was updated successfully, but these errors were encountered: