Talk

Debugging python applications inside k8s environment

giovedì 23 maggio

15:25 - 16:10
StanzaLasagna
LinguaInglese
Livello audienceIntermediate
Elevator pitch

In an ideal world, you would write Python code and then it would work perfectly. But unfortunately, it doesn’t work in this manner. In my talk, I’ll cover how to efficiently debug your programs, especially in cloud environments or inside Kubernetes.

Descrizione

In an ideal world, you wrote your program from the first iteration and it works. But in practice development of cloud-native Python applications has a different character. Debugging from another side is also complex. Sometimes, I spend most of the time on debugging rather than development. There are many different books and official docs, but there’s not enough information on debugging your programs efficiently, especially in cloud environments or inside Kubernetes. Luckily, we have a couple of options to consider when debugging cloud-native applications in Python. In my talk, I’ll show different techniques to debug containerized applications, including remote debugging, how to debug still, even if we’re using multi-staged docker builds, how to debug applications already deployed without any debuggers, also how to attach for running Python processes inside the container. In the end, we’ll discuss tips and tricks on troubleshooting things like permissions, networking, and other k8s failures that may affect your applications.

TagsDocker, Debugging
Participant

Andrii Soldatenko

Python developer in the day, Go developer (gopher) under the hood. Big fan of full-text search and graph databases.

Contributed to different open source projects:

Apache Airflow (airflow helm chart and other related projects). docker registry pyhelm, aiohttp-swagger, mezzanine chalice, requests, aiohttp tutorial sendgrid-python and sendgrid-django OpenAPI v3 specification, fix Go docs Speaker at KCD Austria 2023, FOSDEM 2020 and 2023 (Go and Rust dev rooms), GoDays 2020, PyCaribbean, PyCon Israel, PyCon Italia 2017 and 2022, EuroPython 2016 and 2022, PyCon Ukraine 2014, OdessaPy and lot’s of local meetups.