Skip to content
This repository has been archived by the owner on Feb 12, 2024. It is now read-only.

Zabbix 6 related features / improvements of the chart #54

Merged
merged 40 commits into from
Jun 26, 2022
Merged

Zabbix 6 related features / improvements of the chart #54

merged 40 commits into from
Jun 26, 2022

Commits on May 25, 2022

  1. update the chart to be better compliant with ZBX 6

    * Zabbix server now always has "HA Cluster" mode set to "on", making it
      possible to easily raise replicaCount and have multiple redundant
      server containers
    * added cronjob to autoclean orphaned HA nodes (pods being restarted by
      K8S...)
    * easy-to-use Pod anti affinity to make instances of Zabbix Server,
      Zabbix web frontend run on different cluster nodes if possible
    * converted zabbix server from statefulset to deployment
    * switched from Apache container to Nginx container for web frontend by
      default
    * added ZBX_SERVER_NAME as an explicit value, not to have to remember to
      add the according env variable manually as a extraEnv
    sa-ChristianAnton committed May 25, 2022
    Configuration menu
    Copy the full SHA
    85b49d3 View commit details
    Browse the repository at this point in the history
  2. added support for Zabbix Webservice

    * Deployment with configurable replicaCount
    * automatic configuration of Zabbix Server accordingly
    * pod anti affinity to spread multiple instances of cluster nodes if
      possible and replicaCount >1
    sa-ChristianAnton committed May 25, 2022
    Configuration menu
    Copy the full SHA
    d3300a3 View commit details
    Browse the repository at this point in the history
  3. unifying tag names

    sa-ChristianAnton committed May 25, 2022
    Configuration menu
    Copy the full SHA
    f65c050 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    92b3c4c View commit details
    Browse the repository at this point in the history
  5. support DB init with multiple zabbix servers

    When starting more than one Zabbix server containers with valid DB
    connection credentials at the same time on an empty database, all of
    them would try to connect and install the Zabbix DB schema to it at the
    same time, leading to errors and invalid queries.
    
    This commit implements an init container on the Zabbix Server pods that
    not only waits for the DB to be accessible IP-wise, but also for the
    schema to be available. This practically deactivates the schema
    auto-creation for the Zabbix Server pods.
    
    At the same time, a one-time Job has been added, which uses the Zabbix
    Server image with a slightly modified docker-entrypoint.sh in order to
    only wait for DB connection and then to install Zabbix DB schema, but
    not to prepare config nor start Zabbix server.
    
    With the combination of these two, we can now start off with a multinode
    Zabbix HA cluster in Kubernetes.
    sa-ChristianAnton committed May 25, 2022
    Configuration menu
    Copy the full SHA
    99d587d View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    17cde01 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    26b1189 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    918e85e View commit details
    Browse the repository at this point in the history
  9. fix: added additionally step to wait for db schema

    if the step to create the db schema takes too long, the wait-job that
    should prevent the Zabbix server container to start unless the database
    is "really" ready, is leaving off too early and Zabbix server crashes at
    start. This commit prevents this error by adding an additional step to
    only start the Zabbix server container if there are more than 0 users in
    the users table.
    sa-ChristianAnton committed May 25, 2022
    Configuration menu
    Copy the full SHA
    1be84cd View commit details
    Browse the repository at this point in the history
  10. added SAML related settings

    - certificate secret
    - frontend settings example (via env)
    sa-ChristianAnton committed May 25, 2022
    Configuration menu
    Copy the full SHA
    073c0a3 View commit details
    Browse the repository at this point in the history

Commits on May 26, 2022

  1. Configuration menu
    Copy the full SHA
    4027aec View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ab1d741 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    fde5962 View commit details
    Browse the repository at this point in the history
  4. default service type for frontend ClusterIP

    We shouldn avoid exposing any part of the application by accident/default
    sa-ChristianAnton committed May 26, 2022
    Configuration menu
    Copy the full SHA
    9d9d327 View commit details
    Browse the repository at this point in the history

