3 min read
As of kubectl v1.24, it is possible to patch subresources using the --subresource
flag. This is useful for updating the status of an object, for example.
18/03/2024
Read more...2 min read
With operator-sdk, it really makes it easy to create new CRD definitions and create the template to write the reconcile loop for it. But if we want to be able to handle changes on objects that are already present on the Kubernetes cluster (not a custom resources) we can create the Reconciler from scratch.
22/12/2023
Read more...1 min read
If we use //+kubebuilder:printcolumn to add fields to print with kubectl get we'll notice that the AGE colum goes away with it. We can use an additional //+kubebuilder:printcolumn
to add the AGE column back.
29/08/2023
Read more...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...