Viewing system logsΒΆ

To help you gain insights into user services and troubleshoot issues, Anaconda Enterprise provides detailed logs and debugging information related to the Kubernetes services and containers it uses.

To access these logs from the Operations Center:

  1. Log in to Anaconda Enterprise, select the Menu icon icon in the top right corner and click the Administrative Console link displayed at the bottom of the slide out window.

  1. Click Manage Resources.

  2. Log in to the Operations Center using the Administrator credentials configured after installation.

  3. Click Logs in the left menu to display the complete system log.

  4. Use the Filter drop-down to view logs based on container or pod.

../../_images/ops-center-logs-filter.png

You can also access the logs for a specific pod by clicking Kubernetes in the left menu, clicking the Pods tab, clicking the name of a pod, and selecting Logs.


To use the CLI:

  1. Open an SSH session on the master node in a terminal by logging into the Operations Center and selecting Servers from the menu on the left.

  2. Click on the IP address for the Anaconda Enterprise master node and select SSH login as root.

  3. In the terminal window, run sudo gravity enter.

  4. Run kubectl get pods to view a list of all running session pods.

  5. Run kubectl logs <POD-NAME> to display the logs for the pod specified.