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 […]
Setting up a Private Link service as a service provider
Azure Private Link allows you to connect to public services over a private connection. I have already written about using Private Link with blob and the Azure Kubernetes Service. You can also use Private Link to expose your own custom services, and act as a service provider. This means you would build a service in […]