IBM Support

How to collect Instana agent and k8sensor logs on Red Hat Openshift and Kubernetes environments

Question & Answer


Question

How can I collect documentation related to Instana agents and k8sensor on Kubernetes or Red Hat Openshift clusters?

Answer

Use the script linked below to generate a collection of all Instana Agent-related information in your cluster:

https://github.com/instana/serviceability/blob/main/agent/k8s/instana-k8s-mustgather.sh

It outputs the collection as a .tgz file named instana-mustgather-VERSION-TIMESTAMP.tgz (For example: instana-k8s-mustgather-2.0.0-20260114-101809.tgz, which can be sent to Instana support.

Quick Start example:

Make sure that you have execute permissions for the script and that your kubectl or oc is configured to access the target cluster.

# Download
curl -O https://raw.githubusercontent.com/instana/serviceability/main/agent/k8s/instana-k8s-mustgather.sh

# Make executable
chmod +x instana-k8s-mustgather.sh

# Run
./instana-k8s-mustgather.sh

Further details about operating the script can be found in the directory’s README.md file.

[{"Type":"MASTER","Line of Business":{"code":"LOB77","label":"Automation Platform"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSE1JP5","label":"IBM Instana Observability"},"ARM Category":[{"code":"a8m3p000000hBfJAAU","label":"Agent"}],"ARM Case Number":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Versions"}]

Document Information

Modified date:
15 January 2026

UID

ibm16823809