If you are tired of seeing your Rails app’s logs polluted with login attempts for Wordpress etc., it’s actually easy to stop most small scripted attacks.
By default, Rails system and integration tests cannot benefit from webpack dev server’s dynamic asset compilation. Here’s a trick that works very well to solve this problem.
How to run system tests with Capybara using Selenium containers instead of local Chrome/chromedriver setup.
In which I describe my current setup and workflow for Rails web development with Kubernetes.
A brief guide to quickly set up and use Linstor storage on Kubernetes, backed by DRBD for data replication.
I ran a few fio benchmarks to compare some popular storage solutions for Kubernetes, here’s the summary.
A tutorial on how to secure inter-host communication between Kubernetes nodes by encrypting all the traffic with a Wireguard VPN. The operating system in use for the tutorial is RancherOS, but the instructions can be adapted to other operating systems as well.
OpenEBS is an excellent open source solution for storage in Kubernetes. Easy to install and manage, it has various storage engines to fit every need.
Ngrok is a nice service that allows you to expose an app running on your dev machine to the Internet. Here’s a free alternative that you can host yourself, based on Docker containers.
RancherOS is a minimal, lightweight OS for containers. In this post, we’ll see how to install it on Hetzner Cloud and what to do post-install for use with Rancher and Kubernetes.