Replies: 5 comments
-
Hi @rfrozza! I confess I haven't tried this use case. I did test installing the Zabbix components (server, proxy, frontend, agent) on an EKS cluster with Karpenter. The helm chart supports adding any YAML file to manage the nodepool, nodeclass, provisioner, etc... using the key Sorry I couldn't help you with your use case. Let's wait for someone else to respond. |
Beta Was this translation helpful? Give feedback.
-
Thanks anyway @aeciopires! So far, using three hosts:
I've created them manually, and made a token through the already created SA |
Beta Was this translation helpful? Give feedback.
-
This helm chart is to run Zabbix in Kubernetes, not to monitor Kubernetes with the monitoring templates delivered with Zabbix. For these to work, you would use the official Helm Chart provided by Zabbix to install Zabbix Proxy and Zabbix agents (as daemonsets, so they dynamically run on each node) onto the K8S cluster you want to monitor (can be the same where Zabbix runs on, but doesn't have to). In the linked documentation it is described how to get the token needed to use the templates. You then would add a "dummy host" in your Zabbix, assign the Kubernetes nodes by HTTP template to it, set the host macros approprietely, and Low Level Discovery will auto-discover the K8S nodes as Hosts and start monitoring them. As mentioned, as the helmchart provided with this repository is for the usecase of running Zabbix, this topic is a bit "off topic" here... |
Beta Was this translation helpful? Give feedback.
-
And indeed, for automating Zabbix configurations such as "after plain installation, please add these hosts, assign those templates to them" etc. I have a couple of things in my mind, but nothing of this ready yet: I am thinking of a kind of a "Zabbix entity operator" bridging CRD objects into Zabbix API calls. This would Kubernetize the Zabbix configuration and would be very helpful for mass-installations. Beside of that, it's doable with Ansible, as there is a rather good Ansible library for Zabbix configuration. As far as I know, it's not too difficult to wrap an ansible role into an operator by using Red Hat's operator framework, but I have not yet had the chance to build such one myself. Let me know if you get anything running.... |
Beta Was this translation helpful? Give feedback.
-
Thanks @fibbs ! |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi everyone!
I'm currently deploying Zabbix inside a cluster (AWS EKS and with Karpenter on top of that).
Since nodes will be drained and new nodes will join the cluster while Karpenter orchestrates the resources, how can I properly manage such a case dynamically?
Is creating a host with the Kubernetes nodes by HTTP template the best approach? If yes, is it possible to create the {$KUBE.API.TOKEN} through the current helm chart? I'm unable to find something related to it in the values or documentation.
Anyone already had such an experience with Zabbix?
Any tips or help will be appreciated 👍
Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions