Restarting a Pod
Operation Description
Used as a quick workload recovery attempt when there are page errors or the pod is in an abnormal status.
Processing Procedures
Query the audit service pods and delete the pods that need to be deleted.
kubectl get pod -n tce | grep cloudaudit
kubectl delete pod -n tce tcloud-cloudaudit-xxxxx

Viewing the Service Logs
Operation Description
View the service logs for troubleshooting.
Processing Procedures
Query the pod, enter the container, and view logs.
kubectl get pod -n tce | grep cloudaudit
kubectl exec -it -n tce tcloud-cloudaudit-auditreport-xxxxx bash
cd /data/log/python/
vim xxxxxxx-log.txt
kubectl exec -it -n tce tcloud-cloudaudit-cloudtrail-xxxxx bash
cd /data/log/cloudtrail/detail
vim daily_xxxxxx.log