-
Finding big files with find
I just run into a problem with a client and I thought I would like to share. The task was to find out, why the storage of an ec2 instance had been bloated and was running out of storage. I had already deleted their temp files and other files that were not needed but there was still so much wasted space. Here is a quick way to measure what kind ... Read More
-
Patching YAML with kustomize
Often I see myself confronted with the problem of customizing a set of yaml files from a third party. Helm solves this problem with its Chart integration and allows rich modification of the underlying yaml through the definition of values. While I like helm, sometimes I really need an easier way to set up something and really do not want to both... Read More
-
Getting the ipv4 and ipv6 of your traefik load balancer
I was facing a problem in a kubernetes cluster recently where everything was setup using external-dns, cloudflare and traefik. The Issue I was facing was is that by default external-dns only assigns ipv4 addresses to your ingresses and therefore makes ipv6 routing hard. After quite some research I found, that the default external-dns is actively... Read More
-
Using kubectl with more for easy scrolling
Sometimes kubectl will return output that is just to long to handle. With some integrated terminals cutting the output after a certain length (Iam looking at you Visual Studio Code), its nice to be able to scroll throughout kubectl output much more easily. For this use case the more tool is easily used https://wiki.ubuntuusers.de/more/ # with ... Read More
-
Only allowing cloudflare servers ips for your server
The chances are high that if you are using cloudflare to proxy your servers, that you will not have much traffic on them that is not originating from cloudflare. In order to secure your server even further, you could block any external IP Adress that is not owned by cloudflare, or your own VPN. This proves to be an effective way to block DOS th... Read More