Deploy the fluent bit to the remote server's kubernetes cluster via ansible
$ git clone https://github.com/alandtsang/ansible-fluentbit.git
$ cd ansible-fluentbit
Configure the server IP you want to deploy in the hosts
file.
Example:
[server]
10.20.21.22
10.20.21.23
Deploy fluent-bit ServiceAccount, ClusterRole, ClusterRoleBinding.
Fluent-bit will run in DaemonSet mode and output the log to the http server in json format.
You need to configure FLUENT_HTTP_HOST
and FLUENT_HTTP_PORT
in Makefile,
FLUENT_HTTP_HEADER
and FLUENT_HTTP_URI
are optional.
Deploy
make deploy
Remove build directory
make clean
The fastest way to get response is to send email to my mail:
Please refer to LICENSE file.