Steps to collect troubleshooting details from Kubernetes connector using ktool support tool
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 pan
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 pan
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
Additional Information
na