Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in DevOps and Agile by (12.7k points)

Hi i want to retrieve logs  of a set of pods, if possible those created by a specific replication controller?

1 Answer

0 votes
by (29.5k points)

Yes, you can do that using labels. The following command should do the trick 

kubectl logs -l app=prakhy

refer the following video for more info on kubernetes

 

Browse Categories

...