Using Kubernetes for development containers
In this post I show how you can setup a Kubernetes pod for reproducible development purposes on a single-node Kubernetes cluster using Rancher Desktop on Linux or Docker Desktop for Windows.
What are devcontainers?
At my quasi-hypothetical workplace, we are fans of Visual Studio Code’s development containers idea, or devcontainers for short.
In short, you add a specially crafted devcontainer.json
file (and some docker
yamls) to your repo, and the next time a new dev opens the project, they will
be prompted by their VSCode whether they would like to have the whole
development environment setup automatically.