Collecting CloudCasa Kubernetes agent log files
Summary
CloudCasa Support may sometimes ask you for an agent log file in order to troubleshoot certain issues with your Kubernetes clusters. Follow the instructions in this section to retrieve the CloudCasa agent log for Kubernetes.
Step-by-Step
Log in to a shell session on a Linux system that is set up for
kubectlaccess to your Kubernetes cluster, orocaccess to your OpenShift cluster.Run the following shell command:
$ curl https://raw.githubusercontent.com/catalogicsoftware/cloudcasa-artifacts/master/scripts/cc_kubeagent_logs.sh \
| bash - \
| tee cc_kubeagent_log.txt
The script uses kubectl, or the OpenShift oc command when only oc is installed. To use another command, set
KUBECTL:
$ curl https://raw.githubusercontent.com/catalogicsoftware/cloudcasa-artifacts/master/scripts/cc_kubeagent_logs.sh \
| KUBECTL=oc bash - \
| tee cc_kubeagent_log.txt
Provide the file cc_kubeagent_log.txt to CloudCasa Support.