Fan-Out and Fan-In Golang channels in Kubeapps
During a career as a software engineer, every now and then you come across a design pattern that becomes your darling for a few years following the discovery. Other design patterns are useful, but not so special that you want to tell the world about them.
Up until recently, my favourite design pattern was the state pattern which allows encapsulating different behaviours (implementations of an interface) in different classes so that an object can delegate its functionality to different state implementations which can be update at runtime. But more recently, while using a lot of concurrency in certain Kubeapps services, I’ve fallen in love with another design pattern - the fan-out/fan-in messaging pattern (or a form of it).
[Read More]Kubeapps APIs - a plugable system supporting different Kubernetes packages
Kubeapps on Tanzu Kubernetes Grid 1.3
Tanzu Kubernetes Grid 1.3 with Identity Management
Kubeapps on Tanzu Mission Control via Pinniped
We’ve been able to run Kubeapps in a multi-cluster setup on various Kubernetes clusters for a while now, but this was dependent on the Kubeapps’ user being authenticated in a way that all the clusters trust. Up until now, this meant having all the clusters configured to trust the same OIDC identity provider, which is not possible in some Kubernetes environments.
Particularly, this meant we were unable to demonstrate multi-cluster Kubeapps with clusters created by Tanzu Mission Control since we can’t specify API server options, such as OIDC configuration, when creating a cluster in TMC. But that requirement has now changed thanks to a new project called Pinniped.
[Read More]Carvel kbld With Helm Post Render
For the past couple of years I’ve been working on the Kubeapps project, which until recently has been a UI dashboard for the Helm project - providing a simple, web-based UI to deploy applications on Kubernetes.
I’m currently looking at generalising Kubeapps to support other Kubernetes packages formats, including Carvel from VMware of course. So I set out today to start learning more about Carvel, which in contrast to more monolithic tools like Helm, provides “a set of single-purpose, composable tools that aid in your application building, configuration and deployment to Kubernetes”.
As an example of that composability, I found I can deploy a helm chart using a set of immutable images by utilizing Helm’s new-ish support for post rendering of a chart. Here’s how…
[Read More]Ridge soaring, meteorology and course completion!
Learning to Paraglide Days 8-10

The 8th day of our course was completely blown out weather-wise with no possibility of flying, which is unfortunate as most of us only need to do some ridge soaring hours practising the give-way rules of the air and get more experience doing our reverse launches on our own in varying conditions. On the 9th day some of us were able to do a brief ridge soar after our theory test, but it was only by staying an extra day that I was able to get in the air for a longer period and demonstrate ridge soaring in traffic.
[Read More]Morning high flights and sunset sleddies
Learning to Paraglide Day 7

There’s some windy weather headed this way for the weekend, so our aim for the day was to get as much practise in as we could, which is exactly what we did - a day without theory classes! We left around 7:45 as planned to head up to the north launch and got 4 flights in before the wind died, landing in the East paddock. In the evening we managed another 3 flights from the west and south launches, the last one into the sunset!
[Read More]First big flight and more ground handling
Learning to Paraglide Day 6

We started the day at 7:45 heading up the hill in the basher to the North launch at Mt Borah again. After our first flight to the triange paddock we began doing solo flights so that after takeoff, Godfrey hands us over to the landing-site instructors, Karl and Bob, but they only use the radio if necessary. On my last flight for the morning I got to fly with another student all the way from Mt Borah back to the paddock outside the headquarters building! The afternoon saw us doing more reverse inflation ground handling as well as some more theory for landing approaches and handling injuries.
[Read More]