Updated documentation for tracing is found in the Kata Containers tracing document PR.
[runtime]
enable_tracing = true
Jaeger All-in-one launches the trace collector and UI.
$ docker run -d --name jaeger \
-e COLLECTOR_ZIPKIN_HOST_PORT=:9411 \
-p 5775:5775/udp \
-p 6831:6831/udp \
-p 6832:6832/udp \
-p 5778:5778 \
-p 16686:16686 \
-p 14268:14268 \
-p 14250:14250 \
-p 9411:9411 \
jaegertracing/all-in-one:1.23
$ sudo ctr run --runtime "io.containerd.kata.v2" --rm -t "docker.io/library/busybox:latest" test sh
Partial trace:
Complete trace, collapsed:
Complete trace, expanded:
Span attributes:
$ kubectl apply -f ./runtimeclass_workloads/busybox-pod.yaml
Output: