dotnetavalanche
dotnetavalanche

Reputation: 890

How to See the Application logs in Pod

We are moving towards Microservice and using K8S for cluster orchestration. We are building infra using Dynatrace and Prometheus server for metrics collection but they are yet NOT in good shape. Our Java Application on one of the Pod is not working. I want to see the application logs.

How do I access these logs?

Upvotes: 1

Views: 604

Answers (1)

coderanger
coderanger

Reputation: 54181

Assuming the application logs to stdout/err, kubectl logs -n namespacename podname.

Upvotes: 3

Related Questions