Steps to collect troubleshooting details from Kubernetes connector using ktool support tool

Steps to collect troubleshooting details from Kubernetes connector using ktool support tool

589
Created On 10/28/25 07:09 AM - Last Modified 04/10/26 02:18 AM


Objective


Cortex cloud has a ktool support tool to collect all necessary details related to kubernetes connectors.
This tool collects logs, describe of workloads(pod, replicaset, deployment, service) initiated by Kubernetes connector.
Here are the steps to collect troubleshooting details for Kubernetes connector.



Environment


Cortex cloud.
Kubernetes connector.



Procedure


Cortex cloud has developed a ktool support tool to collect all necessary details related to kubernetes connectors.
This tool collects logs, describe of workloads(pod, replicaset, deployment, service) initiated by Kubernetes connector.
Please follow the instructions to collect logs from the environment by running our ktool support tool.

Install:

curl -fsSL https://raw.githubusercontent.com/PaloAltoNetworks/ktool/main/install.sh | bash

Running the ktool support tool:
Collect the diagnostic snapshot from the cluster

kubectl ktool collect-logs -n panw

Note! In this example, the konnector is installed under the “pan” namespace

If you face issues moving the "kubectl-ktool" into /usr/local/bin. It is nomally stored in /tmp/.
You can run the script using the command:

/tmp/kubectl-ktool collect-logs -n panw

Gathering logs:

This will generate ./konnector-support-bundle-panw-ktool-v0.0.2-<timestamp>.tar.gz
Sample file name: konnector-support-bundle-pan-ktool-v0.0.2-xxxxx.tar.gz



Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA1Ki000000fyUnKAI&lang=en_US&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail