Attach and Use the Debug Kit

Attach the debug kit to a pod in your cluster that you want to inspect or debug.

Procedure

  1. If you have not already pushed the mtx-debug-kit image to your local repository, do so with a command similar to the following:
    docker image push mtx-debug-kit:version
  2. Attach the image to the pod you want to inspect or debug. For example, the following command attaches the debug kit to the publ-s1e1-0 pod:
    kubectl debug -it -c debugger \
        --target ctr-1 \
        --image mtx-debug-kit:1.0.0 \
        publ-s1e1-0

What to do next

Run the commands in the debug kit at the [debug-kit] prompt.