Записи за June, 2018

Yet another Fluentd deployment for Kubernetes

Wednesday, June 27th, 2018

Accept the pain, but don't accept that you deserved it.

Brandon Sanderson «Oathbringer»

fluentd-k8s-esIt is always mandatory to make logs from the services available for developers and other involved persons. And this access is expected to be not too complicated, without kubectl magic and dashboards (when we are talking about Kubernetes). It is quite easy to start exporting all logs from the Kubernetes cluster to Elasticsearch. The most straightforward way is:



Метки: , , ,
Категория: Kubernetes | Нет комментариев »

Yet another Prometheus deployment for Kubernetes

Friday, June 22nd, 2018

— There's a right thing to do.
— You don't have a right thing, friend. You've got a whole plateful of maybe a little less wrong.

James S.A. Corey «Leviathan Wakes»


I have kept silence here for some time. But at last I have something short to say. Recently I was trying to prepare gathering of metrics from bare-metal Kubernetes clusters for observing them from my favourite Grafana. And it appeared that it's quite difficult to do that using the official documentation and blog posts. Moreover the presented Grafana dashboards were not good enough for me. So when I finished my investigations and experiments and when I was finally happy with my dashboard visualizations I pushed them to Github. The repository can be found here: https://github.com/agapoff/kubernetes-prometheus. It contains the K8s manifests for deploying Prometheus with node-exporter and kube-state-metrics apps and the appropriate ConfigMap. It also contains the json files for Grafana dashboards which can be imported and used out of the box (you need only to create the Prometheus datasource).

Feel free to feedback and contribute.

Метки: , , ,
Категория: Kubernetes | Нет комментариев »