Commits on May 30, 2022

  1. reworked/unified DB auth/access settings

    From now on, all settings related to database access credentials are
    being managed centrally for the entire chart:
    
    - either by using a "unified_db_secret" containing ALL aspects of the db
      access configuration, conforming to the format being used by the PGO
      Postgres operator,
    - explicit settings in the "db_access" section of the values.yaml. In
      case these are used, it is possible to use a secret just and only for
      the DB password, which will then be used by all components that apply.
    
    This commit removes all postgres related username/password and DB name
    settings on the levels of each of the components of the chart, and only
    keeps the central ones.
    sa-ChristianAnton committed May 30, 2022
    Configuration menu
    Copy the full SHA
    67850f3 View commit details
    Browse the repository at this point in the history
  2. removed zabbix_server_name

    instead, there is now an example placed in the values.yaml that shows
    how to configure the ZBX_SERVER_NAME for the frontend by using
    additional env variables.
    sa-ChristianAnton committed May 30, 2022
    Configuration menu
    Copy the full SHA
    dda0a0b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    35a8fcf View commit details
    Browse the repository at this point in the history
  4. helm-docs

    sa-ChristianAnton committed May 30, 2022
    Configuration menu
    Copy the full SHA
    6051a92 View commit details
    Browse the repository at this point in the history
  5. raised version, updated, docs/README

    new version is 3.0.0
    sa-ChristianAnton committed May 30, 2022
    Configuration menu
    Copy the full SHA
    5e88f2c View commit details
    Browse the repository at this point in the history

Commits on May 31, 2022

  1. Configuration menu
    Copy the full SHA
    cbefba2 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    704959a View commit details
    Browse the repository at this point in the history

Commits on Jun 7, 2022

  1. Configuration menu
    Copy the full SHA
    41288f9 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8ce1a45 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    7158ec8 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    14d2907 View commit details
    Browse the repository at this point in the history
  5. updated docs

    sa-ChristianAnton committed Jun 7, 2022
    Configuration menu
    Copy the full SHA
    f64bd82 View commit details
    Browse the repository at this point in the history

Commits on Jun 12, 2022

  1. Configuration menu
    Copy the full SHA
    1c86678 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    376c81e View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    3f529c7 View commit details
    Browse the repository at this point in the history
  4. remove whitespace

    sa-ChristianAnton committed Jun 12, 2022
    Configuration menu
    Copy the full SHA
    950ca3c View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    6d6243f View commit details
    Browse the repository at this point in the history
  6. ran helm-docs

    sa-ChristianAnton committed Jun 12, 2022
    Configuration menu
    Copy the full SHA
    9f7bc56 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    7cde286 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    b386878 View commit details
    Browse the repository at this point in the history

Commits on Jun 13, 2022

  1. fix: postgres DB uses same env vars as Zabbix

    but still, special env var names are needed for the "cleanup" cron job
    sa-ChristianAnton committed Jun 13, 2022
    Configuration menu
    Copy the full SHA
    7c37469 View commit details
    Browse the repository at this point in the history

Commits on Jun 23, 2022

  1. Configuration menu
    Copy the full SHA
    05bfc52 View commit details
    Browse the repository at this point in the history
  2. added extraContainers and extraVolumes

    with this commit it is now possible to add additional (sidecar)
    containers and volumes to each of the components if necessary.
    
    For example, this might be needed if an additional utility would have to
    run alongside Zabbix Server to pick up "real time export" data and send
    them to a message bus or a logging sidecar container that needs to catch
    the logs from the main container into an emptyDir volume and ship them
    to a central logging system
    sa-ChristianAnton committed Jun 23, 2022
    Configuration menu
    Copy the full SHA
    c345d89 View commit details
    Browse the repository at this point in the history

Commits on Jun 26, 2022

  1. implemented extraRuntimeParameters for postgresql

    with this change, it is now possible to supply arbitrary runtime
    parameters to the postgresql database.
    
    The "max_connections" setting that was formerly a setting of its own
    inside values.yaml has been moved to use this new structure
    sa-ChristianAnton committed Jun 26, 2022
    Configuration menu
    Copy the full SHA
    d90e63d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ea53282 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    1077131 View commit details
    Browse the repository at this point in the history