This repository contains sources for a related medium.com article with more details. It explains how to deploy FluentBit, InfluxDB and Grafana Dashboards to K3D Kubernetes.
There are scripts, NodeJS code and yaml files in this repository. Before running this, your should read the article and inspect the sources.