https://linen.dev logo
d

Davin Chia (Airbyte)

07/02/2021, 7:10 AM
For those working on Kube, I totally recommend using
stern
(
brew install stern
) to tail the Kube logs. The features I love are 1) ability to select deployments based on regex (e.g.
stern "airbyte-s"
gives the airbyte-server and airbyte-scheduler) 2) logs are tagged with colored pod names, making it easy to read
u

user

07/02/2021, 9:39 AM
thanks i’m gonna try!
u

user

07/02/2021, 10:33 AM
nice i like it!
u

user

07/02/2021, 10:34 AM
is cool eh!
d

Davin Chia (Airbyte)

07/02/2021, 10:35 AM
i don’t have to copy/paste the full name with the random string to do
kubectl logs
anymore \o/
c

Cristiano Sarmento

07/02/2021, 2:10 PM
I’ve been using https://github.com/lensapp/lens lately
u

user

07/02/2021, 3:37 PM
I also installed lens but i didn’t find a nice way to read the logs with it… (is it available somewhere and i missed it?) so stern is pretty good for that, so it seems both tools can be quite complementary?
u

user

07/02/2021, 3:41 PM
yeah the logs are available if you select a specific container within a pod