A local platform from zero

Set up language runtimes with version managers, run real Kubernetes clusters locally with Minikube, attach the IDE debugger to a JVM inside a pod, and wire logs, metrics, and traces across services with one correlation ID.

All reading paths 4 entries, 41 min

In reading order

001

Java, Python and Node versions on a Mac with SDKMAN, pyenv and nvm

Problem. Different projects need different Java, Python and Node versions. Without a version manager you have one version per language, and you reinstall runtimes by hand every time you change project.

Fix. Install SDKMAN, pyenv and nvm, and pin the version in each project folder.

002

Local Kubernetes on a Mac: Minikube profiles, kubectl contexts and k9s

Problem. Testing a change on a remote Kubernetes cluster means building an image, pushing it to a registry, deploying it and waiting, which takes minutes for every change. A local cluster removes the remote deploy from that loop.

Fix. Keep one Minikube profile per project and switch with kubectl contexts.

005

Remote debugging a Spring Boot service on Kubernetes with JDWP

Problem. When a bug appears only inside the cluster, debugging with logs means adding a log line, rebuilding the image, redeploying and reproducing the bug again. Each attempt takes minutes, and the new log line may still not show the value you need.

Fix. Add the JDWP flag in a dev overlay and attach through kubectl port-forward.