Skip to content
naisPublic

About

Nais kubectl debug image

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

64 Commits

Folders and files

Repository files navigation

Debug

Image used for debugging purposes.

To connect to a debug instance you run kubectl debug like this:

 kubectl debug -it <podName> --image="europe-north1-docker.pkg.dev/nais-io/nais/images/debug:latest" --profile=restricted

The debug container will exist in the pod until the pod restarts.

Java diagnostics

Use --target=<application-container> to share the application's PID namespace. The image uses UID/GID 1069:1069, matching the Nais application defaults, so jcmd and jmap can attach without mounting the application's /tmp. If the application overrides its user or group, set matching runAsUser and runAsGroup values using kubectl debug --custom.

About

Nais kubectl debug image

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages