Go templates: customize your output using templates

Photo by RhondaK Native Florida Folk Artist on Unsplash
Go templates are a powerful tool to customize output the way you want it. It’s a builtin package implements data-driven templates. Templates are executed by applying them to a data structure. While there are articles covering the basics, I had a hard time findings material on more advanced use-cases, such as looping over complex structs or using a function in the template. This post aims to distill these advanced use-cases with examples.
Read more →

A deep dive to Canary Deployments with Flagger, NGINX and Linkerd on Kubernetes

Photo by Clay Banks on Unsplash
A deep-dive into progressive deployments, specifically Canary, on Kubernetes with Flagger using ingress-controller or a service mesh. How it works? I ran into some pitfalls and wrote about it, so you don’t need to solve it too.
Read more →

Terraform: why data sources and filters are preferable over remote state

Photo by Ivan Bandura on Unsplash
Why Terraform data sources are preferable over remote state, with use-cases using multiple filters based on tags to filter resources dynamically
Read more →

Practical unit-testing web client in Go part 2 - https

Practical web client unit-testing in Go by mocking the server side, with examples from my first open-source project libvault
Read more →

Practical unit-testing web client in Go

Photo by Karl Pawlowicz on Unsplash
Practical web client unit-testing in Go by mocking the server side, with examples from my first open-source project libvault
Read more →