Kubernetes Monitoring

I still use Icinga2 for monitoring my home network. I haven't got annoyed enough with it to move to anything else. The plugin that monitors my microk8s cluster is a bit simplistic it simply checks a number read from the interface and if its bigger than a threshold then its a warning or an error.

The catch is that Kubernetes never resets the number of restarts of a pod … so you can't clear the error state. This is apparently by design as pods are disposable items.

Deployments come to our rescue here allowing us to recreate the pods and hence reset their restart count.
Read More...

Rube Goldberg would be proud ...

Rube Goldberg was a cartoonist who has a character that invented fantastic chain reaction machines. I may have been channelling his muse for inspiration in getting around my latest NBN failure:
  1. We moved house (Note: there is no such thing as an NBN relocation … its a fiction … its a cancellation and a new connection)
  2. When people order a static IP they really want the same one when they relocate it (see 1)
  3. The Sparkies came, the modem was turned off for a couple of hours … things didn't come back
On the Friday afternoon before a long weekend …

And so it begins …
Read More...

Reflections on the Metaverse

"Download this Show" in From Tinder with Love 17 Feb 2022, 11:05am on ABC Radio was discussing VR and whether the Metaverse has a future … suddenly I was transported back 15 years and realised I had heard a similar story … the story of videotelephony. Read More...

Testing time

One of the fun things about daylight savings time is the need to test your code around the times it changes.

"Time is an illusion, lunchtime doubly so"

Douglas Adams


Firstly let us be clear time does not go backwards or jump forwards in daylight savings … time itself just ticks on like it usually does … the only thing that changes is that the representation of time on the clock changes.

Unfortunately many of the libraries we use do not make it absolutely clear about how they relate to system time and representational time. After all if you live in most places in the world there are only a couple of hours that are affected…

Perhaps we need a way to test this and other changes like leap years … and if it were convenient then we might actually do this regularly

Read More...

Thinking, Fast and Slow - Not a book review

Daniel Kahneman (Nobel Laureate and one of the founders of behavioural economics) in Thinking, Fast and Slow, identifies a number of biases in our thinking that can lead to poor decision making.

The question is: What done do with his work?
Read More...