You can view the real-time logs of applications that are deployed in Kubernetes clusters.
Procedure
You can view real-time logs to troubleshoot pod-related issues when an application
is abnormal.
- Log on to the Enterprise Distributed Application Service (EDAS) console.
- Go to the Application Overview page by using one of the following methods:
- In the left-side navigation pane, choose or . In the top navigation bar, select a region. In the upper part of the page, select
a microservice namespace. On the Container Service Kubernetes Clusters or Serverless Kubernetes Clusters page, click a cluster ID. In the Applications section of the Cluster Details page, click the name of the application that you want to manage.
- In the left-side navigation pane, click Applications. In the top navigation bar, select a region. In the upper part of the page, select
a microservice namespace. Select Container Service or Serverless Kubernetes Cluster from the Cluster Type drop-down list and click the name of the application that you want to manage.
- In the left-side navigation pane, click Logs.
- On the Logs page, click the Real-time Logs tab.
- On the Real-time Logs tab, select the pod for which you want to view the logs from the Pod Name drop-down list.
You can turn on Automatic Update to update logs every 10 seconds based on your requirements.