Posts
Thomas Stringer
Cancel

Run Kubernetes Pods on Specific VM Types in AKS

When dealing with software that you run in Kubernetes, it is a common requirement to have your applications running on certain types of underlying infrastructure (virtual machines). Perhaps your so...

Make HTTP Requests to the Azure REST API from the Command Line

I live in the terminal, and I will do everything I can to avoid the GUI and my computer mouse. This applies to everything, including my interactions with Azure. For the msot part, the Azure CLI is...

Logging to Azure from an AKS Cluster

Logging is one of the most important aspects of working with production software. The complexity of Kubernetes doesn’t make that an easier task. There are really great open source cloud-agnostic s...

Run Kubernetes in Azure the Cheap Way

Update: Since writing this blog post, I have found that you can save another few dollars by using a Basic SKU load balancer! Note: This blog post is intended only for non-production Kubernetes wor...

Output Multiline Strings in GitHub Actions

It is common in a pipeline to have operational steps share data. Typically that’s in the form of an output from one step, and an input to another step. With GitHub Actions, this might be trickier t...

systemd Time Spans in Go

One of the consistent features of systemd is how it deals with time spans. A common usage of systemd time spans is when you’re getting journal log events. It’s typical to invoke something similar t...

Beware of kubectl's -t (--tty) Option

I see this all over the place in documentation, blog posts, scripts, articles, etc: kubectl exec -it my-pod -- do_something_here These type options have the following help text: -i, --stdin=f...

Search Through Azure Locations and Their Names

When you’re working with the Azure CLI, locations are one of the most commonly used parts of commands you have to write. Some of them are really easy to remember, like eastus. But others may be a l...

Access the OS Disk from an Inaccessible Azure Linux VM

When working with Linux VMs in Azure, there can be a few situations where your VM is not accessible. Say, for instance, you receive an OS provisioning timeout error. This is just one example, but i...

Azure Linux VM SSH Error - Permission denied (publickey)

When you are working with Linux VMs (IaaS) in Azure, the most common way to access the VM is through Secure Shell (SSH). A common issue when you’re trying to SSH into your Linux VM for the first ti...