Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-23939

OpenShift/Kubernetes monitoring issue with node/pod discovery

XMLWordPrintable

    • Icon: Problem report Problem report
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • 6.4.10
    • Templates (T)
    • None

      Steps to reproduce:

      1. Setup latest zabbix (6.4.10)
      2. Setup zabbix kubernetes helm chart on OpenShift
      3. Setup latest kubernetes 6.4 zabbix templates.
      4. Watch node / pod discovery fail (likely because of memory limits)

      Result:
      169:20240112:182731.040 End of zbx_es_execute():FAIL RangeError: execution timeout
      at [anon] (duktape.c:79217) internal
      at [anon] (function:257) preventsyield allocated memory: 10662696 max allocated or requested memory: 529088086 max allowed memory: 536870912

      Expected:
      Have node and pod discovery work

      NOTE: The node/pod discovery does work with smaller openshift clusters but does not scale.

      To give you an idea about the amount of data:

      curl -ik --header "Authorization: Bearer ${token}" -X GET https://api.ocpserver:6443/api/v1/pods | wc -l
        % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                       Dload  Upload   Total   Spent    Left  Speed
      100 77.4M    0 77.4M    0     0  3293k      0 --:--:--  0:00:24 --:--:-- 7670k
      2205714
      

      meaning total 77.4 mb of data from the pods api which corresponds to: 2205714 lines

      If you need any additional info, please let me know!

            zabbix.dev Zabbix Development Team
            che666 Rudolf Kastl
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: