Service discovery using “prometheus.io/*” annotations does not work out of the box in Kubernetes. It can be done with a custom “relabel_config” (https://gist.github.com/reachlin/a98b90afcbff4604c90c183a0169474f). In Kubernetes we need a custom ServiceMonitor:
Get certificates from CertManager in Kubernetes
Get details of a all certificates in a namespace: Get details of a certificate in a namespace:
The Kubernetes 110 pod limit per node
The maximum pods per node has a hard limit of 110. After a bit of googling I found #23349. Since in my config I have few bit larger nodes I definitely would like to increase this hard limit. This can…
Retrieve TLS certificates from Kubernetes
I use some internal services not exposed to the internet. I generate those certificates in my kubernetes cluster using Cert-Manager but then I need to get the out of the cluster to the appropriate applications. First we get a list…
Monitor Application now supports Prometheus’ Alert Manager, Gerrit Code Review, Jira, Storyboard and more
In a previous blog post a small monitoring application was introduced to control the DevOps Status Light or later to be used with the Deployment Case. Now this monitor application has now some important new features: Prometheus’ Alert Manager support…
Pairing with BM78 module
This post continues the BM78 series (Initializing Microchip’s BM78 module, …) with the different paring modes and an example implementation. Pairing modes So first lets look at the different pairing modes. There are four of them: typedef enum { BM78_PAIRING_PIN…
Initializing Microchip’s BM78 module
In my previous posts BM78 Bluetooth module – First glance and BM78 Commands and Events in Application mode we got to know the BM78 module and learned how to communicate with it in Application-Mode in Manual-Pattern. In this post we…
Lighting up RGB LED Strip with a PIC Microcontroller
The goal of this post is to control a pretty much standard RGB LED strip using a microcontroller. I tried the code below on some PIC16F18855/75 and PIC18F47K42 but should work pretty much the same on any. Originally I implemented…
BM78 Commands and Events in Application-Mode
In my previous post https://blog.kubovy.eu/2019/02/09/bm78-bluetooth-module-first-glance/ we looked into basics of the BM78 module. Now lets talk about commanding this module in detail. Operating the BM78 module is done over UART commands send to the module. The module’s response is an…
State Machine for Microcontrollers
The will come a time when you will want to make a device which you can kind of program or configure during runtime. This configuration or program will than be telling the microcontroller what to do, how to behave enabling…