2 min read
Prometheus Pushgateway is a component of the Prometheus monitoring system that allows for the collection of time-series data that cannot be scraped: It allows you to push metrics instead of having to wait for prometheus to scrape them
15/08/2023
Read more...2 min read
When you have several kubernetes objects (CRDs) that work together it can be useful to be able to query them all together to get a better idea of what's deployed without having to query all the individial resources. With operator-SDK we just need to annotate the objects.
01/08/2023
Read more...2 min read
Sometimes might be difficult to tell how some subject (User, ServiceAccount, ...) is able to perform a certain task: What's the Role or ClusterRole granting some permission?
For this we can use the searchrule plugin.
25/07/2023
Read more...2 min read
Openshift provides an object that tracks the number of requests made to the Kubernetes API server. It provides insights into the load on the cluster, the performance of applications, and helps in capacity planning. By monitoring APIRequestCount, you can identify potential bottlenecks, detect unusual spikes in traffic, and optimize resource allocation.
$ kubectl get apirequestcounts
NAME REMOVEDINRELEASE REQUESTSINCURRENTHOUR REQUESTSINLAST24H
alertmanagerconfigs.v1alpha1.monitoring.coreos.com 6 1706
alertmanagers.v1.monitoring.coreos.com 20 2891
apiservices.v1.apiregistration.k8s.io 994 99521
(...)
11/07/2023
Read more...2 min read
Ensuring high availability and fault tolerance in a Kubernetes cluster is a complex task: One important feature that allows us to addresses this challenge is Topology Spread Constraints.
10/07/2023
Read more...