View Logs
To view the CTE for Kubernetes logs:
-
Get the CTE CSI pod names that were deployed on the Kubernetes cluster, type:
kubectl get pods --namespace=kube-system -o wide | grep cte-csi
cte-csi-controller-0 2/2 Running 0 25h 192.168.77.182 ub20-work1 <none> <none> cte-csi-node-28srz 4/4 Running 0 25h 192.168.77.181 ub20-work1 <none> <none> cte-csi-node-cjzzn 4/4 Running 0 25h 192.168.76.68 ub20-master <none> <none>
The logs are split between two containers within the CTE CSI pods. The logs on the cte-csi container contain logs for CSI activity. For example, information such as registration and mounting volumes are contained within these container's logs. The logs for the cte-agent-logs contain logs for the CTE Fuse encryption engine agent. You can view logs by using the
kubectl
logs command. Using the output from the example above, you can get the logs for the CTE-CSI container running on node ub20-work1. -
After you get the pod name, type the following two commands:
kubectl logs --namespace=kube-system cte-csi-node-28srz cte-csi kubectl logs --namespace=kube-system cte-csi-node-28srz cte-agent-logs