Kubernetes + Python: Unleashing the Power of Python Controllers

Yash Mehrotra (~yash2)




Kubernetes has revolutionized container orchestration, enabling developers to build scalable and resilient applications. But, the true potential of Kubernetes can be unlocked by harnessing the power of custom controllers. In this talk, we will dive into the world of Python and Kubernetes, exploring how to build your own custom controllers to automate and manage your containerized environments.

With the groundwork laid, we'll explore practical examples of building Python-based controllers. By the end of this talk, you will have a solid understanding of how to build Python Kubernetes controllers, so that you can take control of your Kubernetes clusters, automate repetitive tasks, and customize your application deployment workflows.


  • Philosophy of Kubernetes
  • What are CRDs and how to extend kubernetes via them
  • How do controllers come into play
  • Different parts of a controller
  • Lifecycle of different controller event streams
  • Building our own controller to manage a stock portfolio
  • Building a new controller which scales containers based on weather


It would be helpful if attendees have a basic knowledge of containers and kubernetes (but not required)

Speaker Info:

I've been working on and around developer tools for more than 5 years and have been involved in developer productivity initiatives in all the companies I've worked at. I've been both a Software Developer and a DevOps/Platform Engineer which helped me bridge the communication gap and bring my own unique experience to the problem.

I currently work as a Senior Software Engineer at Flanksource where we are building a mission-control plane for enterprises.

I've previously given talks at GopherCon, PyCon, RootConf and a few local meetups

Section: Developer tools and automation
Type: Talks
Target Audience: Intermediate
Last Updated: