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.
The logforwarding with promtail was broken. Promtail crashed with the following error:
Since alpine 3.18 there is also a package
loki-promtail
which includes all dependencies. This PR uses theloki-promtail
package.This PR was tested with alpine 3.20 as base-image based on alpine-openstack-image