Monitoring Kubernetes cluster using LFG stack
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.
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...
Made with π€ by jlenon7 π