Ansible Role icinga_kubernetes
Icinga for Kubernetes consists of multiple components. This role only installs Icinga for Kubernetes. Generally, the Icinga for Kubernetes Web is also required, use the linuxfabrik.lfops.icinga_kubernetes_web role for that.
Mandatory Requirements
A configured Icinga2 Master Setup. This can be done using the linuxfabrik.lfops.setup_icinga2_master playbook.
Mandatory Role Variables
Variable |
Description |
---|---|
|
The user account for accessing the Icinga for Kubernetes SQL database. Currently, only MySQL is supported. |
Example:
# mandatory
icinga_kubernetes__database_login:
username: 'icinga_kubernetes'
password: 'linuxfabrik'
Optional Role Variables
Variable |
Description |
Default Value |
---|---|---|
|
The host on which the Icinga for Kubernetes SQL database is reachable. |
|
|
The Host-part of the SQL database user. |
|
|
The name of the Icinga for Kubernetes SQL database. |
|
|
Path to the kubeconfig. For permissions, have a look at https://icinga.com/docs/icinga-for-kubernetes/latest/doc/02-Installation/#kubernetes-access-control-requirements. |
|
|
Enables or disables the Icinga for Kubernetes service, analogous to |
|
Example:
# optional
icinga_kubernetes__database_host: '127.0.0.1'
icinga_kubernetes__database_login_host: 'localhost'
icinga_kubernetes__database_name: 'icinga_kubernetes'
icinga_kubernetes__kubeconfig_path: '/etc/icinga-kubernetes/kubeconfig'
icinga_kubernetes__service_enabled: true