jroddev

Latest

K8 Host Storage Backups with Rsync and CronJob

Kubernetes

K8 Host Storage Backups with Rsync and CronJob

I host a single node Kubernetes cluster (MicroK8s) at home running various applications. I use simple hostpath volumes for storage and need a way to create backups of this data. The solution I chose is to combine K8 CronJobs with Rsync. The basic steps are: * Create a backups namespace * Create

By jroddev 16 Feb 2021
Application Data Sync with WebDAV

Quick Tricks

Application Data Sync with WebDAV

Use WebDAV in your application to sync files (sqlite in my case) between devices. Storage backed by NextCloud, AWS S3, Google Drive, Dropbox and more

By jroddev 16 Feb 2021
SSH Port Forwarding for local development

Linux

SSH Port Forwarding for local development

Motivation We have an application with a single frontend and a micro service backend. When we were smaller it was feasible to run everything on our laptops while developing locally. Those days ended. However we were able to make a relatively small change to the local setup to allow developers

By jroddev 02 Feb 2021
Override DNS with /etc/hosts

Linux

Override DNS with /etc/hosts

Tell your computer which IP address to use for a hostname with the /etc/hosts. Handy for development and other scenarios.

By jroddev 27 Jan 2021
Vim Tricks: sudo write current file

Quick Tricks

Vim Tricks: sudo write current file

Execute sudo write from within vim

By jroddev 25 Jan 2021
See all
jroddev
Powered by Ghost