Skip to content

jlenon7/loki-fluentd-grafana

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

5 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

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 πŸ‘‹

About

πŸ”Ž Monitoring Kubernetes cluster using LFG stack

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published