simple kubernetes job monitoring in Kibana + Elasticsearch
480
a simple kubernetes job monitorer with elasticsearch + kibana as visualization
it queries the failed jobs using python and kubectl, parses them, and writes them into elasticsearch, where they can easily be visualized using kibana

I did not want to install a full airflow/prefect to monitor my jobs. also keeping things simple keeps them stable ;) I am running several cronjobs in my kubernetes cluster, and just want to monitor failed ones in a simple way The Python job accesses kubernetes via kubectl, which has it's permissions from a ClusterRoleBinding/ServiceAccount.
kubectl apply -f https://raw.githubusercontent.com/JustinGuese/kubernetes-job-monitoring-simple/main/all-in-one.yaml
kubectl apply -f kubernetes/ if you checked this repo out locallykubectl port-forward -n elk svc/kibana-service 56011:5601 & visit http://localhost:56011you can apply the example failing job to check it out
kubectl apply -f example-failing-job.yaml

docker pull guestros/kubernetes-job-monitor-simple:latest