GoogleContainerTools / container-debug-support

Language-runtime support files for in-container debugging
Apache License 2.0
93 stars 25 forks source link
containers debugging kubernetes language-runtime microservices skaffold

experimental

Container Runtime Debugging Support Images (aka Duct Tape)

This repository defines a set of container images that package the language runtime dependencies required to enable step-by-step debugging of apps with skaffold debug. These container images are suitable for use as initContainers on a pod. When executed, each container image copies these dependencies to /dbg/<runtimeId>.

The idea is that skaffold debug will transform k8s manifests to make available any support files required to debug specific language runtimes. For example, a Kubernetes podspec would be transformed to

Current language runtimes:

Distribution

The latest released images, which are used by skaffold debug, are available at:

gcr.io/k8s-skaffold/skaffold-debug-support

Images from a particular release are available at:

gcr.io/k8s-skaffold/skaffold-debug-support/<release>

Images from the latest commit to HEAD are available at our staging repository:

us-central1-docker.pkg.dev/k8s-skaffold/skaffold-staging/skaffold-debug-support

You can configure Skaffold to use a specific release or the staging repository with the following:

skaffold config set --global debug-helpers-registry <repository>

Contributing

See CONTRIBUTING for how to contribute!