PyCon DE & PyData 2026

Kavish Nareshchandra Dahekar

I am a Senior Developer at SAP in Berlin. I've spent the last 8 years of my career at SAP starting with SAP's ML Foundation, DataHub, Data Intelligence and now working for AI Core. I specialise in scalable, cloud-native microservices and AI orchestration platforms. My current work focuses on developing SAP's high-availability distributed AI platform. I hold a Masters in Computer Science from IIT Guwahati, with a specialised research focus on NLP. I am also a Certified Kubernetes Administrator (CKA) and a Certified Kubernetes Security Specialist (CKS). I love to teach and in my free time love playing the guitar or working on hobby electronics projects.


Session

04-14
11:45
30min
Python Hates Being PID 1: Writing Container-Aware Code for Kubernetes
Kavish Nareshchandra Dahekar

On Kubernetes, your Python app runs in a hostile environment, fighting for resources in a straitjacket, bombarded with signals, and being killed and ruthlessly dragged back to life time and again. This is in stark contrast to the wonderful weather of a Linux web server or the blissful utopia of localhost. If not hardened properly, your Python app will find the burden of being containerized too hard to bear. And the result? Zombies!

Whether you are a Kubernetes expert, or you just deployed your first containerized Hello World, we will together explore how the Python Interpreter, the Linux Kernel and Kubernetes interact with each other.

We will uncover why Python struggles as an init process, how Kubernetes CPU-limits fight the Global Interpreter Lock (GIL) and why Python’s Garbage Collector cannot save you from sudden OOM kills. Most importantly, we will see how to identify, debug, and avoid containerized Python pitfalls. The goal of this talk is to help you stop treating your container like a server and learn to write Cloud-Native Python that knows exactly where it lives.

PyCon: Programming & Software Engineering & Testing
Titanium [2nd Floor]