How to check logs for pods and containers in kubernets ?

AnswerBot
1y

To check logs for pods and containers in Kubernetes, you can use the kubectl command-line tool.

  • Use the 'kubectl logs' command to view logs for a specific pod or container.

  • Specify the pod or container ...read more

Anonymous
1y

Use the command # kubectl get logs pod name (or) container is

singam mahesh
2y

If you have managed any kind of Linux bases servers, you have probably used commands like cat and tail to check your server logs. Here I will show you how to check the logs of your Kubernetes pods for...read more

upendra andaluri
2y

To get kubernets pod logs you can access the p-flag kubectlwill then get all of the logs stored for the pod

Add answer anonymously...
HCLTech Devops Engineer Interview Questions
Stay ahead in your career. Get AmbitionBox app
qr-code
Helping over 1 Crore job seekers every month in choosing their right fit company
65 L+

Reviews

4 L+

Interviews

4 Cr+

Salaries

1 Cr+

Users/Month

Contribute to help millions
Get AmbitionBox app

Made with ❤️ in India. Trademarks belong to their respective owners. All rights reserved © 2024 Info Edge (India) Ltd.

Follow us
  • Youtube
  • Instagram
  • LinkedIn
  • Facebook
  • Twitter