Strimzi Kafka Kubernetes Operator
Like I said in my last post about zalando postgresql operator, Kubernetes is a very powerful tool that can be extended with operators to handle new custom resources. Custom resources can be anything ! A database cluster, a certificate, a prometheus rule or even a Kafka Cluster ! Strimzi operator goal is to deploy and…
Zalando Postgresql operator
Kubernetes is a very powerful tool to manage containerized applications. You can manage containers with « pod » resource, lifecycle with « deployment » resource, network with « service » and « ingress » resources, etc.. And if you want, you can extends the list of resources that kubernetes can handle with custom resources definitions. Then those CRDs will be managed by an…
Prometheus Alertmanager Grafana annotation
At work, I’ve deployed a Prometheus Stack to monitor our Kubernetes pods and nodes. Apps are exposing metrics on their /prometheus/metrics endpoint, then metrics are collected by Prometheus and stored into Prometheus + Thanos. Finally, we can use Grafana Prometheus data-source to create dashboards to see those metrics. Here is a schema of the architecture…
Kubernetes Deployment with Terraform
Terraform is a very powerfull tool for creating compute, network, storage ressource on every public cloud provider. It have a declarative language, so what you write is what you get. For example if you remove a compte server from your terraform config file, the next time you apply your configuration, the server will be destroyed.…
Prometheus : Monitor docker services with grafana
Here is a little tutorial to setup Prometheus monitoring for a local docker daemon and host metrics with docker-compose and : prometheus node exporter for system metrics cadvisor for docker metrics First create a prometheus.yml config file like this : global: alerting: alertmanagers: – static_configs: – targets: # – alertmanager:9093 rule_files: # – « first_rules.yml » #…
Ansible 2.5 grafana modules
At work, we needed to automatize grafana installation and grafana provisionning (datasources, plugins and dashboards). So I’ve created 3 new ansible modules that will be released with the next version of ansible 2.5 The first module is grafana_datasource. If you have to create a lot of different datsources for your grafana instance in multiples…