stackitcloud / yawol

yawol is a Load Balancer solution for OpenStack, based on the Kubernetes controller pattern.
Apache License 2.0
42 stars 6 forks source link

Fix logforwarding feature #377

Closed dergeberl closed 1 month ago

dergeberl commented 1 month ago

The logforwarding with promtail was broken. Promtail crashed with the following error:

:~$ promtail -config.file=/etc/promtail/promtail.yaml
promtail: error while loading shared libraries: libresolv.so.2: cannot open shared object file: No such file or directory

Since alpine 3.18 there is also a package loki-promtail which includes all dependencies. This PR uses the loki-promtail package.

This PR was tested with alpine 3.20 as base-image based on alpine-openstack-image