A space for technology notes on anything I find interesting, and a musing or two. From electrons through to delivering and developing code, as well as shiny emerging tech.

Streamlining Secret Management with Vault in K3s Kubernetes

This post will explore deploying Hashicorp Vault to K3s (Kubernetes distribution) using Helm and then configuring it with Terraform. This will enable us to store our secret state data in Vault and make those secrets available to our K3s resources. Vault is an enterprise level secrets manager configurable for high availability which integrates with Kubernetes and many CI toolsets. In the previous two posts journaling the evolution of this site’s delivery, we have been managing a single secret, the Cloudflared tunnel token.
[Read more]

Migrating from Docker Compose to Kubernetes (K3s)

In this post, we will look at migrating Docker Compose run services to K3s, a lightweight version of Kubernetes. K3s provides an approachable way to experience Kubernetes. It is quick to spin up and takes care of a lot of boilerplate, which suits a test environment. We can work our way up to full Kubernetes (K8s) in the future. We will continue using this site as an example and build upon the previous post which got our GitHub repo to here.
[Read more]

Self-Hosted Website with Hugo, Docker, and Cloudflare Tunnels

This post will step through the process of building a Hugo-based website image using Docker in Ubuntu Linux, setting up a Cloudflare tunnel, and using a Docker Compose stack to bring up the website and Cloudflared containers. This will make a website available on the internet using an existing top-level domain. Some basic knowledge of Linux is required. At the time of writing, this is how this site is being hosted.
[Read more]

A Conversation with Q on the Nature of Time

Recently I have been playing with open-source LLMs (Large Language Models), LLMs being the technology behind ChatGPT. While I have mainly been checking out how they can help with software development and other language based tasks, I took a moment to have a chat with Q. I should note, the Intellectual Property for Q belongs to Paramount, no profit was made from this post and no breach of copyright is intended.
[Read more]

Tempting Fate: From Highlander to Hugo

Welcome to my little corner of the Internet Several years ago, I acquired this eponymous domain. For quite some time, it was a single page with a video clip from the 80s classic Highlander. The clip, which you can watch here, shows Christopher Lambert delivering the iconic line, “There can be only one”, along with a whole lot of lightning and window smashing. Over time, I started to get the irking feeling that perhaps one of the other Alex Darbyshires would take this a bit too seriously, follow through on the movie premise, and I would find myself in an impromptu sword battle doing my utmost to keep my head connected to the rest of me.
[Read more]