Showing items from dev

Share WSL rootless Podman instance with Windows

Share WSL rootless Podman instance with Windows Background Podman Desktop is the easiest way to start using Podman with windows. However currently Podman Desktop creates a new WSL instance with podman and connects windows to it. While it is pretty convenient for most of the users, this still requires another WSL instance and maybe not so convenient when you already have a preconfigured WSL dev environment.

Continue Reading

Git: Move files from one repo to another with history

Background A lot of times as developers and code maintainers we need to move files/folders between code repos and most of the time we avoid exporting history because of the complexity and issues often faced during the export. However fret not anymore, I will share in this post how to easily export files with history using git command line and filter-repo command.

Continue Reading

Setup a kubernetes cluster on raspberry pi/s using k3s

This blog post will detail the steps for setting up a kubernetes cluster on your raspberry pi/s using k3s. k3s: A brief introduction While it is completely possible to install, manage and run a complete kubernetes distribution (pronounced k8s) on your raspberry pi cluster (or on similar devices), for better performance and resource utilization in a resource constrained device like raspberry pi its advisable to install a lightweight kubernetes distribution like k3s by rancher.

Continue Reading

Upgrade WSL/WSL2 Ubuntu version to 20.04 LTS

Its the time of the year again to upgrade Ubuntu version in WSL/WSL2 since the Ubuntu 20.04 LTS came out last week. Please follow along the following steps in your WSL console to upgrade to the new version: Check installed Ubuntu version Take a note of your current Ubuntu version by running the following command:

Continue Reading