Did you know that if you’re running a service in Kubernetes without additional configuration that you lose the client’s IP address? If you’re answer was ‘no’, you’re in the same boat I was last weekend. Tim Hockin from Google made a nice presentation about connecting into a Kubernetes cluster that opened my eyes to this […]
Author: nillsf
Run Kubernetes clusters locally using kind
How often have you created a new Kubernetes cluster to ‘test something new’? How often have you created a new Kubernetes cluster to start learning about new functionalities? In my case, I do this pretty frequently. I very frequently spin up (and down) Azure Kubernetes clusters. This approach comes with two downsides however: it takes […]
How to automatically start the Docker daemon on WSL2
I like running Docker containers in WSL2. However, one piece of nuisance for me has been that the Docker daemon doesn’t automatically start, and there’s no ‘easy’ way to start it automatically. Since WSL2 doesn’t run systemd, you cannot use systemd to automatically start Docker as you typically would in a Linux system. In this […]
VM Broken? Use OS disk swap in Azure to fix and restore
I can’t begin to count the amount of times I screwed up a virtual machine that wouldn’t boot anymore. In most cases, that was due to messing up /etc/fstab, which controls which disks get mounted in Linux. If that file is broken, your machine won’t boot anymore. In Azure, there’s an ability to swap the […]
Execute arbitrary PowerShell or Azure CLI in an ARM template
ARM templates are a great way to deploy infrastructure to Azure. The issue however is that sometimes, you need to do something that is not supported in a template. Think about executing an Azure Function when the template completes, or updating a config file in blob storage / some table. There is a new preview […]