The Real Python Podcast

Scaling Python Web Applications With Kubernetes and Karpenter

67 snips
Jun 20, 2025
Calvin Hendryx-Parker, Co-founder and CTO of Six Feet Up, shares his expertise on scaling web applications using Kubernetes and Karpenter. He discusses the importance of robust architectures for real-time features and introduces a project bootstrap tool for streamlined development. The conversation covers tools for managing Kubernetes, including Elastic Kubernetes Service (EKS), while exploring strategies for performance monitoring and dynamic scaling. Calvin also shares insights from his recent presentation on AI code assistants, diving into their role in modern development.
Ask episode
AI Snips
Chapters
Transcript
Episode notes
INSIGHT

AWS ENI IP Limits Affect Scaling

  • Kubernetes pods have IP address limits based on EC2 instance network interfaces.
  • Scaling pods horizontally requires awareness of AWS instance IP limits and tuning cluster configuration.
ADVICE

Prefer Grafana and Loki for Observability

  • Use external tools like Grafana and Loki to integrate and visualize logs and metrics more effectively than CloudWatch.
  • Implement structured logging to convert log data into searchable metrics in Grafana dashboards.
INSIGHT

Refactor Pods for Better Resource Utilization

  • Reducing container count per pod lowers memory usage drastically.
  • Scaling vertically inside the app before scaling hardware maximizes resource efficiency.
Get the Snipd Podcast app to discover more snips from this episode
Get the app