Kaniko Setup for an Azure DevOps Linux build agent

A guide to using Kaniko on a Kubernetes-hosted Azure DevOps build agent.

Longhorn Restart

If your Longhorn setup gets ‘stuck’, run this script to trigger a restart of all the Longhorn pods. If you wish to make this script executable, save it to a file (e.g. restart-longhorn.sh) and put the following as the firstRead More

Removing a failed/no longer available master node from the etcd cluster

A quick guide to removing references to a failed Kubernetes master/control plane node including its etcd instance.

Kubernetes starts responding with “You must be logged in to the server” error – how to fix it!

A quick fix for “error: You must be logged in to the server (the server has asked for the client to provide credentials)”

Scripts for creating a kubeconfig for a new user in Kubernetes

A single script for creating a kubeconfig file for a user who can read pod, service and ingress details within a specific namespace as well as run kubectl exec against those pods.

Using NGINX Ingress controller with MetalLB

A quick guide for getting NGINX Ingress Controller working with MetalLB.

.NET 5, Docker and Custom NuGet Server

When using a custom NuGet server and you’ve added a NuGet.config file to the solution, you’ll need to add the following line to the default Dockerfile build by Visual Studio to allow the container to be built. This should beRead More

Seq on Kubernetes

This guide will tell you how to set up an HTTPS protected sec instance. This is using LetsEncrypt with cert-manager to get an SSL certificate so it assumes your Seq instance is public facing. It also uses Longhorn for storage.Read More

Forcibly terminating a Kubernetes pod

Run the following command, replacing the italics with your pod’s name. Use -n namespace if your pod is in another namespace.