#kubernetes

Argo CD in k3d with end-to-end encryption and trusted HTTPS certs

May 31, 2024

The non-trusted certificate warnings when I spun up Argo CD locally in a k3d cluster were bugging me. Let's fix them and get Argo CD spun up locally without these warnings, with trusted certificates and end-to-end encrypted flows.

Routing k3d deployments with a traefik reverse proxy

May 28, 2024

I started writing a blog that needed a clean way to expose two services from the cluster, and it got me wondering the best way to do this. I'm often aiming to write blogs on this site in a zero-to-goal manner, so they can be read in isolation. k3d by default uses traefik, which is pretty neat when it comes to low configuration, however it did lead me to experimenting with ways to expose services with a lightweight approach that I could use in future blogs. Let's have a look at some of the options.

Setting up persistent storage in a k3d cluster

May 26, 2024

To set up any service that needs to retain data, we're going to need to make sure the storage is persistent through pod and cluster restarts. In Kubernetes we can set up a PersitentVolume (PV) to define the storage resource, and a PersitentVolumeClaim (PVC) to use the PersitentVolume.

Kubernetes Raspberry Pi cluster with k3s

May 25, 2024

I had a couple of Raspberry Pis hanging around in my office, and having been using k3s recently on my local laptop, I thought I'd spin up a kubernetes cluster on Pis with k3s. Doing this has been on my mind for a while to help with some deeper understanding of Kubernetes.

Comparing local k8s stacks

May 19, 2024

I explored spinning up a local cluster with k3d recently, however I realised I should have compared k3d with other approaches. In particular, looking at kind, minikube and microk8s for local development. Let's compare these different k8s stacks for local development.

Monitoring Kubernetes metrics with Grafana

May 17, 2024

Grafana is an open observability platform that gives your team a centralised view on the health and behaviour of your system. We'll use Kubernetes metrics to quickly spin up some dashboards and provide foundations to experiment and learn more about Grafana.

Installing k8s resources with Helm charts

May 10, 2024

Helm charts are used to encapsulate and simplify deployments to Kubernetes. They allow applications to be deployed quickly in a consistent way. Let's deploy an application into our local cluster to help us get started with using Helm since I'll be using it quite a bit in following blogs.

Local Kubernetes stack with k3d in seconds

May 07, 2024

Kubernetes helps with the running of containerized applications at scale, however you don't need a complex infrastructure to test many of the aspects of a Kubernetes cluster. You can spin up a cluster with k3d on your local machine in seconds and start experimenting with Kubernetes.