Hello,
Is it possible to load-balance the Icinga2 RestApi? I’m thinking about it across 2 masters at least
Thanks
Hello,
Is it possible to load-balance the Icinga2 RestApi? I’m thinking about it across 2 masters at least
Thanks
If you are using an Icinga 2 HA setup, you should be able to query the Icinga 2 REST API of both nodes. There might be slightly different answers, based on the log position or different state views. But nothing is stopping you from balancing API requests between these two nodes.
It should also be possible to use the API on a satellite node if you only want to retrieve information, but not trigger actions. In the end, it depends on what you want to achieve.
Thus, for a better answer it would be good to know your actual use case? What do you want to do and why do you considering load balancing?
i mean, you could, but i am not sure why you would want to do this?