Skip to content

Latest commit

History

History
46 lines (28 loc) 路 1.75 KB

README.md

File metadata and controls

46 lines (28 loc) 路 1.75 KB

loki-fluentd-grafana 馃攷

Monitoring Kubernetes cluster using LFG stack

GitHub followers GitHub stars

GitHub language count Repository size License

The intention behind this repository is to implement a stack to monitore pods inside a node of Kubernetes cluster using LFG (Loki, FluentD and Grafana) stack.

Usage

First create the FluentD DaemonSet inside Kubernetes and the service account, you can use Kind to create a local cluster.

kubectl create -f fluentd/configmap.yaml -f fluentd/daemonset.yaml -f fluentd/service-account.yaml

Then run the NodeJS server that will keep logging every ten seconds to FluentD collect the data.

kubectl apply -f server/k8s

FluentD will start collecting all the logs generated in the NodeJS server stdout. Run this command to see:

kubectl logs -f -l name=fluentd-logging -n kube-system 

CONTINUE...


License

Made with 馃枻 by jlenon7 馃憢