Posts
Thomas Stringer
Cancel

Go's append Behavior and Potentially Unintended Side Effects

When working with Go, a very common operation is to add an element (or multiple elements) to a slice with append. But if you don’t know the true nature of append, it could surprise you! Appending ...

Find Which apiVersion to Use for Kubernetes Resources

When creating Kubernetes resource manifests, one of the first things that we need to specify for the resource is the apiVersion. For many of the common resources, you might be able to “guess” accur...

Azure Consumption Summary from the Command Line

I manage my own personal Azure subscription where I run workloads all the time. I like to keep a close eye on my consumption ($$$) to make sure I’m not overspending, and to see where the money is g...

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...