I was wondering what the current stability of the Kibana Fleet API is? I see that it is still in tech preview and there is an open issue for it going GA, but was wonder if it is safe to start investing in building automation processes around it, or if I should hold off longer before investing in starting to use it?
Thanks for reaching out @BenB196. Can you articulate what kind of automation are you trying to build with fleet API and the outcomes you'd like to achieve using that automation?
Hi @MukeshG sure. Today, I use some standalone Elastic Agents that contain 500+ "integrations" (think a single agent with 500 synthetic ICMP integrations, pinging a whole bunch of stuff). These standalone agents currently are deployed on Kubernetes. The issue I'm running into is that Kubernetes has a 1MB limit on configuration file size, and because of the large number of integrations, I'm occasionally hitting this limit and having to do some hacky workarounds.
These agent configurations are automatically updated from various systems at various times, so manual intervention isn't required.
Instead of using standalone agents and using these hacks. I'd like to just have a script that builds a policy with the 500 integrations then use a fleet managed agent. This would also help in allowing others to easily visualize what the agent configuration looks like.
Thanks for explaining the use case and your approach. I think you should be able to use Fleet API to build that automation and rely on fleet to propagate the integration configuration whenever it is updated.
Question: Where would the agent be running in this case, in a K8s pod and docker container? if yes, I am assuming using these instructions: Run Elastic Agent in a container | Fleet and Elastic Agent Guide [master] | Elastic
The API has been experimental/preview stage for few releases and we absolutely want to enable these "infrastructure as a code" type of use cases via fleet API. Having said that we can't guarantee that there wouldn't be any breaking changes. So just make sure to test out the API integration before upgrading the newer versions of Elastic stack.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.