View TiDB Logs in Kubernetes

    The TiDB components deployed by TiDB Operator output the logs in the and of the container by default. You can view the log of a single Pod by running the following command:

    For more methods to view Pod logs, run .

    View slow query logs of TiDB components

    Note