Category: Linux

  • Kubernetes – VIM Customized for YAML Editing

    Kubernetes – VIM Customized for YAML Editing

    I don’t always have access to my customized Visual Studio Code IDE when I quickly need to edit or create some new Kubernetes deployment or ingress for example. Keeping track of tabs, spaces and object position (!!!) is quite tricky in VIM’s default setup. Below are some settings that can lighten the burden and mimic…

  • RoundCube – Enable Desktop Notifications

    RoundCube – Enable Desktop Notifications

    One feature I really missed, when moving accounts from GMail to self-hosted E-Mail, was the desktop notification feature from the web interface. Luckily, github.com/stremlau/ has solved this for us with a RoundCube Plugin. You will need to have GIT installed on the webserver in order for this tutorial to work. HowTo: Become Root Change directory…

  • Kubernetes – Useful Shorthands for Kubectl

    Kubernetes – Useful Shorthands for Kubectl

    Useful aliases for kubectl that I use Add these to ~/.zshrc (ZShell) or ~/.bashrc (Bash)

  • Kubernetes – Simple CronJob for MySQL/MariaDB Backup

    Kubernetes – Simple CronJob for MySQL/MariaDB Backup

    No Secret, No Configmap, No Fuzz. Just a command and args one-liner that gets the job done, day after day, with an invaluable result on the day that you reaaaally need it. Example Backup Cron: This will create a daily job (00:00, 12AM) that runs container image “mysqldump”, generously authored by docker.io/bigtruedata. It will store…

  • How To: Resolve Multicast DNS (mDNS) using Dig in Linux

    Sometimes it can be nice to verify that the hostname on your box (printer, raspberry pi, whatever) is resolving to the correct IP-address on the LAN. Whether it’s published via Avahi, Bonjour or something similar. An mDNS request resolves to. IPv4 address 224.0.0.251 or IPv6 address ff02::fb UDP port 5353 This can be achieved with…