Intellipaat 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

 

31k questions

32.8k answers

501 comments

693 users

Browse Categories

...