We are working to run DCT on container Gateway hosted on Kubernetes and Gateway Version 10.1.
I was going through the techdocs link :
https://techdocs.broadcom.com/us/en/ca-enterprise-software/layer7-api-management/api-gateway/congw-10-1/reference/troubleshoot-the-gateway/data-collection-tool.html and as prerequisites, it was mentioned that DCT 2.3 should be installed in K8 cluster.
Also how do we access root of the gateway container
Release : 10.1
Component :
DCT is included when gateway image is PULLED location is /use/dct
Examples:
$ kubectl exec -it <your pod> -- /usr/dct/collect.sh -m gateway -f <your dct output location>
$ kubectl exec -it <your pod> -- /usr/dct/collect.sh -m java -f <your dct output location>
$ kubectl exec -it <your pod> -- /usr/dct/collect.sh -m network -f <your dct output location>
ROOT Access:
We do not have root PW, however to get bash shell as root just -u 0 where its user 0, which is root. Below is how I access root in a docker container, you need the equivalent for k8b
# docker exec -it -u 0 <container id> /bin/bash