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