-
GitOps and Agile ... Like Bread and Butter
The software development industry has seen a paradigm shift over the years with the emergence of Agile methodologies and GitOps practices. As a senior engineer, I’ve witnessed firsthand the benefits of adopting these two approaches in conjunction with each other. In this article, I will be discussing the definitions of GitOps and Agile, the reas... Read More
-
Compare kustomize overlays
More often than I like, I have to compare different kustomize overlays in order to check how my overlays differ. Luckily we can simply do this with diff: $ diff \ <(kubectl kustomize $OVERLAYS/staging) \ <(kubectl kustomize $OVERLAYS/production) |\ diff with kustomize an example For demonstration purposes im using my standard simpl... Read More
-
Using exitcodes to wait for infra to boot
I am working with a lot infrastructure and often need to execute commands after on of my servers comes online or in other cases one script that manipulates another server, needs to wait for it to reboot. This is especially the case when you are “terraforming” or “ansibleling” bare metal clusters and would like the your backup cluster to provisi... Read More
-
Restarting a container without downtime
In this post I will try to explain how to restart your running pods with kubectl. the old way Before Kubernetes version 1.15, we mostly had only one choice to restart a deployment that is running and was to sacle down our deployment with kubectl scale deployment mydeployment --replicas=0 -n mynamespace followed by an increase in replicas ri... Read More
-
Update the timezone in a running alpine container
If you are like me you are often facing the problem that the dev container you are currently using is using a timezone different to your own. Certificate creation is amongst the best examples for a frustrating job das will fail if you are not prepared. So lets update or TZ Note: This only for works for NON uclibc installs! download the alpine... Read More