Michele Caci
Debugging Go: from zero to Kubernetes
#1about 5 minutes
Understanding the core concepts and tools of debugging
Debugging involves identifying and removing errors using tools like tests, logs, and live debuggers, but requires caution in production environments.
#2about 2 minutes
An introduction to Delve for debugging Go applications
Delve is a command-line debugger for Go that can be started with commands like `dlv debug` or attached to a running process with `dlv attach`.
#3about 5 minutes
How to set up a two-container Docker environment
Remote debugging in Docker requires two containers: one for the application binary and a separate one containing the Delve debugger and the application's source code.
#4about 4 minutes
Enabling cross-container access with Docker flags
The `--pid` flag shares process namespaces between containers, while `--cap-add SYS_PTRACE` grants the necessary Linux capabilities for the debugger to attach.
#5about 3 minutes
Translating the Docker debugging setup to Kubernetes
A simple way to debug in Kubernetes is to create a pod with two containers, one for the app and one for the debugger, sharing the process namespace.
#6about 2 minutes
Using ephemeral containers for on-demand debugging
Ephemeral containers, launched with `kubectl debug`, provide a more efficient way to attach a debugger to a running pod without permanently adding a sidecar.
#7about 4 minutes
Summary of debugging techniques and audience Q&A
This recap covers the main points of debugging from local to Kubernetes and answers questions about interactivity, port forwarding, and compile flags.
Related jobs
Jobs that call for the skills explored in this talk.
Wilken GmbH
Ulm, Germany
Senior
Kubernetes
AI Frameworks
+3
Hubert Burda Media
München, Germany
€70-85K
Junior
Intermediate
Kubernetes
Linux
+2
WALTER GROUP
Wiener Neudorf, Austria
Junior
Intermediate
Ansible
Terraform
+1
Matching moments
01:32 MIN
Organizing a developer conference for 15,000 attendees
Cat Herding with Lions and Tigers - Christian Heilmann
04:49 MIN
Using content channels to build an event community
Cat Herding with Lions and Tigers - Christian Heilmann
04:57 MIN
Increasing the value of talk recordings post-event
Cat Herding with Lions and Tigers - Christian Heilmann
03:17 MIN
Selecting strategic partners and essential event tools
Cat Herding with Lions and Tigers - Christian Heilmann
02:39 MIN
Establishing a single source of truth for all data
Cat Herding with Lions and Tigers - Christian Heilmann
04:57 MIN
Developing resilience by expanding your capacity for failure
What 2025 Taught Us: A Year-End Special with Hung Lee
03:39 MIN
Breaking down silos between HR, tech, and business
What 2025 Taught Us: A Year-End Special with Hung Lee
02:44 MIN
Rapid-fire thoughts on the future of work
What 2025 Taught Us: A Year-End Special with Hung Lee
Featured Partners
Related Videos
Local Development Techniques with Kubernetes
Rob Richardson
Talk to the Duck - Secrets of the Debugging Masters
Shai Almog
Debug a Kubernetes Operator
Philipp Krenn
Containers and Kubernetes made easy: Deep dive into Podman Desktop and new AI capabilities
Stevan Le Meur
Kubernetes Security - Challenge and Opportunity
Marc Nimmerrichter
Developing locally with Kubernetes - a Guide and Best Practices
Dan Erez
Mastering Kubernetes – Beginner Edition
Hannes Norbert Göring
Debugging Schrödinger's App
DeveloperSteve Coochin
Related Articles
View all articles



From learning to earning
Jobs that call for the skills explored in this talk.

Dedge Security
Municipality of Madrid, Spain
Terraform
Kubernetes
Amazon Web Services (AWS)

K2 Partnering Solutions Ltd
Barcelona, Spain
Intermediate
Go
REST
Spark
Kafka
Kubernetes

Dembach Goo Informatik GmbH & Co. KG
Remote
Redis
Kafka
Ansible
RabbitMQ
+4


Passion for People GmbH
Karlsruhe, Germany
Remote
€70-90K
Azure
DevOps
Gitlab
+10

Canonical Ltd.
Barcelona, Spain
Remote
Go
Python
Kubernetes

Canonical Ltd.
Municipality of Madrid, Spain
Remote
Go
Python
Kubernetes

