Medium: Debugging Python-Based Microservices Running on a Remote Kubernetes Cluster
With VS Code and Bridge to Kubernetes
With VS Code and Bridge to Kubernetes
In spite of the myriad of benefits offered by Kubernetes, we encountered one major challenge that was holding up our development process: the fact that Kubernetes runs immutable containers in an isolated context. While this factor is great for production, during development, you’re left with few debugging choices, most of which are the modern-day equivalent of using print statements to see what your code is doing.
In this tutorial, you’ll use a few installs and downloads to set up minikube on an EC2 instance. You’ll then install a python based open source project in minikube via Helm, and finally learn how to route traffic destined for that service to your local machine for interactive code debugging.
Full tutorial can be found on Medium here.